New Canvas presets in a More menu; every save writes QuickLook/Preview.jpg (13.7)

This commit is contained in:
ZacharyZhang-NY committed 2026-10-01 15:58:57 -04:00
1 parent 765e071c0c
commit 0616f9b006
12 files changed
+420 -7

No files matched your search

+4
View File
@@ -119,6 +119,10 @@ void ProjectReplaceTests::everythingIsSyncedBeforeTheSwap()
ProjectStore::save(twoLayers(), path);
QCOMPARE(faults.trace, (QStringList{"sync file", "sync file", "sync folder", "sync folder", "exchange", "sync folder"}));
QCOMPARE(QDir(root.path()).entryList(everything), QStringList{"Durable.comp"});
// The preview and its folder, before the project's folder.
faults.trace.clear();
ProjectStore::save(twoLayers(), path, QuickLookImages{"preview"});
QCOMPARE(faults.trace, (QStringList{"sync file", "sync file", "sync folder", "sync file", "sync folder", "sync folder", "exchange", "sync folder"}));
}
void ProjectReplaceTests::withoutAnExchangeTheProjectIsReplacedInTwoSteps_data()