Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'BR_PY3' of https://git.forge.pleiade.edf.fr/git/modules-salome.hydro...
[modules/hydro.git]
/
src
/
HYDRO_tests
/
test_HYDROData_CalcCase.cxx
diff --git
a/src/HYDRO_tests/test_HYDROData_CalcCase.cxx
b/src/HYDRO_tests/test_HYDROData_CalcCase.cxx
index 91141a7c19a77d5e4f0ed80f9ee68f16e8628784..e383b41d4ea82f68ec3720cc02c2ea639f603f73 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_CalcCase.cxx
+++ b/
src/HYDRO_tests/test_HYDROData_CalcCase.cxx
@@
-135,9
+135,9
@@
void test_HYDROData_CalcCase::test_complete_1()
{
TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data();
fname += "/study_cc_1.cbf";
{
TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data();
fname += "/study_cc_1.cbf";
- CPPUNIT_ASSERT_EQUAL( (int)DocError_OK, (int)HYDROData_Document::Load( fname.ToCString()
, 1
) );
+ CPPUNIT_ASSERT_EQUAL( (int)DocError_OK, (int)HYDROData_Document::Load( fname.ToCString() ) );
- Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(
1
);
+ Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
Handle(HYDROData_CalculationCase) aCase =
Handle(HYDROData_CalculationCase)::DownCast( aDoc->FindObjectByName( "Case_1" ) );
Handle(HYDROData_CalculationCase) aCase =
Handle(HYDROData_CalculationCase)::DownCast( aDoc->FindObjectByName( "Case_1" ) );
@@
-222,9
+222,9
@@
void test_HYDROData_CalcCase::test_complete_2()
{
TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data();
fname += "/study_cc_2.cbf";
{
TCollection_AsciiString fname = REF_DATA_PATH.toLatin1().data();
fname += "/study_cc_2.cbf";
- CPPUNIT_ASSERT_EQUAL( (int)DocError_OK, (int)HYDROData_Document::Load( fname.ToCString()
, 1
) );
+ CPPUNIT_ASSERT_EQUAL( (int)DocError_OK, (int)HYDROData_Document::Load( fname.ToCString() ) );
- Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(
1
);
+ Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
Handle(HYDROData_CalculationCase) aCase =
Handle(HYDROData_CalculationCase)::DownCast( aDoc->FindObjectByName( "Case_1" ) );
Handle(HYDROData_CalculationCase) aCase =
Handle(HYDROData_CalculationCase)::DownCast( aDoc->FindObjectByName( "Case_1" ) );