Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
playground_test.h File Reference
#include <memory>
#include "flutter/testing/test_args.h"
#include "flutter/testing/testing.h"
#include "impeller/playground/playground.h"
#include "impeller/playground/switches.h"
#include "impeller/runtime_stage/runtime_stage.h"
#include "third_party/abseil-cpp/absl/status/statusor.h"

Go to the source code of this file.

Classes

class  impeller::PlaygroundTest
 

Namespaces

namespace  impeller
 

Macros

#define INSTANTIATE_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_METAL_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_VULKAN_PLAYGROUND_SUITE(playground)
 
#define INSTANTIATE_OPENGLES_PLAYGROUND_SUITE(playground)
 

Macro Definition Documentation

◆ INSTANTIATE_METAL_PLAYGROUND_SUITE

#define INSTANTIATE_METAL_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kMetal), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 71 of file playground_test.h.

76 { \
77 return PlaygroundBackendToString(info.param); \
78 });
std::string PlaygroundBackendToString(PlaygroundBackend backend)
Definition playground.cc:47

◆ INSTANTIATE_OPENGLES_PLAYGROUND_SUITE

#define INSTANTIATE_OPENGLES_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kOpenGLES), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 89 of file playground_test.h.

94 { \
95 return PlaygroundBackendToString(info.param); \
96 });

◆ INSTANTIATE_PLAYGROUND_SUITE

#define INSTANTIATE_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, \
::testing::Values( \
PlaygroundBackend::kMetal, PlaygroundBackend::kMetalSDF, \
PlaygroundBackend::kOpenGLES, PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 59 of file playground_test.h.

67 { \
68 return PlaygroundBackendToString(info.param); \
69 });

◆ INSTANTIATE_VULKAN_PLAYGROUND_SUITE

#define INSTANTIATE_VULKAN_PLAYGROUND_SUITE (   playground)
Value:
[[maybe_unused]] const char* kYouInstantiated##playground##MultipleTimes = \
""; \
INSTANTIATE_TEST_SUITE_P( \
Play, playground, ::testing::Values(PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 80 of file playground_test.h.

85 { \
86 return PlaygroundBackendToString(info.param); \
87 });