| Flutter Impeller |

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

## Public Member Functions
| GoldenTests ()
MetalScreenshoter & | Screenshoter ()
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 : screenshoter_(new MetalScreenshoter()) {}

## Member Function Documentation

## ◆ Screenshoter()

MetalScreenshoter& impeller::testing::GoldenTests::Screenshoter | ( |  | ) |
| inline

Definition at line 55 of file golden_tests.cc.

55 { return *screenshoter_; }

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 Screenshoter().GetPlayground().GetContext()->DescribeGpuModel());
61 }

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

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

- impeller/golden_tests/golden_tests.cc

impeller::testing::GoldenTests::Screenshoter
MetalScreenshoter & Screenshoter()
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