#import <GoldenPlatformViewTests.h>
Definition at line 21 of file GoldenPlatformViewTests.h.
◆ checkPlatformViewGolden
- (void) checkPlatformViewGolden |
|
|
|
Definition at line 16 of file GoldenPlatformViewTests.m.
39 {
40 XCUIElement* element = self.application.textViews.firstMatch;
41 BOOL exists = [element waitForExistenceWithTimeout:kSecondsToWaitForPlatformView];
42 if (!exists) {
43 XCTFail(@"It took longer than %@ second to find the platform view."
44 @"There might be issues with the platform view's construction,"
45 @"or with how the scenario is built.",
47 }
48
49 [self.manager checkGoldenForTest:self rmesThreshold:self.rmseThreadhold];
50}
◆ initWithManager:invocation:
- (instancetype) initWithManager: |
|
(GoldenTestManager*) |
manager |
invocation: |
|
(NSInvocation*) |
invocation |
|
|
| |
Definition at line 16 of file GoldenPlatformViewTests.m.
23 self = [super initWithInvocation:invocation];
26 return self;
27}
const double kDefaultRmseThreshold
◆ setUp
Definition at line 16 of file GoldenPlatformViewTests.m.
29 {
30 [super setUp];
31 self.continueAfterFailure = NO;
32
33 self.application = [[XCUIApplication alloc] init];
34 self.application.launchArguments = @[ self.manager.launchArg, @"--enable-software-rendering" ];
35 [self.application launch];
36}
◆ application
- (XCUIApplication*) application |
|
readwritenonatomicstrong |
◆ goldenName
|
readwritenonatomiccopyimplementation |
◆ manager
|
readwritenonatomicstrongimplementation |
◆ rmseThreadhold
- (double) rmseThreadhold |
|
readwritenonatomicassign |
The documentation for this class was generated from the following files: