9 #include "flutter/fml/macros.h"
10 #include "flutter/testing/test_args.h"
11 #include "flutter/testing/testing.h"
17 #include "flutter/fml/platform/darwin/scoped_nsautorelease_pool.h"
23 public ::testing::TestWithParam<PlaygroundBackend> {
29 void SetUp()
override;
37 std::string asset_name)
const override;
40 const char* asset_name)
const;
47 bool ShouldKeepRendering()
const;
50 fml::ScopedNSAutoreleasePool autorelease_pool_;
56 #define INSTANTIATE_PLAYGROUND_SUITE(playground) \
57 INSTANTIATE_TEST_SUITE_P( \
59 ::testing::Values(PlaygroundBackend::kMetal, \
60 PlaygroundBackend::kOpenGLES, \
61 PlaygroundBackend::kVulkan), \
62 [](const ::testing::TestParamInfo<PlaygroundTest::ParamType>& info) { \
63 return PlaygroundBackendToString(info.param); \