#include <FlutterEngineTestUtils.h>
Definition at line 18 of file FlutterEngineTestUtils.h.
◆ FlutterEngineTest()
FlutterEngineTest::FlutterEngineTest |
( |
| ) |
|
|
default |
◆ AddNativeCallback()
Definition at line 72 of file FlutterEngineTestUtils.mm.
72 {
74}
Dart_NativeFunction function
DEF_SWITCHES_START aot vmservice shared library name
◆ GetFlutterEngine()
FlutterEngine * flutter::testing::FlutterEngineTest::GetFlutterEngine |
( |
| ) |
|
|
inline |
◆ IsolateCreateCallback()
void FlutterEngineTest::IsolateCreateCallback |
( |
void * |
user_data | ) |
|
|
static |
◆ SetUp()
void FlutterEngineTest::SetUp |
( |
| ) |
|
|
override |
Definition at line 45 of file FlutterEngineTestUtils.mm.
45 {
46 native_resolver_ = std::make_shared<TestDartNativeResolver>();
49 initWithAssetsPath:fixtures
50 ICUDataPath:[fixtures stringByAppendingString:@"/icudtl.dat"]];
53 project:project_
54 allowHeadlessExecution:true];
55}
static void IsolateCreateCallback(void *user_data)
void(* rootIsolateCreateCallback)(void *_Nullable)
const char * GetFixturesPath()
Returns the directory containing the test fixture for the target if this target has fixtures configur...
◆ ShutDownEngine()
void FlutterEngineTest::ShutDownEngine |
( |
| ) |
|
◆ TearDown()
void FlutterEngineTest::TearDown |
( |
| ) |
|
|
override |
Definition at line 57 of file FlutterEngineTestUtils.mm.
57 {
58 [engine_ shutDownEngine];
59 engine_ = nil;
60 native_resolver_.reset();
61}
The documentation for this class was generated from the following files: