#include <chrono>#include <cstdint>#include <functional>#include <string>#include <vector>#include "absl/status/status.h"#include "absl/status/statusor.h"
Go to the source code of this file.
Classes | |
| struct | yaze::test::ScreenRegion |
| Region of interest for screenshot comparison. More... | |
| struct | yaze::test::ComparisonResult |
| Result of a screenshot comparison. More... | |
| struct | yaze::test::ComparisonConfig |
| Configuration for screenshot comparison. More... | |
| struct | yaze::test::Screenshot |
| Screenshot data container. More... | |
| class | yaze::test::ScreenshotAssertion |
| Utilities for screenshot-based testing assertions. More... | |
Namespaces | |
| namespace | yaze |
| namespace | yaze::test |
Macros | |
| #define | YAZE_ASSERT_SCREENSHOT_MATCHES(assertion, reference_path) |
| Assert screenshot matches reference (for use in tests). | |
| #define | YAZE_ASSERT_SCREENSHOT_CHANGED(assertion, baseline_name) |
| Assert screenshot has changed from baseline. | |
| #define | YAZE_ASSERT_SCREENSHOT_UNCHANGED(assertion, baseline_name) |
| Assert screenshot has NOT changed from baseline. | |
| #define YAZE_ASSERT_SCREENSHOT_MATCHES | ( | assertion, | |
| reference_path ) |
Assert screenshot matches reference (for use in tests).
Usage:
Definition at line 302 of file screenshot_assertion.h.
| #define YAZE_ASSERT_SCREENSHOT_CHANGED | ( | assertion, | |
| baseline_name ) |
Assert screenshot has changed from baseline.
Definition at line 315 of file screenshot_assertion.h.
| #define YAZE_ASSERT_SCREENSHOT_UNCHANGED | ( | assertion, | |
| baseline_name ) |
Assert screenshot has NOT changed from baseline.
Definition at line 327 of file screenshot_assertion.h.