refactor(lightcraft-ui-egui): move tests_*.rs to tests/

This commit is contained in:
aiongg
2026-10-26 18:24:54 +00:00
parent ebff40bbd0
commit 41ec36ac83
86 changed files with 86 additions and 168 deletions
+2 -168
View File
@@ -54,169 +54,9 @@ pub mod widgets;
pub mod window_place;
#[cfg(test)]
mod tests_activity;
mod tests;
#[cfg(test)]
mod tests_album_picker;
#[cfg(test)]
mod tests_album_remove;
#[cfg(test)]
mod tests_appearance;
#[cfg(test)]
mod tests_before_after;
#[cfg(test)]
mod tests_browse_active;
#[cfg(test)]
mod tests_button;
#[cfg(test)]
mod tests_canvas_keys;
#[cfg(test)]
mod tests_canvas_pan;
#[cfg(test)]
mod tests_capture_time;
#[cfg(test)]
mod tests_compare;
#[cfg(test)]
mod tests_copy_paste_dialogs;
#[cfg(test)]
mod tests_crop_rotate;
#[cfg(test)]
mod tests_crop_tool;
#[cfg(test)]
mod tests_curve;
#[cfg(test)]
mod tests_date_picker;
#[cfg(test)]
mod tests_dialog_fit;
#[cfg(test)]
mod tests_dialog_primary;
#[cfg(test)]
mod tests_dialog_settings;
#[cfg(test)]
mod tests_dialog_tab;
#[cfg(test)]
mod tests_dialogs;
#[cfg(test)]
mod tests_drop_import;
#[cfg(test)]
mod tests_edit_layout;
#[cfg(test)]
mod tests_empty_library;
#[cfg(test)]
mod tests_error_kinds;
#[cfg(test)]
mod tests_filmstrip;
#[cfg(test)]
mod tests_focus_point;
#[cfg(test)]
mod tests_folder_drop;
#[cfg(test)]
mod tests_grading;
#[cfg(test)]
mod tests_grid;
#[cfg(test)]
mod tests_guided_guides;
#[cfg(test)]
mod tests_histogram_drag;
#[cfg(test)]
mod tests_info_dialogs;
#[cfg(test)]
mod tests_keymap;
#[cfg(test)]
mod tests_keyword_files;
#[cfg(test)]
mod tests_keyword_list;
#[cfg(test)]
mod tests_keyword_set;
#[cfg(test)]
mod tests_keyword_sidebar;
#[cfg(test)]
mod tests_keywording;
#[cfg(test)]
mod tests_labels;
#[cfg(test)]
mod tests_launch_library;
#[cfg(test)]
mod tests_layout_image;
#[cfg(test)]
mod tests_library_problem;
#[cfg(test)]
mod tests_lifecycle_037;
#[cfg(test)]
mod tests_lightroom_destination;
#[cfg(test)]
mod tests_lights_out;
#[cfg(test)]
mod tests_mask_effects;
#[cfg(test)]
mod tests_masking;
#[cfg(test)]
mod tests_masking_layout;
#[cfg(test)]
mod tests_menubar;
#[cfg(test)]
mod tests_merge_preview;
#[cfg(test)]
mod tests_offline;
#[cfg(test)]
mod tests_open_lightroom;
#[cfg(test)]
mod tests_panels;
#[cfg(test)]
mod tests_preset_favorites;
#[cfg(test)]
mod tests_preset_import;
#[cfg(test)]
mod tests_preview_limit;
#[cfg(test)]
mod tests_print;
#[cfg(test)]
mod tests_profile_menu;
#[cfg(test)]
mod tests_profiles_layout;
#[cfg(test)]
mod tests_progress;
#[cfg(test)]
mod tests_quit_unsaved;
#[cfg(test)]
mod tests_rating;
#[cfg(test)]
mod tests_recheck;
#[cfg(test)]
mod tests_rename_person;
#[cfg(test)]
mod tests_rules_editor;
#[cfg(test)]
mod tests_sam_setup;
#[cfg(test)]
mod tests_scroll;
#[cfg(test)]
mod tests_slider_reset;
#[cfg(test)]
mod tests_slideshow;
#[cfg(test)]
mod tests_solo_sections;
#[cfg(test)]
mod tests_switch_library;
#[cfg(test)]
mod tests_sync;
#[cfg(test)]
mod tests_tallies;
#[cfg(test)]
mod tests_temp_slider;
#[cfg(test)]
mod tests_titlebar;
#[cfg(test)]
mod tests_tool_overlay;
#[cfg(test)]
mod tests_unsaved;
#[cfg(test)]
mod tests_view_cost;
#[cfg(test)]
mod tests_wb_selector;
#[cfg(test)]
mod tests_zoom;
#[cfg(test)]
mod tests_zoom_keys;
use tests::panels as tests_panels;
use std::sync::mpsc::{Receiver, Sender};
@@ -3589,9 +3429,3 @@ mod cache_tests {
assert_eq!(c.album_count_scans, 1);
}
}
#[cfg(test)]
mod tests_model_setup;
#[cfg(test)]
mod tests_docking_acceptance;
+84
View File
@@ -0,0 +1,84 @@
mod activity;
mod album_picker;
mod album_remove;
mod appearance;
mod before_after;
mod browse_active;
mod button;
mod canvas_keys;
mod canvas_pan;
mod capture_time;
mod compare;
mod copy_paste_dialogs;
mod crop_rotate;
mod crop_tool;
mod curve;
mod date_picker;
mod dialog_fit;
mod dialog_primary;
mod dialog_settings;
mod dialog_tab;
mod dialogs;
mod drop_import;
mod edit_layout;
mod empty_library;
mod error_kinds;
mod filmstrip;
mod focus_point;
mod folder_drop;
mod grading;
mod grid;
mod guided_guides;
mod histogram_drag;
mod info_dialogs;
mod keymap;
mod keyword_files;
mod keyword_list;
mod keyword_set;
mod keyword_sidebar;
mod keywording;
mod labels;
mod launch_library;
mod layout_image;
mod library_problem;
mod lifecycle_037;
mod lightroom_destination;
mod lights_out;
mod mask_effects;
mod masking;
mod masking_layout;
mod menubar;
mod merge_preview;
mod offline;
mod open_lightroom;
pub(super) mod panels;
mod preset_favorites;
mod preset_import;
mod preview_limit;
mod print;
mod profile_menu;
mod profiles_layout;
mod progress;
mod quit_unsaved;
mod rating;
mod recheck;
mod rename_person;
mod rules_editor;
mod sam_setup;
mod scroll;
mod slider_reset;
mod slideshow;
mod solo_sections;
mod switch_library;
mod sync;
mod tallies;
mod temp_slider;
mod titlebar;
mod tool_overlay;
mod unsaved;
mod view_cost;
mod wb_selector;
mod zoom;
mod zoom_keys;
mod model_setup;
mod docking_acceptance;