C++ main module for emicrom Package  1.0
EMM_ElementaryTest.h
Go to the documentation of this file.
1 #ifndef EMM_ElementaryTest_H
2 #define EMM_ElementaryTest_H
3 
4 #include "EMM_Test.h"
5 
6 
16 class EMM_ElementaryTest : public EMM_Test {
17 
19  // ATTRIBUTES
20 
21 
22 public:
23 
24 
25 protected:
26  // METHODS
27 
28  // CONSTRUCTORS
29 
32  EMM_ElementaryTest(void);
33 
34 
35 
36  // DESTRUCTORS
37 
38 
41  virtual ~EMM_ElementaryTest(void);
42 
43 
44 
45 public:
48  inline static SP::EMM_ElementaryTest New() {
49  SP::EMM_ElementaryTest p(new EMM_ElementaryTest(),EMM_ElementaryTest::Delete());
50  p->setThis(p);
51  return p;
52  };
53 
54 
55 
56 
57 
61  virtual tBoolean test(const CORE_Run& runner,const map<tString,tString>& options) const;
62 
63 
64 private:
65 
66 
70  tBoolean optionsTest(const CORE_Run& runner) const;
74  tBoolean defaultBackupTest(const CORE_Run& runner) const;
80  tBoolean magnetostrictionBackupTest(const CORE_Run& runner,const tBoolean& isRestoring) const;
81 
85  tBoolean defaultTest(const CORE_Run& runner) const;
86 };
87 
88 #endif
This class is a Run class for Common package.
Definition: CORE_Run.h:38
virtual ~EMM_ElementaryTest(void)
destroy
Definition: EMM_ElementaryTest.cpp:12
virtual tBoolean test(const CORE_Run &runner, const map< tString, tString > &options) const
make the test
Definition: EMM_ElementaryTest.cpp:16
#define tBoolean
Definition: types.h:139
static SP::EMM_ElementaryTest New()
create a test class
Definition: EMM_ElementaryTest.h:48
This class is a test class for E-MicromM package.
Definition: EMM_Test.h:25
SP_OBJECT(EMM_ElementaryTest)
tBoolean magnetostrictionBackupTest(const CORE_Run &runner, const tBoolean &isRestoring) const
make a backup & restore for the magnetostriction problem
Definition: EMM_ElementaryTest.cpp:322
EMM_ElementaryTest(void)
create
Definition: EMM_ElementaryTest.cpp:9
tBoolean defaultTest(const CORE_Run &runner) const
make a default runner process step by step
Definition: EMM_ElementaryTest.cpp:505
DEFINE_SPTR(EMM_ElementaryTest)
tBoolean optionsTest(const CORE_Run &runner) const
make the test of options
Definition: EMM_ElementaryTest.cpp:75
tBoolean defaultBackupTest(const CORE_Run &runner) const
make a backup & restore for the default problem
Definition: EMM_ElementaryTest.cpp:137
This class is a test class for testing trivial cases.
Definition: EMM_ElementaryTest.h:16
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141