Flutter Engine
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 22 of file AppLifecycleTests.m.

References expectedLifecycle.

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 }

Property Documentation

◆ expectedLifecycle

- (NSString*) expectedLifecycle
readnonatomiccopy

Definition at line 15 of file AppLifecycleTests.m.

Referenced by initForLifecycle:forStep:.


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