mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Disable unit tests and add enum value to sip
This commit is contained in:
parent
a91b685685
commit
7be304c34c
@ -19,6 +19,7 @@ class QgsRenderContext
|
||||
UseRenderingOptimization, //!< Enable vector simplification and other rendering optimizations
|
||||
DrawSelection, //!< Whether vector selections should be shown in the rendered map
|
||||
DrawSymbolBounds, //!< Draw bounds of symbols (for debugging/testing)
|
||||
RenderMapTile, //!< Draw map such that there are no problems between adjacent tiles
|
||||
};
|
||||
typedef QFlags<QgsRenderContext::Flag> Flags;
|
||||
|
||||
|
@ -38,8 +38,10 @@ class TestQgsAdjacentTiles : public QObject
|
||||
void initTestCase();// will be called before the first testfunction is executed.
|
||||
void cleanupTestCase();// will be called after the last testfunction was executed.
|
||||
|
||||
#if 0 //disable for now
|
||||
void testFourAdjacentTiles_data();
|
||||
void testFourAdjacentTiles();
|
||||
#endif //0
|
||||
};
|
||||
|
||||
void TestQgsAdjacentTiles::initTestCase()
|
||||
@ -53,6 +55,7 @@ void TestQgsAdjacentTiles::cleanupTestCase()
|
||||
QgsApplication::exitQgis();
|
||||
}
|
||||
|
||||
#if 0
|
||||
void TestQgsAdjacentTiles::testFourAdjacentTiles_data()
|
||||
{
|
||||
QTest::addColumn<QStringList>( "bboxList" );
|
||||
@ -162,6 +165,7 @@ void TestQgsAdjacentTiles::testFourAdjacentTiles()
|
||||
checker.setControlName( QTest::currentDataTag() );
|
||||
QVERIFY( checker.compareImages( QTest::currentDataTag(), 100, renderedImagePath ) );
|
||||
}
|
||||
#endif //0
|
||||
|
||||
QTEST_MAIN( TestQgsAdjacentTiles )
|
||||
#include "testqgsadjacenttiles.moc"
|
||||
|
Loading…
x
Reference in New Issue
Block a user