Public Member Functions | |
| TypeConversionsTest () | |
| ~TypeConversionsTest ()=default | |
| bool | RunWithEntrypoint (const std::string &entrypoint) |
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. | |
| 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. | |
Additional Inherited Members | |
Protected Member Functions inherited from flutter::testing::DartFixture | |
| void | SetSnapshotsAndAssets (Settings &settings) |
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 17 of file type_conversions_unittests.cc.
|
inline |
Definition at line 19 of file type_conversions_unittests.cc.
|
default |
|
inline |
Definition at line 25 of file type_conversions_unittests.cc.
References flutter::testing::ThreadTest::CreateNewThread(), flutter::testing::GetCurrentTestName(), flutter::testing::GetDefaultKernelFilePath(), flutter::testing::RunDartCodeInIsolate(), and flutter::DartIsolate::Running.