1 #ifndef __YAFFUT_PARAMETERS_H__
2 #define __YAFFUT_PARAMETERS_H__
7 template <typename Suite, typename ParameterOne, typename Case>
8 struct TestOne: public ITest, public Suite
10 ParameterOne const parameter_one_;
11 //static Registrator<Suite, Case> s_Registrator;
12 TestOne(ParameterOne p)
16 Registrator<Suite, Case>* r = &Test<Suite, Case>::s_Registrator;
21 #define TEST_STRING(Suite, Case, String)\
23 struct Case: public yaffut::TestOne<Suite, std::string, Case>{ Case(); }; \
25 template struct yaffut::TestOne<Suite, std::string, Case>; Case::Case() \
26 : yaffut::TestOne<Suite, std::string, Case> (String)
30 #endif // __YAFFUT_PARAMETERS_H__