1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374 |
- #ifndef _TEST_BASE_H_
- #define _TEST_BASE_H_
- #include <string>
- #include <vector>
- #define DFLT_NAT_MEM_TYPE "HYBRID"
- using namespace std;
- class TestBase
- {
- public:
- virtual bool Setup();
-
- virtual bool Run() = 0;
-
- virtual bool Teardown();
-
- void Register(TestBase & test);
- virtual ~TestBase();
- TestBase();
- void SetMemType(
- const char* mem_type = DFLT_NAT_MEM_TYPE)
- {
- m_mem_type = mem_type;
- }
- const char* m_mem_type;
- string m_name;
- string m_description;
- vector < string > m_testSuiteName;
-
- bool m_runInRegression;
-
- int m_minIPAHwType;
-
- int m_maxIPAHwType;
-
- };
- #endif
|