5#ifndef FLUTTER_IMPELLER_GOLDEN_TESTS_GOLDEN_DIGEST_H_
6#define FLUTTER_IMPELLER_GOLDEN_TESTS_GOLDEN_DIGEST_H_
12#include "flutter/impeller/golden_tests/working_directory.h"
24 void AddImage(
const std::string& test_name,
25 const std::string& filename,
40 std::string test_name;
44 double max_diff_pixels_percent;
45 int32_t max_color_delta;
49 std::vector<Entry> entries_;
50 std::map<std::string, std::string> dimensions_;
Manages a global variable for tracking instances of golden images.
bool Write(WorkingDirectory *working_directory)
static GoldenDigest * Instance()
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)
DEF_SWITCHES_START aot vmservice shared library name