#include <linux_test.h>
Public Member Functions | |
| LinuxTest () | |
| ~LinuxTest () override | |
Protected Member Functions | |
| void | TearDown () override |
| void | StartEngine (FlEngine *engine=nullptr) |
Protected Attributes | |
| GMainLoop * | loop = nullptr |
| FlDartProject * | project = nullptr |
| FlEngine * | engine = nullptr |
The base class for all Linux test fixtures.
Test fixtures for the Linux embedder should inherit from this class instead of ::testing::Test so that common setup is shared between them.
Definition at line 22 of file linux_test.h.
| flutter::testing::LinuxTest::LinuxTest | ( | ) |
Definition at line 13 of file linux_test.cc.
References engine, fl_dart_project_new(), fl_engine_new(), flutter::testing::fl_ensure_gtk_init(), loop, and project.
|
override |
|
protected |
Definition at line 29 of file linux_test.cc.
References engine, error, fl_engine_start(), and g_autoptr().
Referenced by FlKeyboardHandlerTest::SetUp().
|
overrideprotected |
Definition at line 25 of file linux_test.cc.
References engine.
|
protected |
Definition at line 41 of file linux_test.h.
Referenced by LinuxTest(), FlAccessibilityHandlerTest::SetUp(), FlCompositorOpenGLTest::SetUp(), FlCompositorSoftwareTest::SetUp(), FlKeyboardHandlerTest::SetUp(), FlSettingsHandlerTest::SetUp(), StartEngine(), and TearDown().
|
protected |
Definition at line 34 of file linux_test.h.
Referenced by LinuxTest(), FlKeyChannelResponderTest::TestLockEvent(), and ~LinuxTest().
|
protected |
Definition at line 37 of file linux_test.h.
Referenced by LinuxTest(), and ~LinuxTest().