aDoc->Close();
}
-
+#include <QTest>
void test_HYDROData_LandCoverMap::test_land_cover_prs_by_types()
{
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
// show presentation in viewer
TestViewer::show( aPrs, AIS_Shaded, 4, true, "LandCoverMap_PrsByTypes" );
// select one of faces (first)
- TestViewer::select( 200, 300 );
+ TestViewer::select( 200, 300 );
+ QTest::qWait(1000);
+ TestViewer::select( 220, 300 );
+ QTest::qWait(1000);
+ TestViewer::select( 250, 300 );
+ QTest::qWait(1000);
+ TestViewer::select( 300, 300 );
+ QTest::qWait(1000);
+ TestViewer::select( 200, 350 );
+ QTest::qWait(1000);
+ TestViewer::select( 200, 500 );
+ QTest::qWait(1000);
+ TestViewer::select( 250, 400 );
+ QTest::qWait(1000);
+ TestViewer::select( 300, 99 );
+ QTest::qWait(1000);
+
CPPUNIT_ASSERT_IMAGES
TestViewer::eraseAll(true, true);
aDoc->Close();
TestViewer::showColorScale( true );
aPrs->SetColorScale( TestViewer::colorScale() );
TestViewer::show( aPrs, AIS_Shaded, 4, true, "LandCoverMap_PrsByCoeff" );
+
CPPUNIT_ASSERT_IMAGES
TestViewer::showColorScale( false );