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

Instance Methods

(instancetype) - initForLifecycle:forStep:
 

Properties

NSString * expectedLifecycle
 

Detailed Description

Definition at line 12 of file AppLifecycleTests.m.

Method Documentation

◆ initForLifecycle:forStep:

- (instancetype) initForLifecycle: (NSString*)  expectedLifecycle
forStep: (NSString*)  step 

Definition at line 15 of file AppLifecycleTests.m.

22 :(NSString*)expectedLifecycle forStep:(NSString*)step {
23 // The step is here because the callbacks into the handler which checks these expectations isn't
24 // synchronous with the executions in the test, so it's hard to find the cause in the test
25 // otherwise.
26 self = [super initWithDescription:[NSString stringWithFormat:@"Expected state %@ during step %@",
27 expectedLifecycle, step]];
28 _expectedLifecycle = [expectedLifecycle copy];
29 return self;
30}
static int step(int x, SkScalar min, SkScalar max)
Definition: BlurTest.cpp:215

Property Documentation

◆ expectedLifecycle

- (NSString*) expectedLifecycle
readnonatomiccopy

Definition at line 15 of file AppLifecycleTests.m.


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