Flutter Engine
 
Loading...
Searching...
No Matches
playground_test.h File Reference

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 68 of file playground_test.h.

73 { \
74 return PlaygroundBackendToString(info.param); \
75 });
std::string PlaygroundBackendToString(PlaygroundBackend backend)
Definition playground.cc:46

◆ 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 86 of file playground_test.h.

91 { \
92 return PlaygroundBackendToString(info.param); \
93 });

◆ 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::kOpenGLES, \
PlaygroundBackend::kVulkan), \
[](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
return PlaygroundBackendToString(info.param); \
});

Definition at line 56 of file playground_test.h.

64 { \
65 return PlaygroundBackendToString(info.param); \
66 });

◆ 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 77 of file playground_test.h.

82 { \
83 return PlaygroundBackendToString(info.param); \
84 });