From: Paul RASCLE Date: Sat, 21 May 2016 15:21:07 +0000 (+0200) Subject: some more HYDRO_tests corrections X-Git-Tag: v1.6~113^2~5 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=d96f8b24f00fe0ccf4ad4199cdd095cb1d07796a;p=modules%2Fhydro.git some more HYDRO_tests corrections --- diff --git a/src/HYDRO_tests/reference_data/LCM_copied.png b/src/HYDRO_tests/reference_data/LCM_copied.png index 72382b9b..3dc99161 100644 Binary files a/src/HYDRO_tests/reference_data/LCM_copied.png and b/src/HYDRO_tests/reference_data/LCM_copied.png differ diff --git a/src/HYDRO_tests/test_HYDROData_StricklerTable.cxx b/src/HYDRO_tests/test_HYDROData_StricklerTable.cxx index e3c4f4ba..27981a50 100644 --- a/src/HYDRO_tests/test_HYDROData_StricklerTable.cxx +++ b/src/HYDRO_tests/test_HYDROData_StricklerTable.cxx @@ -50,7 +50,7 @@ void test_HYDROData_StricklerTable::test_import() aType = QString::fromUtf8("Végétation clairsemée"); CPPUNIT_ASSERT_EQUAL( aType, aTypes[38] ); - CPPUNIT_ASSERT_EQUAL( QColor( 164, 25, 164 ), aTable->GetColor( aType ) ); + CPPUNIT_ASSERT_EQUAL( QColor( 204, 255, 204 ), aTable->GetColor( aType ) ); CPPUNIT_ASSERT_EQUAL( QString( "333" ), aTable->GetAttrValue( aType ) ); aDoc->Close(); @@ -213,7 +213,7 @@ void test_HYDROData_StricklerTable::test_dump_python() QString aTmpPath = QDir::tempPath() + "/st_dump.py"; CPPUNIT_ASSERT_EQUAL( true, aDoc->DumpToPython( aTmpPath, false ) ); - CPPUNIT_ASSERT_SCRIPTS_EQUAL( "st_dump.py", true, false, 20 ); + CPPUNIT_ASSERT_SCRIPTS_EQUAL( "st_dump.py", true, true, 0 ); aDoc->Close(); }