|
|
Donner 0.5.0
Embeddable browser-grade SVG2 engine
|
Match against backend-specific goldens. More...
#include "donner/svg/renderer/tests/RendererTestUtils.h"
Public Member Functions | |
| BackendMatcher & | defaultPattern (std::string_view g) |
| BackendMatcher & | tinySkia (std::string_view g) |
| BackendMatcher & | skia (std::string_view g) |
| operator bool () const | |
| Implicit conversion to bool for use in EXPECT_TRUE. Tries backend-specific golden first; if it doesn't match (or isn't set), falls back to defaultPattern. Emits diagnostics for the last pattern tried. | |
Public Attributes | |
| const AsciiImage & | image |
| std::string_view | defaultGolden |
| std::string_view | tinySkiaGolden |
| std::string_view | skiaGolden |
Match against backend-specific goldens.
Usage:
Each backend's golden is only checked when that backend is active. If no backend-specific golden is set, falls back to a default if provided.