◆ DartPersistentHandleTest()
flutter::testing::DartPersistentHandleTest::DartPersistentHandleTest |
( |
| ) |
|
|
inline |
Definition at line 13 of file dart_persistent_handle_unittest.cc.
static DartVMRef Create(const Settings &settings, fml::RefPtr< const DartSnapshot > vm_snapshot=nullptr, fml::RefPtr< const DartSnapshot > isolate_snapshot=nullptr)
virtual Settings CreateSettingsForFixture()
fml::RefPtr< fml::TaskRunner > thread_
TaskRunners task_runners_
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...
std::string GetCurrentTestName()
Gets the name of the currently running test. This is useful in generating logs or assets based on tes...
◆ ~DartPersistentHandleTest()
flutter::testing::DartPersistentHandleTest::~DartPersistentHandleTest |
( |
| ) |
|
|
default |
◆ FML_DISALLOW_COPY_AND_ASSIGN()
◆ RunWithEntrypoint()
bool flutter::testing::DartPersistentHandleTest::RunWithEntrypoint |
( |
const std::string & |
entrypoint | ) |
|
|
inline |
Definition at line 25 of file dart_persistent_handle_unittest.cc.
25 {
27 return false;
28 }
29 auto isolate =
33 return false;
34 }
35
37 return true;
38 }
std::unique_ptr< AutoIsolateShutdown > running_isolate_
std::string GetDefaultKernelFilePath()
Returns the default path to kernel_blob.bin. This file is within the directory returned by GetFixture...
std::unique_ptr< AutoIsolateShutdown > RunDartCodeInIsolate(DartVMRef &vm_ref, const Settings &settings, const TaskRunners &task_runners, std::string entrypoint, const std::vector< std::string > &args, const std::string &kernel_file_path, fml::WeakPtr< IOManager > io_manager, std::shared_ptr< VolatilePathTracker > volatile_path_tracker, std::unique_ptr< PlatformConfiguration > platform_configuration)
◆ running_isolate_
std::unique_ptr<AutoIsolateShutdown> flutter::testing::DartPersistentHandleTest::running_isolate_ |
|
protected |
◆ settings_
Settings flutter::testing::DartPersistentHandleTest::settings_ |
|
protected |
◆ task_runners_
TaskRunners flutter::testing::DartPersistentHandleTest::task_runners_ |
|
protected |
◆ thread_
◆ vm_
DartVMRef flutter::testing::DartPersistentHandleTest::vm_ |
|
protected |
The documentation for this class was generated from the following file: