Flutter Engine
The Flutter Engine
|
Manages a global variable for tracking instances of golden images. More...
#include <golden_digest.h>
Public Member Functions | |
void | AddDimension (const std::string &name, const std::string &value) |
void | AddImage (const std::string &test_name, const std::string &filename, int32_t width, int32_t height) |
bool | Write (WorkingDirectory *working_directory) |
Static Public Member Functions | |
static GoldenDigest * | Instance () |
Manages a global variable for tracking instances of golden images.
Definition at line 18 of file golden_digest.h.
void impeller::testing::GoldenDigest::AddDimension | ( | const std::string & | name, |
const std::string & | value | ||
) |
Definition at line 27 of file golden_digest.cc.
void impeller::testing::GoldenDigest::AddImage | ( | const std::string & | test_name, |
const std::string & | filename, | ||
int32_t | width, | ||
int32_t | height | ||
) |
Definition at line 34 of file golden_digest.cc.
|
static |
Definition at line 18 of file golden_digest.cc.
bool impeller::testing::GoldenDigest::Write | ( | WorkingDirectory * | working_directory | ) |
Writes a "digest.json" file to working_directory
.
Returns true
on success.
Definition at line 42 of file golden_digest.cc.