Salome HOME
projects
/
modules
/
kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Deleted Study as an input parameter and class field.
[modules/kernel.git]
/
src
/
SALOMEDS
/
Test
/
SALOMEDSTest_ChildIterator.cxx
diff --git
a/src/SALOMEDS/Test/SALOMEDSTest_ChildIterator.cxx
b/src/SALOMEDS/Test/SALOMEDSTest_ChildIterator.cxx
index d4c2bdf5d0b655d1ab9fd1e30d39b147c75c9992..55d9a224f760052862308b086c2274d89deadbaa 100755
(executable)
--- a/
src/SALOMEDS/Test/SALOMEDSTest_ChildIterator.cxx
+++ b/
src/SALOMEDS/Test/SALOMEDSTest_ChildIterator.cxx
@@
-26,13
+26,8
@@
*/
void SALOMEDSTest::testChildIterator()
{
*/
void SALOMEDSTest::testChildIterator()
{
- //Create or find the Study manager
- _PTR(StudyManager) sm ( new SALOMEDS_StudyManager(_sm) );
-
- CPPUNIT_ASSERT(sm);
-
- //Create a new study
- _PTR(Study) study = sm->NewStudy("Test");
+ //Create Study
+ _PTR(Study) study(new SALOMEDS_Study(_study));
CPPUNIT_ASSERT(study);
CPPUNIT_ASSERT(study);
@@
-74,7
+69,7
@@
void SALOMEDSTest::testChildIterator()
//Check that there are two SObject under so
CPPUNIT_ASSERT(count == 2);
//Check that there are two SObject under so
CPPUNIT_ASSERT(count == 2);
- s
m->Close(study
);
+ s
tudy->Clear(
);
}
}