Add Harness::new_eframe and TestRenderer trait (#5539)

Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
lucasmerlin
2025-01-02 17:48:39 +01:00
committed by GitHub
co-authored by Andreas Reich
parent ee4ab08c8a
commit 46b58e5bcc
28 changed files with 593 additions and 180 deletions
@@ -41,5 +41,5 @@ fn image_failed() {
harness.fit_contents();
#[cfg(all(feature = "wgpu", feature = "snapshot"))]
harness.wgpu_snapshot("image_snapshots");
harness.snapshot("image_snapshots");
}
+1 -1
View File
@@ -11,5 +11,5 @@ fn test_shrink() {
harness.fit_contents();
#[cfg(all(feature = "snapshot", feature = "wgpu"))]
harness.wgpu_snapshot("test_shrink");
harness.snapshot("test_shrink");
}