egui/crates/egui_kittest/src
lucasmerlin b8051cc301
Add `SnapshotResults` struct to egui_kittest (#5672)
I got annoyed by all the slightly different variations of "collect
snapshot results and unwrap them at the end of test" I've written, so I
added a struct to make this nice and simple.

One controversial thing: It panics when dropped. I wanted to ensure
people cannot forget to unwrap the results at the end, and this was the
best thing I could come up with. I don't think this is possible via
clippy lint or something like that.

* [x] I have followed the instructions in the PR template
2025-02-04 14:01:32 +01:00
..
app_kind.rs Fix some clippy issues found by 1.84.0 (#5603) 2025-01-13 08:29:13 +01:00
builder.rs Wgpu resources are no longer wrapped in `Arc` (since they are now `Clone`) (#5612) 2025-01-20 18:06:35 +01:00
event.rs Add egui testing library (#5166) 2024-10-22 12:39:00 +02:00
lib.rs Wgpu resources are no longer wrapped in `Arc` (since they are now `Clone`) (#5612) 2025-01-20 18:06:35 +01:00
renderer.rs Wgpu resources are no longer wrapped in `Arc` (since they are now `Clone`) (#5612) 2025-01-20 18:06:35 +01:00
snapshot.rs Add `SnapshotResults` struct to egui_kittest (#5672) 2025-02-04 14:01:32 +01:00
texture_to_image.rs Upgrade to wgpu 24 (#5610) 2025-01-16 17:00:29 +01:00
wgpu.rs Extend `WgpuSetup`, `egui_kittest` now prefers software rasterizers for testing (#5506) 2025-01-08 14:24:58 +01:00