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
0023299: [CEA] Finalize multi-study removal
[modules/kernel.git]
/
src
/
SALOMEDS
/
Test
/
SALOMEDSTest_AttributeTextColor.cxx
diff --git
a/src/SALOMEDS/Test/SALOMEDSTest_AttributeTextColor.cxx
b/src/SALOMEDS/Test/SALOMEDSTest_AttributeTextColor.cxx
index 3886947fcc3068666f5f7d7c1d532033a120c6a6..a86a6d011190bc759b87fb654d916ea5971d0445 100755
(executable)
--- a/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTextColor.cxx
+++ b/
src/SALOMEDS/Test/SALOMEDSTest_AttributeTextColor.cxx
@@
-26,13
+26,8
@@
*/
void SALOMEDSTest::testAttributeTextColor()
{
*/
void SALOMEDSTest::testAttributeTextColor()
{
- //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);
@@
-69,7
+64,7
@@
void SALOMEDSTest::testAttributeTextColor()
CPPUNIT_ASSERT(color.B == color2.B);
CPPUNIT_ASSERT(color.B == color2.B);
- s
m->Close(study);
+ s
tudy->Clear();
}
}