mirror of
https://github.com/emilk/egui.git
synced 2026-09-02 23:00:04 -04:00
Add Harness::new_eframe and TestRenderer trait (#5539)
Co-authored-by: Andreas Reich <r_andreas2@web.de>
This commit is contained in:
@@ -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");
|
||||
}
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user