TestViewer::show( aPrs, AIS_Shaded, 4, true, "LandCoverMap_PrsByTypes" );
// select one of faces (first)
TestViewer::select( 200, 300 );
- // CPPUNIT_ASSERT_IMAGES
-
+ CPPUNIT_ASSERT_IMAGES
+ TestViewer::eraseAll(true, true);
aDoc->Close();
}
#include <QTest>
void test_HYDROData_LandCoverMap::test_shp_import_cyp()
{
+ //TestViewer::eraseAll(true);
+
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
QString aFileName = REF_DATA_PATH + "/cyprus_natural.shp";
HYDROData_ShapeFile anImporter;
LCM->StoreLandCovers(aMapFace2ST);
TestViewer::show( LCM->GetShape(), AIS_Shaded, true, "cyprus_natural_all" );
- QTest::qWait(100000);
CPPUNIT_ASSERT_IMAGES
aDoc->Close();
}