]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
multistudy removal
authorPaul RASCLE <paul.rascle@edf.fr>
Fri, 7 Jun 2019 14:37:43 +0000 (16:37 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Fri, 7 Jun 2019 14:37:43 +0000 (16:37 +0200)
src/HYDRO_tests/test_HYDROData_DTM.cxx
src/HYDRO_tests/test_HYDROData_PolylineXY.cxx

index 0cb700a85ba13dfb92a6ef6c8c6fa470a556efac..9cc0ea758876f3975397cf6964ab1f61201ac986 100644 (file)
@@ -672,7 +672,7 @@ void test_HYDROData_DTM::test_classifier_1()
 
 void test_HYDROData_DTM::test_profile_discretization_warnings()
 {
-  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
+  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
 
   {
     Handle(HYDROData_Profile) aProfile = 
index cc07bbf7256c2ea5c560d3c21b16ceb21a109213..5120fb092dd2cae49e4a77a6d57595aec2e75b5e 100644 (file)
@@ -626,7 +626,7 @@ void test_HYDROData_PolylineXY::test_import_from_sx()
 
 void test_HYDROData_PolylineXY::test_import_from_sx_options()
 {
-  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document( 1 );
+  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
   TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data();
   fname += "/trait_cote_lambert1N.sx";
 
@@ -662,7 +662,7 @@ void test_HYDROData_PolylineXY::test_import_from_sx_options()
 
 void test_HYDROData_PolylineXY::test_polyline_dbf_info_simple()
 {
-  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document( 1 );
+  Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
   Handle(HYDROData_PolylineXY) aPolyline = Handle(HYDROData_PolylineXY)::DownCast(aDoc->CreateObject(KIND_POLYLINEXY));
   QStringList dbf_dummy, dbf_out;
   dbf_dummy << "n1" << "n2" << "n3" << "n4";