Review 1 fixes for 13.7, 13.14, 13.15: a lost tab release ends the drag (Swift's dragTimer); pins for the pill spacing, the Ungroup chord, the eye under the arrows, the Quick Look digest
This commit is contained in:
1 parent
81894f744a
commit
6735aad4ef
9 files changed
+64
-21
No files matched your search
@@ -1,6 +1,7 @@
|
||||
#include "DialogDesk.h"
|
||||
#include "IO/ImageExporter.h"
|
||||
#include "IO/ProjectController.h"
|
||||
#include "IO/ProjectDigest.h"
|
||||
#include "ProjectFixtures.h"
|
||||
#include <QBuffer>
|
||||
#include <QColorSpace>
|
||||
@@ -61,6 +62,12 @@ void QuickLookPreviewTests::theStoreWritesThePreviewAndLoadingIgnoresIt()
|
||||
QCOMPARE(contents(path + "/QuickLook/Preview.jpg"), QByteArray("not even a JPEG"));
|
||||
// Its bytes are never read.
|
||||
QCOMPARE(ProjectStore::load(path).manifest.encoded(), snapshot.manifest.encoded());
|
||||
// Rewritten or deleted, it is no external change.
|
||||
const QByteArray digest = ProjectDigest::compute(path);
|
||||
overwrite(path + "/QuickLook/Preview.jpg", QByteArray(5000, 'x'));
|
||||
QCOMPARE(ProjectDigest::compute(path), digest);
|
||||
QVERIFY(QDir(path + "/QuickLook").removeRecursively());
|
||||
QCOMPARE(ProjectDigest::compute(path), digest);
|
||||
// Saved without one, the project has none.
|
||||
ProjectStore::save(snapshot, path);
|
||||
QCOMPARE(QDir(path).entryList(everything), (QStringList{"images", "manifest.json"}));
|
||||
|
||||
Reference in new issue
Block a user