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_AttributeTableOfString.cxx
diff --git
a/src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfString.cxx
b/src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfString.cxx
index 172323cbca3c1a18b19d9c69227dfd51ab797d9a..5a3baea4f1caf904f9d8bbd38b40f90dd6ab5018 100755
(executable)
--- a/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfString.cxx
+++ b/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTableOfString.cxx
@@
-26,13
+26,8
@@
*/
void SALOMEDSTest::testAttributeTableOfString()
{
*/
void SALOMEDSTest::testAttributeTableOfString()
{
- //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);
@@
-185,7
+180,7
@@
void SALOMEDSTest::testAttributeTableOfString()
CPPUNIT_ASSERT(data2.size() == 3 && data2[0] == "11" && data2[1] == "-22" && data2[2] == "-33");
CPPUNIT_ASSERT(data2.size() == 3 && data2[0] == "11" && data2[1] == "-22" && data2[2] == "-33");
- s
m->Close(study
);
+ s
tudy->Clear(
);
}
}