Flutter Impeller
impeller::testing::GoldenTests Class Reference
Inheritance diagram for impeller::testing::GoldenTests:

Public Member Functions

 GoldenTests ()
 
MetalScreenshotterScreenshotter ()
 
void SetUp () override
 

Detailed Description

Definition at line 59 of file golden_tests.cc.

Constructor & Destructor Documentation

◆ GoldenTests()

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

Definition at line 61 of file golden_tests.cc.

62  : screenshotter_(new MetalScreenshotter(GetPlaygroundSwitches())) {}

Member Function Documentation

◆ Screenshotter()

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

Definition at line 64 of file golden_tests.cc.

64 { return *screenshotter_; }

Referenced by SetUp().

◆ SetUp()

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

Definition at line 66 of file golden_tests.cc.

66  {
68  "gpu_string",
69  Screenshotter().GetPlayground().GetContext()->DescribeGpuModel());
70  }
static GoldenDigest * Instance()
void AddDimension(const std::string &name, const std::string &value)
MetalScreenshotter & Screenshotter()
Definition: golden_tests.cc:64

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


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