Open Recent, print sizes through an invalid resolution, Color Grading under Color (12.14b)
This commit is contained in:
1 parent
94b884a2ef
commit
2183348aa6
21 files changed
+717
-38
No files matched your search
@@ -155,9 +155,12 @@ void ProjectOpenTests::aDamagedOrMissingProjectKeepsTheLiveDocument()
|
||||
QCOMPARE(desk.seen, (QStringList{damaged + "|busy"}));
|
||||
QCOMPARE(described(session), before);
|
||||
QVERIFY(session.isModified() && !session.isProjectBusy());
|
||||
QTest::ignoreMessage(QtWarningMsg, "Couldn’t open the project: This is not a valid OmaPhoto project, or its metadata is damaged.");
|
||||
// A missing project is named.
|
||||
QTest::ignoreMessage(QtWarningMsg, "Couldn’t open the project: The file “Nowhere.comp” couldn’t be opened because there is no such file.");
|
||||
QCOMPARE(answered([&](auto done) { controller.open(folder.filePath("Nowhere.comp"), done); }), std::optional(false));
|
||||
QCOMPARE(desk.seen.size(), 2);
|
||||
QVERIFY2(desk.seen[1].startsWith("alert|2|Couldn’t open the project|The file “Nowhere.comp” couldn’t be opened because there is no such file.|"),
|
||||
qPrintable(desk.seen[1]));
|
||||
QCOMPARE(described(session), before);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user