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_AttributeReal.cxx
diff --git
a/src/SALOMEDS/Test/SALOMEDSTest_AttributeReal.cxx
b/src/SALOMEDS/Test/SALOMEDSTest_AttributeReal.cxx
index 332dd4fec4a529c4210dbe0214e786e9311cc133..8061ced5c99f0873e23402e6c98294e1d8befb50 100755
(executable)
--- a/
src/SALOMEDS/Test/SALOMEDSTest_AttributeReal.cxx
+++ b/
src/SALOMEDS/Test/SALOMEDSTest_AttributeReal.cxx
@@
-1,4
+1,4
@@
-// Copyright (C) 2007-201
5
CEA/DEN, EDF R&D, OPEN CASCADE
+// Copyright (C) 2007-201
6
CEA/DEN, EDF R&D, OPEN CASCADE
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
//
// Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
// CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-26,13
+26,8
@@
*/
void SALOMEDSTest::testAttributeReal()
{
*/
void SALOMEDSTest::testAttributeReal()
{
- //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);
@@
-60,7
+55,7
@@
void SALOMEDSTest::testAttributeReal()
//Check method Value
CPPUNIT_ASSERT(_attr->Value() == value);
//Check method Value
CPPUNIT_ASSERT(_attr->Value() == value);
- s
m->Close(study
);
+ s
tudy->Clear(
);
}
}