5 #include "flutter/fml/time/time_point.h"
7 #include "flutter/testing/test_args.h"
19 GTEST_SKIP() <<
"Playground doesn't support this backend type.";
24 GTEST_SKIP() <<
"Skipping due to user action.";
31 start_time_ = fml::TimePoint::Now().ToEpochDelta();
40 std::string asset_name)
const {
41 return flutter::testing::OpenFixtureAsMapping(asset_name);
45 std::stringstream stream;
46 stream <<
"Impeller Playground for '" << test_name <<
"' (Press ESC to quit)";
virtual ~ComputePlaygroundTest()
std::string GetWindowTitle() const override
std::unique_ptr< fml::Mapping > OpenAssetAsMapping(std::string asset_name) const override
static bool ShouldOpenNewPlaygrounds()
void SetupContext(PlaygroundBackend backend, const PlaygroundSwitches &switches)
const PlaygroundSwitches switches_
static bool SupportsBackend(PlaygroundBackend backend)
static std::string FormatWindowTitle(const std::string &test_name)