Skip to content

Commit

Permalink
Move test crates to own folder (#4554)
Browse files Browse the repository at this point in the history
  • Loading branch information
emilk authored May 27, 2024
1 parent 7a17a6d commit a8b50e6
Show file tree
Hide file tree
Showing 9 changed files with 7 additions and 4 deletions.
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ members = [
"crates/epaint",

"examples/*",
"tests/*",

"xtask",
]
Expand Down
2 changes: 1 addition & 1 deletion examples/multiple_viewports/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ Example how to show multiple viewports (native windows) can be created in `egui`
cargo run -p multiple_viewports
```

For a more advanced example, see [../test_viewports].
For a more advanced example, see [../../tests/test_viewports].
Binary file removed examples/test_viewports/screenshot.png
Binary file not shown.
4 changes: 4 additions & 0 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
## Test apps
Some application to tests various parts of egui and eframe.

At some point it would be nice to have automatic screenshot regression tests for these.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
This is a test of the viewports feature of eframe and egui, where we show off using multiple windows.

For a simple example, see [`multiple_viewports`](../multiple_viewports).

![](screenshot.png)
For a simple example, see [`multiple_viewports`](../../examples/multiple_viewports).
File renamed without changes.

0 comments on commit a8b50e6

Please sign in to comment.