Skip to content

Commit

Permalink
Try to reactivate tests for legend and json export
Browse files Browse the repository at this point in the history
  • Loading branch information
pblottiere authored and nyalldawson committed May 27, 2020
1 parent 7fa4bab commit b76f39e
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions tests/src/core/testqgslegendrenderer.cpp
Expand Up @@ -1440,10 +1440,6 @@ void TestQgsLegendRenderer::testOpacityJson()
const QJsonObject point_layer = root[1].toObject();
const QJsonArray point_layer_symbols = point_layer["symbols"].toArray();

#if 0
// these tests were totally broken -- they had a larger number of allowed pixel differences then the reference images themselves!!
// they've been broken since they were introduced.

const QJsonObject point_layer_symbol_red = point_layer_symbols[0].toObject();
const QImage point_layer_icon_red = _base64ToImage( point_layer_symbol_red["icon"].toString() );
QString test_name = "point_layer_icon_red_opacity";
Expand All @@ -1462,8 +1458,6 @@ void TestQgsLegendRenderer::testOpacityJson()
point_layer_icon_blue.save( _fileNameForTest( test_name ) );
QVERIFY( _verifyImage( test_name, mReport, 5 ) );

#endif

mVL3->setOpacity( opacity );
}

Expand Down

0 comments on commit b76f39e

Please sign in to comment.