5#ifndef FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_H_
6#define FLUTTER_SHELL_PLATFORM_EMBEDDER_TESTS_EMBEDDER_TEST_H_
15#include "gtest/gtest.h"
19class EmbedderTestContextGL;
20class EmbedderTestContextMetal;
21class EmbedderTestContextSoftware;
22class EmbedderTestContextVulkan;
32 static_assert(
false,
"Unsupported test context type");
47 GetEmbedderContext<EmbedderTestContextSoftware>() {
78 public ::testing::WithParamInterface<EmbedderTestContextType> {
std::unique_ptr< EmbedderTestContext > gl_context_
std::unique_ptr< EmbedderTestContext > software_context_
std::string GetFixturesDirectory() const
EmbedderTestContext & GetGLContext()
EmbedderTestContext & GetMetalContext()
EmbedderTestContext & GetVulkanContext()
EmbedderTestContext & GetSoftwareContext()
std::unique_ptr< EmbedderTestContext > vulkan_context_
FML_DISALLOW_COPY_AND_ASSIGN(EmbedderTest)
std::unique_ptr< EmbedderTestContext > metal_context_
A fixture that creates threads with running message loops that are terminated when the test is done (...