#include <embedder_test.h>
Public Member Functions | |
| EmbedderTest () | |
| std::string | GetFixturesDirectory () const |
| template<typename T > | |
| T & | GetEmbedderContext () |
| template<> | |
| EmbedderTestContextGL & | GetEmbedderContext () |
| template<> | |
| EmbedderTestContextMetal & | GetEmbedderContext () |
| template<> | |
| EmbedderTestContextSoftware & | GetEmbedderContext () |
| template<> | |
| EmbedderTestContextVulkan & | GetEmbedderContext () |
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. | |
Protected Member Functions | |
| EmbedderTestContext & | GetGLContext () |
| EmbedderTestContext & | GetMetalContext () |
| EmbedderTestContext & | GetSoftwareContext () |
| EmbedderTestContext & | GetVulkanContext () |
| FML_DISALLOW_COPY_AND_ASSIGN (EmbedderTest) | |
Protected Attributes | |
| std::unique_ptr< EmbedderTestContext > | gl_context_ |
| std::unique_ptr< EmbedderTestContext > | metal_context_ |
| std::unique_ptr< EmbedderTestContext > | software_context_ |
| std::unique_ptr< EmbedderTestContext > | vulkan_context_ |
Definition at line 24 of file embedder_test.h.
|
default |
|
protected |
|
inline |
Definition at line 31 of file embedder_test.h.
Referenced by flutter::testing::expectSoftwareRenderingOutputMatches().
|
inline |
Definition at line 36 of file embedder_test.h.
References GetGLContext().
|
inline |
Definition at line 41 of file embedder_test.h.
References GetMetalContext().
|
inline |
Definition at line 46 of file embedder_test.h.
References GetSoftwareContext().
|
inline |
Definition at line 52 of file embedder_test.h.
References GetVulkanContext().
| std::string flutter::testing::EmbedderTest::GetFixturesDirectory | ( | ) | const |
Definition at line 16 of file embedder_test.cc.
References flutter::testing::GetFixturesPath().
Referenced by GetSoftwareContext().
|
protected |
Definition at line 31 of file embedder_test.cc.
References FML_LOG.
Referenced by GetEmbedderContext(), and flutter::testing::EmbedderTestMultiBackend::GetEmbedderContext().
|
protected |
Definition at line 40 of file embedder_test.cc.
References FML_LOG.
Referenced by GetEmbedderContext(), and flutter::testing::EmbedderTestMultiBackend::GetEmbedderContext().
|
protected |
Definition at line 20 of file embedder_test.cc.
References GetFixturesDirectory(), and software_context_.
Referenced by GetEmbedderContext(), and flutter::testing::EmbedderTestMultiBackend::GetEmbedderContext().
|
protected |
Definition at line 49 of file embedder_test.cc.
References FML_LOG.
Referenced by GetEmbedderContext(), and flutter::testing::EmbedderTestMultiBackend::GetEmbedderContext().
|
protected |
Definition at line 68 of file embedder_test.h.
|
protected |
Definition at line 69 of file embedder_test.h.
|
protected |
Definition at line 70 of file embedder_test.h.
Referenced by GetSoftwareContext().
|
protected |
Definition at line 71 of file embedder_test.h.