| Flutter Impeller |

Public Member Functions | List of all members
impeller::testing::GoldenTests Class Reference
Inheritance diagram for impeller::testing::GoldenTests:

## Public Member Functions
| GoldenTests ()
MetalScreenshotter & | Screenshotter ()
void | SetUp () override

## Detailed Description

Definition at line 51 of file golden_tests.cc.

## Constructor & Destructor Documentation

## ◆ GoldenTests()

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

Definition at line 53 of file golden_tests.cc.

53 : screenshotter_(new MetalScreenshotter()) {}

## Member Function Documentation

## ◆ Screenshotter()

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

Definition at line 55 of file golden_tests.cc.

55 { return *screenshotter_; }

Referenced by SetUp().

## ◆ SetUp()

void impeller::testing::GoldenTests::SetUp | ( |  | ) |
| inline override

Definition at line 57 of file golden_tests.cc.

57 {
58 testing::GoldenDigest::Instance()->AddDimension(
59 "gpu_string",
60 Screenshotter().GetPlayground().GetContext()->DescribeGpuModel());
61 }

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

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

- impeller/golden_tests/golden_tests.cc

impeller::testing::GoldenTests::Screenshotter
MetalScreenshotter & Screenshotter()
Definition: golden_tests.cc:55
impeller::testing::GoldenDigest::Instance
static GoldenDigest * Instance()
Definition: golden_digest.cc:18
impeller::testing::GoldenDigest::AddDimension
void AddDimension(const std::string &name, const std::string &value)
Definition: golden_digest.cc:27