13.19d: 2190a1b verified; sizeLabel's ties tested; tests read optionals through value(); two mask tests brought to 13.12

This commit is contained in:
ZacharyZhang-NY committed 2026-10-03 19:16:59 -04:00
1 parent ab34fd6ace
commit 3757eb8910
40 files changed
+233 -220

No files matched your search

+1 -1
View File
@@ -320,7 +320,7 @@ void ShapeLayerTests::aProjectKeepsLiveShapesOnly()
// Swift's keys; a rectangle writes no line fields.
QCOMPARE(firstShape(snapshot, 1).keys(), (QStringList{"blue", "cornerRadius", "green", "kind", "red"}));
QCOMPARE(firstShape(snapshot, 1).value("kind").toString(), QString("Rectangle"));
QCOMPARE(firstShape(snapshot, 2).value("start").toArray(), (QJsonArray{line.start->x(), line.start->y()}));
QCOMPARE(firstShape(snapshot, 2).value("start").toArray(), (QJsonArray{line.start.value().x(), line.start.value().y()}));
QCOMPARE(firstShape(snapshot, 2).value("lineWidth").toDouble(), 3.0);
const ProjectManifest decoded = ProjectManifest::decoded(snapshot.manifest.encoded());
QCOMPARE(decoded.layers[1].shape, snapshot.manifest.layers[1].shape);