]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
some more HYDRO_tests corrections
authorPaul RASCLE <paul.rascle@edf.fr>
Sat, 21 May 2016 15:21:07 +0000 (17:21 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Sat, 21 May 2016 15:21:07 +0000 (17:21 +0200)
src/HYDRO_tests/reference_data/LCM_copied.png
src/HYDRO_tests/test_HYDROData_StricklerTable.cxx

index 72382b9bb0d469a5eb50faf5d558cfae11e19563..3dc991616836c104739d386b133444b827b5486e 100644 (file)
Binary files a/src/HYDRO_tests/reference_data/LCM_copied.png and b/src/HYDRO_tests/reference_data/LCM_copied.png differ
index e3c4f4ba9835b2f998e82602cfc152278a3da1a0..27981a503e9647f2155b304b4a3b6303e8de599a 100644 (file)
@@ -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();
 }