C++ main module for emicrom Package  1.0
CORE_Test.h
Go to the documentation of this file.
1 #ifndef CORE_Test_H
2 #define CORE_Test_H
3 
4 #include "CORE_Object.h"
5 
6 #include "CORE_Run.h"
7 
18 class CORE_Test : public virtual CORE_Object {
19 
21  // ATTRIBUTES
22 
23 private:
24 
25 
26 
27 
28 protected:
29  // METHODS
30 
31  // CONSTRUCTORS
32 
35  CORE_Test(void);
36 
37 
38 
39  // DESTRUCTORS
40 
41 
44  virtual ~CORE_Test(void);
45 
46 
47 
48 public:
51  inline static SP::CORE_Test New() {
52  SP::CORE_Test p(new CORE_Test(),CORE_Test::Delete());
53  p->setThis(p);
54  return p;
55  };
56 
57 
58 
63  virtual tBoolean test(const CORE_Run& runner,
64  const map<tString,tString>& options) const;
65 
70  virtual tBoolean performanceTest(const CORE_Run& runner,
71  const map<tString,tString>& options) const;
72 
73 public:
76  tBoolean testType() const;
77 private:
78 
81  tBoolean testString() const;
84  tBoolean testInt() const;
87  tBoolean testReal() const;
90  tBoolean testComplex() const;
93  tBoolean testTime() const;
96  tBoolean testDateWeek() const;
97 
100  tBoolean testVector() const;
101 
104  tBoolean testArray() const;
105 
108  tBoolean testArray2D() const;
109 
112  tBoolean testCoreMatrix() const;
115  tBoolean testFile() const;
118  tBoolean testOut() const;
121  tBoolean readVectorTest() const;
122 
123 
124 
125 
126 };
127 
128 #endif
tBoolean testArray() const
test array 1D
Definition: CORE_Test.cpp:622
tBoolean testVector() const
test vector
Definition: CORE_Test.cpp:799
This class is a Run class for Common package.
Definition: CORE_Run.h:38
virtual ~CORE_Test(void)
destroy
Definition: CORE_Test.cpp:20
tBoolean testOut() const
test output
Definition: CORE_Test.cpp:980
virtual tBoolean performanceTest(const CORE_Run &runner, const map< tString, tString > &options) const
analyse the performance
Definition: CORE_Test.cpp:117
tBoolean testFile() const
test CORE_File
Definition: CORE_Test.cpp:945
tBoolean testDateWeek() const
week date test
Definition: CORE_Test.cpp:531
#define tBoolean
Definition: types.h:139
tBoolean testComplex() const
complex test
Definition: CORE_Test.cpp:430
tBoolean readVectorTest() const
test to read a vector
Definition: CORE_Test.cpp:993
tBoolean testCoreMatrix() const
test core matrix
CORE_Test(void)
create
Definition: CORE_Test.cpp:17
DEFINE_SPTR(CORE_Test)
abstract base class for most classes.
Definition: CORE_Object.h:53
tBoolean testArray2D() const
test array 2D
Definition: CORE_Test.cpp:573
This class is a test class for common package.
Definition: CORE_Test.h:18
SP_OBJECT(CORE_Test)
tBoolean testTime() const
time test
Definition: CORE_Test.cpp:441
static SP::CORE_Test New()
create a test class
Definition: CORE_Test.h:51
virtual tBoolean test(const CORE_Run &runner, const map< tString, tString > &options) const
make the test
Definition: CORE_Test.cpp:23
tBoolean testType() const
test type
Definition: CORE_Test.cpp:123
tBoolean testString() const
string test
Definition: CORE_Test.cpp:328
tBoolean testReal() const
real test
Definition: CORE_Test.cpp:416
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141
tBoolean testInt() const
int test
Definition: CORE_Test.cpp:509