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

Instance Methods

(void) - setUp [implementation]
 
(void) - testSoftwareRendering [implementation]
 
(void) - testMetalRendering [implementation]
 

Properties

XCUIApplication * application
 

Detailed Description

Definition at line 8 of file RenderingSelectionTest.m.

Method Documentation

◆ setUp

- (void) setUp
implementation

Definition at line 9 of file RenderingSelectionTest.m.

14 {
15 [super setUp];
16 self.continueAfterFailure = NO;
17 self.application = [[XCUIApplication alloc] init];
18}

◆ testMetalRendering

- (void) testMetalRendering
implementation

Definition at line 9 of file RenderingSelectionTest.m.

28 {
29 self.application.launchArguments = @[ @"--animated-color-square", @"--assert-ca-layer-type" ];
30 [self.application launch];
31
32 // App asserts that the rendering API is CAMetalLayer
33}

◆ testSoftwareRendering

- (void) testSoftwareRendering
implementation

Definition at line 9 of file RenderingSelectionTest.m.

20 {
21 self.application.launchArguments =
22 @[ @"--animated-color-square", @"--assert-ca-layer-type", @"--enable-software-rendering" ];
23 [self.application launch];
24
25 // App asserts that the rendering API is CALayer
26}

Property Documentation

◆ application

- (XCUIApplication*) application
readwritenonatomicstrong

Definition at line 9 of file RenderingSelectionTest.m.


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