5 #include "flutter/fml/time/time_point.h"
20 GTEST_SKIP_(
"Playground doesn't support this backend type.");
25 GTEST_SKIP_(
"Skipping due to user action.");
45 std::string asset_name)
const {
46 return flutter::testing::OpenFixtureAsMapping(asset_name);
50 const char* asset_name)
const {
51 auto fixture = flutter::testing::OpenFixtureAsMapping(asset_name);
52 if (!fixture || fixture->GetSize() == 0) {
55 auto stage = std::make_unique<RuntimeStage>(std::move(fixture));
56 if (!stage->IsValid()) {
63 std::stringstream stream;
64 stream <<
"Impeller Playground for '" << test_name <<
"' (Press ESC to quit)";
74 bool PlaygroundTest::ShouldKeepRendering()
const {