Flutter Engine Uber Docs
Docs for the entire Flutter Engine repo.
 
Loading...
Searching...
No Matches
impeller::testing::GoldenTests Class Reference
Inheritance diagram for impeller::testing::GoldenTests:

Public Member Functions

 GoldenTests ()
 
MetalGoldenScreenshotterScreenshotter ()
 
void SetUp () override
 

Detailed Description

Definition at line 58 of file golden_tests.cc.

Constructor & Destructor Documentation

◆ GoldenTests()

impeller::testing::GoldenTests::GoldenTests ( )
inline

Definition at line 60 of file golden_tests.cc.

61 : screenshotter_(new MetalGoldenScreenshotter(GetPlaygroundSwitches())) {}

Member Function Documentation

◆ Screenshotter()

MetalGoldenScreenshotter & impeller::testing::GoldenTests::Screenshotter ( )
inline

Definition at line 63 of file golden_tests.cc.

63{ return *screenshotter_; }

Referenced by SetUp().

◆ SetUp()

void impeller::testing::GoldenTests::SetUp ( )
inlineoverride

Definition at line 65 of file golden_tests.cc.

65 {
67 "gpu_string",
68 Screenshotter().GetPlayground().GetContext()->DescribeGpuModel());
69 }
static GoldenDigest * Instance()
void AddDimension(const std::string &name, const std::string &value)
MetalGoldenScreenshotter & Screenshotter()

References impeller::testing::GoldenDigest::AddDimension(), impeller::testing::GoldenDigest::Instance(), and Screenshotter().


The documentation for this class was generated from the following file: