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_Iterator.cxx
diff --git
a/src/HYDRO_tests/test_HYDROData_Iterator.cxx
b/src/HYDRO_tests/test_HYDROData_Iterator.cxx
index 7381a4e77ee294a1d54ed3a9437bf002e185c640..4efa7cfdd090f548cfbe8f83fbe34d29d64ea6e3 100644
(file)
--- a/
src/HYDRO_tests/test_HYDROData_Iterator.cxx
+++ b/
src/HYDRO_tests/test_HYDROData_Iterator.cxx
@@
-27,7
+27,7
@@
void test_HYDROData_Iterator::testOneKind()
{
static const QString aName1("test_name1");
static const QString aName2("test_name2");
{
static const QString aName1("test_name1");
static const QString aName2("test_name2");
- Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(
1
);
+ Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
@@
-55,7
+55,7
@@
void test_HYDROData_Iterator::testAllKinds()
{
static const QString aName1("test_name1");
static const QString aName2("test_name2");
{
static const QString aName1("test_name1");
static const QString aName2("test_name2");
- Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(
1
);
+ Handle(HYDROData_Document) aDoc = HYDROData_Document::Document();
Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
Handle(HYDROData_Entity) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);