X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSALOMEDS%2FTest%2FSALOMEDSTest_AttributeFlags.cxx;h=cb20fb1dcd6f6cd0cf757ccb4e1bf25c57746541;hb=f2d7bee74f47cd695b4c4b9b0921424837140d0c;hp=7f05338545ae40469d596e4f405e81e431e8a983;hpb=718e0abe0126e5e53b3ba41fff1028efcf5bc887;p=modules%2Fkernel.git diff --git a/src/SALOMEDS/Test/SALOMEDSTest_AttributeFlags.cxx b/src/SALOMEDS/Test/SALOMEDSTest_AttributeFlags.cxx index 7f0533854..cb20fb1dc 100755 --- a/src/SALOMEDS/Test/SALOMEDSTest_AttributeFlags.cxx +++ b/src/SALOMEDS/Test/SALOMEDSTest_AttributeFlags.cxx @@ -26,13 +26,8 @@ */ void SALOMEDSTest::testAttributeFlags() { - //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); @@ -71,7 +66,7 @@ void SALOMEDSTest::testAttributeFlags() CPPUNIT_ASSERT(!_attr->Get(4)); - sm->Close(study); + study->Clear(); }