Flutter Engine
The Flutter Engine
|
Public Member Functions | |
FfiNativeTest () | |
~FfiNativeTest ()=default | |
bool | RunWithEntrypoint (const std::string &entrypoint) |
template<typename C , typename Signature , Signature function> | |
void | DoCallThroughTest (const char *testName, const char *testEntry) |
template<typename C , typename Signature , Signature function> | |
void | DoSerialiseTest (bool leaf, const char *returnFfi, const char *returnDart, const char *argsFfi, const char *argsDart) |
Public Member Functions inherited from flutter::testing::FixtureTest | |
FixtureTest () | |
FixtureTest (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) | |
Public Member Functions inherited from flutter::testing::DartFixture | |
DartFixture () | |
DartFixture (std::string kernel_filename, std::string elf_filename, std::string elf_split_filename) | |
virtual Settings | CreateSettingsForFixture () |
void | AddNativeCallback (const std::string &name, Dart_NativeFunction callback) |
void | AddFfiNativeCallback (const std::string &name, void *callback_ptr) |
Public Member Functions inherited from flutter::testing::ThreadTest | |
ThreadTest () | |
fml::RefPtr< fml::TaskRunner > | GetCurrentTaskRunner () |
Get the task runner for the thread that the current unit-test is running on. This creates a message loop as necessary. More... | |
fml::RefPtr< fml::TaskRunner > | CreateNewThread (const std::string &name="") |
Creates a new thread, initializes a message loop on it, and, returns its task runner to the unit-test. The message loop is terminated (and its thread joined) when the test ends. This allows tests to create multiple named threads as necessary. More... | |
Protected Member Functions | |
FML_DISALLOW_COPY_AND_ASSIGN (FfiNativeTest) | |
Protected Member Functions inherited from flutter::testing::DartFixture | |
void | SetSnapshotsAndAssets (Settings &settings) |
Protected Attributes | |
Settings | settings_ |
DartVMRef | vm_ |
std::unique_ptr< AutoIsolateShutdown > | running_isolate_ |
fml::RefPtr< fml::TaskRunner > | thread_ |
TaskRunners | task_runners_ |
Protected Attributes inherited from flutter::testing::DartFixture | |
std::shared_ptr< TestDartNativeResolver > | native_resolver_ |
ELFAOTSymbols | split_aot_symbols_ |
std::string | kernel_filename_ |
std::string | elf_filename_ |
fml::UniqueFD | assets_dir_ |
ELFAOTSymbols | aot_symbols_ |
Definition at line 41 of file ffi_native_unittest.cc.
|
inline |
Definition at line 43 of file ffi_native_unittest.cc.
|
default |
|
inline |
Definition at line 71 of file ffi_native_unittest.cc.
|
inline |
Definition at line 101 of file ffi_native_unittest.cc.
|
protected |
|
inline |
Definition at line 55 of file ffi_native_unittest.cc.
|
protected |
Definition at line 128 of file ffi_native_unittest.cc.
|
protected |
Definition at line 126 of file ffi_native_unittest.cc.
|
protected |
Definition at line 130 of file ffi_native_unittest.cc.
|
protected |
Definition at line 129 of file ffi_native_unittest.cc.
|
protected |
Definition at line 127 of file ffi_native_unittest.cc.