Plan PPBR export reporting
This commit is contained in:
@@ -82,6 +82,15 @@ void executor_rejects_malformed_requests_before_dispatch(pp::tests::Harness& har
|
||||
PP_EXPECT(harness, services.exports == 1);
|
||||
}
|
||||
|
||||
void success_dialog_preserves_legacy_message(pp::tests::Harness& harness)
|
||||
{
|
||||
const auto plan = pp::app::plan_brush_package_export_success_dialog("D:/Paint/clouds.ppbr");
|
||||
|
||||
PP_EXPECT(harness, plan.title == "Export PPBR");
|
||||
PP_EXPECT(harness, plan.message == "Brushes exported to:\nD:/Paint/clouds.ppbr");
|
||||
PP_EXPECT(harness, !plan.show_cancel);
|
||||
}
|
||||
|
||||
} // namespace
|
||||
|
||||
int main()
|
||||
@@ -90,5 +99,6 @@ int main()
|
||||
harness.run("validates path and preserves metadata edges", validates_path_and_preserves_metadata_edges);
|
||||
harness.run("executor dispatches export request", executor_dispatches_export_request);
|
||||
harness.run("executor rejects malformed requests before dispatch", executor_rejects_malformed_requests_before_dispatch);
|
||||
harness.run("success dialog preserves legacy message", success_dialog_preserves_legacy_message);
|
||||
return harness.finish();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user