Files
vectorcraft/crates/ui-egui/src/tests.rs
T
dotCooCoo 07522fb4e6 Tests: ui-egui tests remove the temp folders they make
Place, taskbar, opening, Save Options, Missing Fonts and one control
test left their folders in the system temp folder after every run.
Other opening and control tests removed theirs only at the end of a
passing test, so a failing one left its folder.

- A test-only Folder guard (crate::tests_folder) removes its folder
  with everything in it when dropped, also when the test panics, as
  the find-files tests' Tree guard does (#6948).
- The opening and control tests that made their own folders use it.
- Each Place test gets its own folder instead of one shared per-process
  folder, so one test's cleanup cannot remove another's files.
- The Missing Fonts helper no longer removes and remakes the folder
  vectorcraft_testkit::temp_dir made, which keeps it owner-only on Unix.
- vectorcraft_testkit::temp_dir is unchanged.
2026-11-13 07:14:08 -08:00

64 lines
1.0 KiB
Rust

mod adjust;
mod aisave;
mod automation;
pub(super) mod background;
mod clipboard;
mod contextmenu;
mod cut;
mod distortkeys;
mod docsetup;
mod document_drag;
pub(super) mod folder;
mod font_menu;
mod fonts;
mod guide_escape;
mod home;
pub(super) mod labels;
mod lifecycle;
mod nativemenu;
mod nativeoptions;
mod numfields;
mod overprint;
mod paintchips;
mod pastechords;
mod pathtype;
mod pdfoutput;
pub(super) mod picks;
mod place;
mod plugin_runs;
mod plugins;
mod printps;
mod printtiling;
mod puppetwarp;
mod recolor;
mod recovery;
pub(super) mod removeanchors;
mod rotateview;
mod ruler_origin;
mod save;
mod saveext;
mod screenmode;
mod screenshots;
mod script_check;
mod script_dialogs;
mod script_run;
mod scripts_menu;
mod scrub;
mod selectall;
mod selectescape;
mod slices;
pub(super) mod svg;
mod svgsave;
pub(super) mod synthetic;
pub(super) mod sysclip;
mod sysclip_emf;
mod sysclip_guides;
mod sysclip_probe;
mod tab_overflow;
mod tab_reorder;
mod taskbar;
mod toolescape;
mod trace_runs;
mod transparencygrid;
mod widthtool;