File tree Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Expand file tree Collapse file tree 1 file changed +0
-6
lines changed Original file line number Diff line number Diff line change @@ -1440,10 +1440,6 @@ void TestQgsLegendRenderer::testOpacityJson()
1440
1440
const QJsonObject point_layer = root[1 ].toObject ();
1441
1441
const QJsonArray point_layer_symbols = point_layer[" symbols" ].toArray ();
1442
1442
1443
- #if 0
1444
- // these tests were totally broken -- they had a larger number of allowed pixel differences then the reference images themselves!!
1445
- // they've been broken since they were introduced.
1446
-
1447
1443
const QJsonObject point_layer_symbol_red = point_layer_symbols[0 ].toObject ();
1448
1444
const QImage point_layer_icon_red = _base64ToImage ( point_layer_symbol_red[" icon" ].toString () );
1449
1445
QString test_name = " point_layer_icon_red_opacity" ;
@@ -1462,8 +1458,6 @@ void TestQgsLegendRenderer::testOpacityJson()
1462
1458
point_layer_icon_blue.save ( _fileNameForTest ( test_name ) );
1463
1459
QVERIFY ( _verifyImage ( test_name, mReport , 5 ) );
1464
1460
1465
- #endif
1466
-
1467
1461
mVL3 ->setOpacity ( opacity );
1468
1462
}
1469
1463
You can’t perform that action at this time.
0 commit comments