Flutter Engine
The Flutter Engine
Instance Methods | List of all members
PlatformViewRotation Class Reference
Inheritance diagram for PlatformViewRotation:
GoldenPlatformViewTests

Instance Methods

(instancetype) - initWithInvocation: [implementation]
 
(void) - tearDown [implementation]
 
(void) - testPlatformView [implementation]
 
- Instance Methods inherited from GoldenPlatformViewTests
(instancetype) - initWithManager:invocation:
 
(void) - checkPlatformViewGolden
 
(void) - setUp [implementation]
 

Additional Inherited Members

- Properties inherited from GoldenPlatformViewTests
XCUIApplication * application
 
double rmseThreadhold
 
NSString * goldenName [implementation]
 
GoldenTestManagermanager [implementation]
 

Detailed Description

Definition at line 406 of file PlatformViewUITests.m.

Method Documentation

◆ initWithInvocation:

- (instancetype) initWithInvocation: (NSInvocation*)  invocation
implementation

Definition at line 7 of file PlatformViewUITests.m.

410 :(NSInvocation*)invocation {
412 [[GoldenTestManager alloc] initWithLaunchArg:@"--platform-view-rotate"];
413 return [super initWithManager:manager invocation:invocation];
414}

◆ tearDown

- (void) tearDown
implementation

Definition at line 7 of file PlatformViewUITests.m.

416 {
417 XCUIDevice.sharedDevice.orientation = UIDeviceOrientationPortrait;
418 [super tearDown];
419}

◆ testPlatformView

- (void) testPlatformView
implementation

Definition at line 7 of file PlatformViewUITests.m.

421 {
422 XCUIDevice.sharedDevice.orientation = UIDeviceOrientationLandscapeLeft;
423 [self checkPlatformViewGolden];
424}

The documentation for this class was generated from the following file: