From 2e22a4b2d641470d68cb8a274b554a003ea27eeb Mon Sep 17 00:00:00 2001 From: isn Date: Mon, 28 Nov 2016 15:47:18 +0300 Subject: [PATCH] debug of tests [colorScale] (2) --- src/HYDRO_tests/test_HYDROData_DTM.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/HYDRO_tests/test_HYDROData_DTM.cxx b/src/HYDRO_tests/test_HYDROData_DTM.cxx index b3fd50f7..175b42b8 100644 --- a/src/HYDRO_tests/test_HYDROData_DTM.cxx +++ b/src/HYDRO_tests/test_HYDROData_DTM.cxx @@ -553,6 +553,7 @@ void test_HYDROData_DTM::test_presentation() HYDROGUI_ShapeBathymetry* aBathPrs = new HYDROGUI_ShapeBathymetry( 0, aContext, DTM ); aBathPrs->update( true, false ); + bool ColorScaleIsDisp = TestViewer::ColorScaleIsDisplayed(); TestViewer::showColorScale( true ); Handle_Aspect_ColorScale aCS = TestViewer::colorScale(); aCS->SetMin( 0.0 ); @@ -563,6 +564,7 @@ void test_HYDROData_DTM::test_presentation() QImage aDTMPrs = draw_DTM( aBathPrs, 0.5, 600, 600 ); CPPUNIT_ASSERT_IMAGES2( &aDTMPrs, "DTM_1" ); delete aBathPrs; + TestViewer::showColorScale( ColorScaleIsDisp ); aDoc->Close(); } -- 2.39.2