hayai_default_test_factory.hpp
Go to the documentation of this file.
00001 #ifndef __HAYAI_DEFAULTTESTFACTORY
00002 #define __HAYAI_DEFAULTTESTFACTORY
00003 #include "hayai/hayai_test_factory.hpp"
00004 
00005 namespace hayai
00006 {
00008 
00013     template<class T>
00014     class TestFactoryDefault
00015         :   public TestFactory
00016     {
00017     public:
00019 
00021         virtual Test* CreateTest()
00022         {
00023             return new T();
00024         }
00025     };
00026 }
00027 #endif


hayai
Author(s): Nick Bruun
autogenerated on Thu Jun 6 2019 18:13:43