Result of a screenshot comparison. More...
#include <screenshot_assertion.h>
Public Attributes | |
| bool | passed = false |
| float | similarity = 0.0f |
| float | difference_percentage = 0.0f |
| int | total_pixels = 0 |
| int | differing_pixels = 0 |
| std::string | diff_image_path |
| std::vector< ScreenRegion > | differing_regions |
| std::chrono::milliseconds | comparison_time {0} |
| std::string | error_message |
Result of a screenshot comparison.
Definition at line 34 of file screenshot_assertion.h.
| bool yaze::test::ComparisonResult::passed = false |
Definition at line 35 of file screenshot_assertion.h.
| float yaze::test::ComparisonResult::similarity = 0.0f |
Definition at line 36 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact().
| float yaze::test::ComparisonResult::difference_percentage = 0.0f |
Definition at line 37 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact().
| int yaze::test::ComparisonResult::total_pixels = 0 |
Definition at line 38 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact().
| int yaze::test::ComparisonResult::differing_pixels = 0 |
Definition at line 39 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePixelExact(), and yaze::test::ScreenshotAssertion::CompareRegion().
| std::string yaze::test::ComparisonResult::diff_image_path |
Definition at line 42 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::CompareRegion().
| std::vector<ScreenRegion> yaze::test::ComparisonResult::differing_regions |
Definition at line 43 of file screenshot_assertion.h.
| std::chrono::milliseconds yaze::test::ComparisonResult::comparison_time {0} |
Definition at line 46 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::CompareRegion().
| std::string yaze::test::ComparisonResult::error_message |
Definition at line 47 of file screenshot_assertion.h.
Referenced by yaze::test::ScreenshotAssertion::ComparePerceptualHash(), yaze::test::ScreenshotAssertion::CompareRegion(), and yaze::test::ScreenshotAssertion::CompareStructural().