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_AttributeTableOfReal.cxx
diff --git
a/src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfReal.cxx
b/src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfReal.cxx
index 5a20a4aa1853e537d12c45c942d1992a1f6a111b..6c9905d4794ea8e69de33706d021d96180873ebb 100755
(executable)
--- a/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfReal.cxx
+++ b/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfReal.cxx
@@
-26,13
+26,8
@@
*/
void SALOMEDSTest::testAttributeTableOfReal()
{
*/
void SALOMEDSTest::testAttributeTableOfReal()
{
- //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);
@@
-184,7
+179,7
@@
void SALOMEDSTest::testAttributeTableOfReal()
CPPUNIT_ASSERT(data2.size() == 3 && data2[0] == 11.11 && data2[1] == -22.22 && data2[2] == -33.33);
CPPUNIT_ASSERT(data2.size() == 3 && data2[0] == 11.11 && data2[1] == -22.22 && data2[2] == -33.33);
- s
m->Close(study
);
+ s
tudy->Clear(
);
}
}