diff --git a/crates/engine/tests/it/atn_classic_gradient.rs b/crates/engine/tests/it/atn_classic_gradient.rs index 254c47d2fc..41fe944db0 100644 --- a/crates/engine/tests/it/atn_classic_gradient.rs +++ b/crates/engine/tests/it/atn_classic_gradient.rs @@ -194,6 +194,7 @@ fn malformed_unknown_and_unrepresentable_descriptors_stay_whole() { } } +/// Unsupported options cannot become an approximate Photoshop event: keep native JSON or explicitly omit the step. #[test] fn unsupported_native_targets_and_damaged_origins_use_exact_native_fallback() { let loaded = imported(fixture("Lnr ", "Gcls", false)); diff --git a/crates/engine/tests/it/atn_content_aware_fill.rs b/crates/engine/tests/it/atn_content_aware_fill.rs index b7f15e2ba0..a82c68d093 100644 --- a/crates/engine/tests/it/atn_content_aware_fill.rs +++ b/crates/engine/tests/it/atn_content_aware_fill.rs @@ -211,6 +211,7 @@ fn caf_unrepresented_descriptors_are_kept_and_never_partially_play() { } /// Known native defaults become explicit values; unsupported defaults/options cannot disappear. +/// Representable defaults use CAF events; every unrepresented option stays exact in native fallback and is omitted only on request. #[test] fn caf_native_exports_preserve_effective_defaults_and_refuse_unrepresented_options() { for p in [json!({"sampling":"rectangular","output":"new"}), json!({"sampling":"rectangular","output":"new","seed":1,"target":"pixels"}), params()] { diff --git a/crates/engine/tests/support/atn_export.rs b/crates/engine/tests/support/atn_export.rs index 844920be64..7de8305cd9 100644 --- a/crates/engine/tests/support/atn_export.rs +++ b/crates/engine/tests/support/atn_export.rs @@ -10,6 +10,7 @@ use photocraft_psd::{ descriptor::Value as D, }; +/// Load default export through the durable store, retaining every native ID and JSON parameter exactly. pub fn preserved(set: &str, action: &Action) -> Vec { let (bytes, skipped) = atn_cmds::export(set, &[action], &[], false).unwrap(); assert!(skipped.is_empty()); diff --git a/crates/ui-egui/src/panels/actions/owned_preview_tests.rs b/crates/ui-egui/src/panels/actions/owned_preview_tests.rs index 25e7b6ba0d..d58725fb72 100644 --- a/crates/ui-egui/src/panels/actions/owned_preview_tests.rs +++ b/crates/ui-egui/src/panels/actions/owned_preview_tests.rs @@ -390,7 +390,9 @@ fn a_recorder_started_during_a_library_dialog_survives_its_continuation() { let second = dialog(&app); assert_ne!(first, second); match exit { - "cancel second" => crate::dialogs::cancel(&mut app, second).unwrap(), + "cancel second" => { + crate::dialogs::cancel(&mut app, second).unwrap(); + } "command error" => { app.ui.dialog_mut(second).unwrap().fields.insert("radius".into(), json!("invalid")); assert!(crate::dialogs::confirm(&mut app, second).is_err());