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
Import of profiles corrected.
[modules/hydro.git]
/
src
/
HYDROData
/
test_HYDROData_Iterator.cxx
diff --git
a/src/HYDROData/test_HYDROData_Iterator.cxx
b/src/HYDROData/test_HYDROData_Iterator.cxx
index 02a0b4a99f911346525a478f4dda5c2d6151a730..3cd96f0a45ffbb07e6e2b53e408fa2e4e62384b3 100644
(file)
--- a/
src/HYDROData/test_HYDROData_Iterator.cxx
+++ b/
src/HYDROData/test_HYDROData_Iterator.cxx
@@
-11,9
+11,9
@@
void test_HYDROData_Iterator::testOneKind()
static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
- Handle(HYDROData_
Object
) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
+ Handle(HYDROData_
Entity
) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
anObj->SetName(aName1);
- // first HYDROData_
Object
must be destroyed because there is no hander pointer naymore
+ // first HYDROData_
Entity
must be destroyed because there is no hander pointer naymore
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);
@@
-39,9
+39,9
@@
void test_HYDROData_Iterator::testAllKinds()
static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
static const QString aName2("test_name2");
Handle(HYDROData_Document) aDoc = HYDROData_Document::Document(1);
- Handle(HYDROData_
Object
) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
+ Handle(HYDROData_
Entity
) anObj = aDoc->CreateObject(KIND_IMAGE); // image object
anObj->SetName(aName1);
anObj->SetName(aName1);
- // first HYDROData_
Object
must be destroyed because there is no hander pointer naymore
+ // first HYDROData_
Entity
must be destroyed because there is no hander pointer naymore
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);
anObj = aDoc->CreateObject(KIND_IMAGE); // second image object
anObj->SetName(aName2);