1syntax = "proto3";
2
3package test.screenshot.proto;
4option java_package = "androidx.test.screenshot.proto";
5option java_outer_classname = "DiffResultProto";
6
7message DiffResult {
8  enum Status {
9    UNSPECIFIED = 0;
10    PASSED = 1;
11    FAILED = 2;
12    // There was no file at the golden location or it was unreadable.
13    MISSING_REFERENCE = 3;
14    FLAKY = 4;  // undefined behavior
15  }
16
17  message Metadata {
18    string key = 1;
19    string value = 2;
20  }
21
22  Status result_type = 1;
23
24  string image_location_golden = 2;
25
26  // Locations relative to output folder.
27  string image_location_test = 3;
28  string image_location_reference = 4;
29  string image_location_diff = 5;
30
31  repeated Metadata metadata = 7;
32}
33