C++ main module for emicrom Package  1.0
CORE_IOTest.h
Go to the documentation of this file.
1 #ifndef CORE_IOTest_H
2 #define CORE_IOTest_H
3 
4 #include "CORE_Object.h"
5 
6 class CORE_IORun;
7 
18 class CORE_IOTest : public virtual CORE_Object {
19 
21  // ATTRIBUTES
22 
23 private:
24 
25 
26 
27 
28 protected:
29  // METHODS
30 
31  // CONSTRUCTORS
32 
35  CORE_IOTest(void);
36 
37 
38 
39  // DESTRUCTORS
40 
41 
44  virtual ~CORE_IOTest(void);
45 
46 
47 
48 public:
51  inline static SP::CORE_IOTest New() {
52  SP::CORE_IOTest p(new CORE_IOTest(),CORE_IOTest::Delete());
53  p->setThis(p);
54  return p;
55  };
56 
57 
58 
61  tBoolean test(const CORE_IORun& runner,const map<tString,tString>& options);
62 private:
63 
64 
69  tString searchPath(const tString& f) const;
70 
71 
72  tBoolean testListFiles() const;
73  tBoolean testIO() const;
74  tBoolean testCommandLine() const;
77  tBoolean searchTest(const CORE_IORun& runner,
78  const map<tString,tString>& option) const;
79 };
80 
81 #endif
tBoolean searchTest(const CORE_IORun &runner, const map< tString, tString > &option) const
test io
Definition: CORE_IOTest.cpp:53
SP_OBJECT(CORE_IOTest)
tBoolean test(const CORE_IORun &runner, const map< tString, tString > &options)
make the test
Definition: CORE_IOTest.cpp:14
CORE_IOTest(void)
create
Definition: CORE_IOTest.cpp:8
tString searchPath(const tString &f) const
search the file in path
Definition: CORE_IOTest.cpp:64
#define tBoolean
Definition: types.h:139
This class is a Run class for Common/IO package.
Definition: CORE_IORun.h:34
tBoolean testListFiles() const
Definition: CORE_IOTest.cpp:81
static SP::CORE_IOTest New()
create a test class
Definition: CORE_IOTest.h:51
tBoolean testCommandLine() const
Definition: CORE_IOTest.cpp:236
DEFINE_SPTR(CORE_IOTest)
tBoolean testIO() const
Definition: CORE_IOTest.cpp:93
virtual ~CORE_IOTest(void)
destroy
Definition: CORE_IOTest.cpp:11
abstract base class for most classes.
Definition: CORE_Object.h:53
#define tString
Definition: types.h:135
This class is a test class for common/io package.
Definition: CORE_IOTest.h:18
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:141