Simplify application integration tests

This commit is contained in:
Dylan M. Taylor
2026-10-28 16:44:19 +00:00
parent 55dddf6adf
commit e6da628e56
9 changed files with 118 additions and 82 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
use super::prefs::save_prefs;
use super::*;
use super::{App, VectorcraftApp, file_access, window};
/// The parts of [`App::raw_input_hook`] that every window needs, for the OS windows of floating
/// panels: a click or Escape that closes the macOS menu bar's open menu, and the pen barrel
+1 -1
View File
@@ -309,7 +309,7 @@ mod win {
mod portable {
use std::borrow::Cow;
use super::*;
use super::{BITMAP, Flavour, PNG, SystemClipboard, TEXT, copied_file, decode_png, png_flavour, text_of};
/// What our last write put on the clipboard.
enum Ours {
+1 -1
View File
@@ -1,4 +1,4 @@
use super::*;
use super::{ClipboardProbeFactory, FilePick, PickRequest, Services, clipboard, cursor_theme, fileio, portal_save, printing, tablet};
/// The window file dialogs belong to.
pub(crate) type Parent = Option<std::sync::Arc<winit::window::Window>>;
+1 -1
View File
@@ -1,4 +1,4 @@
use super::*;
use super::{VectorcraftApp, fileio, prefs_dir};
/// Where UI preferences live: ~/Library/Application Support/VectorCraft (macOS),
/// %APPDATA%\VectorCraft (Windows), $XDG_CONFIG_HOME or ~/.config/vectorcraft (Linux).
+1 -1
View File
@@ -1,4 +1,4 @@
use super::*;
use super::{window, xwayland};
/// The window, Dock, taskbar and app-switcher icon (`assets/app-icon/`, see its README). macOS gets
/// the version with Apple's transparent margin; elsewhere the full-bleed tile. The app ID matches