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

Public Member Functions

 DartIsolateTest ()
void Wait ()
void Signal ()
- Public Member Functions inherited from flutter::testing::FixtureTest
 FixtureTest ()
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::FixtureTest
void SetSnapshotsAndAssets (Settings &settings)
- Protected Attributes inherited from flutter::testing::FixtureTest
std::shared_ptr< TestDartNativeResolvernative_resolver_

Detailed Description

Definition at line 23 of file dart_isolate_unittests.cc.

Constructor & Destructor Documentation

◆ DartIsolateTest()

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

Definition at line 25 of file dart_isolate_unittests.cc.

25 {}

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 file: