Map additional framework regression tests

This commit is contained in:
Mex authored and GitHub committed 2026-11-21 10:48:32 +00:00
1 parent b94787a48d
commit d23c5957b1
1 file changed
+28
@@ -39,6 +39,34 @@ The source scan recognized Rust functions marked `#[test]`, namespaced `#[…::t
| [`crates/ui-egui/src/dialogs/image_size_readout_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/image_size_readout_tests.rs#L43) | [Flat image size](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/dialogs/sizing/tests.rs#L159), [Bitmap row padding and previous size](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/hosted.rs#L385) | Checks channel and depth calculations, whole-byte bitmap rows and when the previous size appears. Localized formatting and same-byte changes remain open. |
| [`crates/ui-egui/src/dialogs/image_size_resample_shortcuts_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/image_size_resample_shortcuts_tests.rs#L74) | [Alt-digit resampling](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/hosted.rs#L404) | Checks two picks, ignored chords, typing in the field and unavailable choices. Full key position coverage, same-frame ordering and applying the choice remain open. |
| [`crates/ui-egui/src/dialogs/camera_raw_preview_ui.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/camera_raw_preview_ui.rs#L299) | [Leaving Fit](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-canvas/tests/it/full_window_parts.rs#L27), [Pointer anchor](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-canvas/tests/it/full_window_parts.rs#L107), [Shift+Alt zoom ladder](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-canvas/tests/it/canvas/navigate.rs#L555) | Shared canvas tests cover the core navigation. The Camera Raw input wiring and its pan and snap limits still need app-level coverage. |
| [`apps/photocraft/src/icon_theme.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/apps/photocraft/src/icon_theme.rs#L250) | [Desktop icon themes](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/window/src/desktop/icon_theme.rs#L220), [Caption masks](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-shell/tests/it/shell/caption_button.rs#L51) | Theme lookup follows the child, parent and hicolor order, honors icon size and XDG paths, and handles cyclic indexes. Caption tests cover mask dimensions and pixels, refused renders and images producing no coverage. |
| [`apps/photocraft/src/file_dialog_probe.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/apps/photocraft/src/file_dialog_probe.rs#L140) | [File chooser backend probe](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/dialogs/src/probe/tests.rs#L11) | Retains no-backend diagnostics, exact FileChooser interface matching, and the distinction between missing-interface errors and inconclusive access errors. The former executable PATH lookup has no assertion in this group. |
| [`apps/photocraft/src/portal_save/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/apps/photocraft/src/portal_save/tests.rs#L134) | [Portal URI and file type tests](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/dialogs/src/portal/tests.rs#L23) | Checks local URI decoding and when the chosen type supplies or replaces an extension. The successor uses a pure filename helper. The former mocked portal handle, overwrite and cancel sequences need separate coverage. |
| [`crates/ui-egui/tests/it/actions_record_again.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/tests/it/actions_record_again.rs#L47) | [Record Again tests](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/panels/actions/record_again_tests.rs#L89) | Retains seeded dimensions, cancellation, a single-step update with its flags, preservation on stale or denied edits, cross-dialog isolation and preview authorization. The hosted dialog test reads fields through the current control route. |
| [`crates/ui-egui/tests/it/custom_print_paper.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/tests/it/custom_print_paper.rs#L177) | [Custom paper tests](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/dialogs/file_ui/custom_paper_tests.rs#L144) | Retains custom dimensions across units, presets and reopening, preview and PDF orientation, postcard aliases and rejection without document or output changes. The old standard- and Retina-scale drag fixture is outside these five cases. |
| [`crates/ui-egui/src/background_eraser_alt_click_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/background_eraser_alt_click_tests.rs#L127) | [Brush resize and Alt sampling](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/brush_resize/tests.rs#L155) | Retains foreground sampling without a paint or history step, plain erase dispatch, and the Ctrl+Alt and Alt+right resize routes. The former per-pixel and in-flight assertions still need mapping. |
| [`crates/ui-egui/src/background_eraser_bar_angle_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/background_eraser_bar_angle_tests.rs#L134) | [Background Eraser angle and pressure](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/background_eraser_tolerance_field_tests.rs#L91) | Brush and Background Eraser retain separate angle and pressure settings after tool switches. Visible angle text is a separate legacy assertion. |
| [`crates/ui-egui/src/background_eraser_bar_angle_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/background_eraser_bar_angle_tests.rs#L66) | [Options bar range alerts](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/background_eraser_tolerance_field_tests.rs#L53) | The hosted field clamps angles to −180° or 180° and retains the accepted value after dismissing one alert. Fractional angles still need a successor. |
| [`crates/ui-egui/src/brush_picker_angle_widget_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/brush_picker_angle_widget_tests.rs#L88) | [Brush-picker angle drag](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/brush_picker_escape_tests.rs#L75) | A drag in the real popup reaches 135° with one brush command. The old panel helper and simultaneous roundness check still need a mapping. |
| [`crates/ui-egui/src/background_eraser_digit_keys_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/background_eraser_digit_keys_tests.rs#L63) | [Tool-specific digit values](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/input/opacity_keys.rs#L195), [Double-zero dispatch](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/input/opacity_keys.rs#L252) | Preserves unrelated brush, layer and tool values, leaves Background Eraser tolerance alone on Shift digits, and sets it to 100% on double-zero. The new plain-digit case starts at the expected value, so it establishes isolation rather than a nondefault change. |
| [`crates/ui-egui/src/brush_alt_digit_smoothing_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/brush_alt_digit_smoothing_tests.rs#L44) | [Tool smoothing dispatch](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/input/opacity_keys.rs#L293) | Preserves other smoothing preferences, interrupts a pending opacity pair and ignores smoothing on Move. Actual Alt-key routing still needs an end-to-end case. |
| [`crates/ui-egui/src/brush_opacity_minimum_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/brush_opacity_minimum_tests.rs#L77) | [Brush and Pencil double-zero](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/input/opacity_keys.rs#L252), [Digit-pair timing](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/input/opacity_keys.rs#L275) | Checks Brush and Pencil opacity at 100%, Brush flow at 1% and the digit pairing window. The legacy leading-zero and build-up-specific cases still need mapping. |
| [`crates/ui-egui/src/sponge_flow_field_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/sponge_flow_field_tests.rs#L88) | [Sponge range alert](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/background_eraser_tolerance_field_tests.rs#L53), [Retouch dab parameters](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/retouch_ui/tests.rs#L249) | Covers upper-bound clamping with one alert and checks that dabs send the bar value, including rounding a restored 33.7 to 34. Lower-bound typing and the painted-pixel check need separate cases. |
| [`crates/ui-egui/src/dialogs/camera_raw_ui/controls.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/camera_raw_ui/controls.rs#L603) | [Restoring the active Camera Raw modal](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-contract/tests/it/runtime/windows.rs#L177), [Modal activation across window systems](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-contract/tests/it/runtime/windows.rs#L129) | Checks that regaining main-window focus restores and raises a Camera Raw modal, with platform-specific attention requests. The already-focused dimmed click is a separate legacy path. |
| [`crates/ui-egui/src/dialogs/rgb_histogram.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/rgb_histogram.rs#L189) | [Typical histogram scale](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/imaging/tests/it/histogram.rs#L34), [Overlapping color channels](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/imaging/tests/it/histogram.rs#L48) | Checks that spikes can clip while typical detail remains visible, and that crossing channels retain their overlap color. The old mask, theme and geometry matrices still need mapping. |
| [`crates/ui-egui/src/dialogs/edit_history.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/edit_history.rs#L175) | [Dialog-local undo and drag](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/dialog.rs#L31), [Redo truncation](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/behavior/src/edit_history.rs#L155), [Undo routing to the dialog](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-shell/tests/it/commands/board.rs#L112) | Covers a drag as one undo step, dropping redo after a new edit and routing undo to the modal instead of the application. Lens Correction and Vanishing Point still need case-specific mapping. |
| [`crates/ui-egui/src/dialogs/edit_history.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/edit_history.rs#L225) | [Filter Gallery undo and selection](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/imaging/tests/it/filter_gallery.rs#L181) | The shared workspace reduces two effects to one on Command-Z, clamps the selection and reports it once. PhotoCraft document-history isolation was a separate legacy assertion. |
| [`crates/ui-egui/src/dialogs/credits/ui_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/credits/ui_tests.rs#L101) | [Contributor sorting](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/about.rs#L235), [Generic table alignment and scroll](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-widgets/tests/it/table.rs#L323) | Checks actual About header sorting and undated rows staying last. Shared table tests cover numeric alignment and header scrolling. About-specific column widths and resize persistence remain open. |
| [`crates/ui-egui/src/dialogs/shape_dialog/create_triangle_range_alert_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/shape_dialog/create_triangle_range_alert_tests.rs#L59) | [Triangle and Rectangle range alerts](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/draw/tests/it/shape_drag.rs#L344), [Creating a Triangle in PhotoCraft](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/dialogs/shape_dialog/tests.rs#L79) | Checks out-of-range Triangle and Rectangle dimensions clamping with one alert on Tab, in-range input without an alert, and valid Triangle confirmation creating a layer. Rectangle now alerts too. Confirm while alerting, Cancel and comma-locale cases still need mapping. |
| [`crates/ui-egui/src/dialogs/fit_image_range_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/fit_image_range_tests.rs#L59) | [Hosted integer field validation](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/dialog.rs#L765), [Escape during a dialog draft](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/dialog.rs#L563), [Fit Image staging and confirmation](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/menus/view_cmds/tests.rs#L156) | The shared field exercises the same integer bounds and verifies clamping with one alert on Tab. Nonnumeric text now retains the value without an alert. The app test checks staging and valid confirmation. Invalid Fit Image submission and its undo behavior still need app-level cases. |
| [`crates/ui-egui/src/dialogs/dialog_alt_reset.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/dialogs/dialog_alt_reset.rs#L81) | [Alt changes Cancel to Reset](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/ui-patterns/tests/it/form_dialogs/dialog.rs#L586) | The hosted footer retains a deliberate in-place reset to opening or explicit values. The old JSON marker has been replaced by typed opt-in, whose opt-out path still needs a matching assertion. |
| [`crates/ui-egui/src/tools/analysis_ui/sampler_drag_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/analysis_ui/sampler_drag_tests.rs#L63) | [Color Sampler press and release](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/color-ui/tests/it/sampling.rs#L78) | Retains adding and moving on release, cancelling placement with Escape, refusing an off-canvas addition, removing by dragging out or using Alt, and refusal at the point limit. Live PhotoCraft marker painting and numbering still need coverage. |
| [`crates/ui-egui/src/tools/analysis_ui/sampler_menu_tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/analysis_ui/sampler_menu_tests.rs#L120) | [Stale sampler menu](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/analysis/sampler_menu_tests.rs#L31) | A stale point index or document cannot delete another sample. The successor checks the menu helper directly and closes the stale menu. The former control-channel refusal and menu painting are separate paths. |
| [`crates/ui-egui/src/tools/analysis_ui/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/analysis_ui/tests.rs#L106) | [Count Tool transactions](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/analysis/tests.rs#L52), [Note defaults and panel state](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/analysis/tests.rs#L115) | Retains Count Tool placement, movement and Alt-removal, including one history entry for a real move. Note tests verify selection, the panel opening, drag movement, sampled author and color, and reuse for a new note. |
| [`crates/ui-egui/src/tools/corner_radius/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/corner_radius/tests.rs#L45) | [Corner radius handle](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/shape_controls/corner_tests.rs#L87), [Corner radius across selected shapes](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/shape_controls/corner_tests.rs#L100) | Retains all-corner and multi-target drags as one history step, skips an unselected shape and honors per-shape limits. Alt for a single corner and live cursor and readout still need mapping. |
| [`crates/ui-egui/src/tools/lasso_ui/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/lasso_ui/tests.rs#L29) | [Straight lasso segments](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/imaging/tests/it/select.rs#L551), [Latched lasso operation](https://github.com/storytold/craft-libs/blob/683fe06031224725b913c8ad3697d8e8bfec6c90/crates/imaging/tests/it/select.rs#L640) | Checks straight vertices while Alt is held, closing on release and initial Subtract surviving later modifier changes. The old final mask, undo and initial Shift/Add and Alt+Shift/Intersect cases still need mapping. |
| [`crates/ui-egui/src/tools/lasso_ui/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/lasso_ui/tests.rs#L174) | [Pasteboard click and drag](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/lasso_click_tests.rs#L21) | Retains the click modifier matrix, one undo step and the actual mask sample from a drag that starts on the pasteboard. |
| [`crates/ui-egui/src/tools/lasso_ui/tests.rs`](https://github.com/storytold/photocraft/blob/01b79958a7b73c3d840b76492069e9635f9f7394/crates/ui-egui/src/tools/lasso_ui/tests.rs#L231) | [Freeform Pen owned paths](https://github.com/storytold/photocraft/blob/42c853396d147a554f540c9723b90e1179080a79/crates/ui-egui/src/tools/vector_ui/freeform_pen_tests.rs#L60) | Retains the old subpath, straight controls, one history step and undo, and rejects a changed target, source, revision or document. The old same-press Alt release case still needs mapping. |
The Magnetic Lasso cursor-preference matrix returned in [PhotoCraft #15805](https://github.com/storytold/photocraft/pull/15805). The removed Alt+Tab case has a draft in [craft-libs #2805](https://github.com/storytold/craft-libs/pull/2805). Customized-workspace Properties coverage is tracked in [#15791](https://github.com/storytold/photocraft/issues/15791).