Flutter Engine
flutter::testing::DartIsolateTest Class Reference
Inheritance diagram for flutter::testing::DartIsolateTest:
flutter::testing::FixtureTest flutter::testing::FixtureTest flutter::testing::DartFixture flutter::testing::ThreadTest flutter::testing::DartFixture flutter::testing::ThreadTest

Public Member Functions

 DartIsolateTest ()
void Wait ()
void Signal ()
 DartIsolateTest ()
- 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 (std::string name, Dart_NativeFunction callback)
- Public Member Functions inherited from flutter::testing::ThreadTest
 ThreadTest ()
fml::RefPtr< fml::TaskRunnerGetCurrentTaskRunner ()
 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::TaskRunnerCreateNewThread (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...

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< TestDartNativeResolvernative_resolver_
ELFAOTSymbols split_aot_symbols_
std::string kernel_filename_
std::string elf_filename_
fml::UniqueFD assets_dir_
ELFAOTSymbols aot_symbols_

Detailed Description

Definition at line 23 of file dart_isolate_unittests.cc.

Constructor & Destructor Documentation

◆ DartIsolateTest() [1/2]

flutter::testing::DartIsolateTest::DartIsolateTest ( )

Definition at line 25 of file dart_isolate_unittests.cc.

25 {}

◆ DartIsolateTest() [2/2]

flutter::testing::DartIsolateTest::DartIsolateTest ( )

Member Function Documentation

◆ Signal()

void flutter::testing::DartIsolateTest::Signal ( )

Definition at line 29 of file dart_isolate_unittests.cc.

References fml::AutoResetWaitableEvent::Signal().

Referenced by flutter::testing::TEST_F().

29 { latch_.Signal(); }

◆ Wait()

void flutter::testing::DartIsolateTest::Wait ( )

Definition at line 27 of file dart_isolate_unittests.cc.

References fml::AutoResetWaitableEvent::Wait().

Referenced by flutter::testing::TEST_F().

27 { latch_.Wait(); }

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