Changeset 9637 for code/branches/core6/test
- Timestamp:
- Aug 11, 2013, 4:23:41 PM (11 years ago)
- Location:
- code/branches/core6/test/core
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core6/test/core/class/IdentifierExternalClassHierarchyTest.cc
- Property svn:eol-style set to native
r9636 r9637 22 22 virtual void SetUp() 23 23 { 24 new ClassFactory<Interface>("Interface");25 new ClassFactory<BaseClass>("BaseClass");26 new ClassFactory<RealClass>("RealClass");24 registerClass("Interface", new ClassFactoryNoArgs<Interface>()); 25 registerClass("BaseClass", new ClassFactoryNoArgs<BaseClass>()); 26 registerClass("RealClass", new ClassFactoryNoArgs<RealClass>()); 27 27 IdentifierManager::createClassHierarchy(); 28 28 } -
code/branches/core6/test/core/class/IdentifierSimpleClassHierarchyTest.cc
- Property svn:eol-style set to native
r9636 r9637 24 24 virtual void SetUp() 25 25 { 26 new ClassFactory<Interface>("Interface");27 new ClassFactory<BaseClass>("BaseClass");28 new ClassFactory<RealClass>("RealClass");26 registerClass("Interface", new ClassFactoryNoArgs<Interface>()); 27 registerClass("BaseClass", new ClassFactoryNoArgs<BaseClass>()); 28 registerClass("RealClass", new ClassFactoryNoArgs<RealClass>()); 29 29 IdentifierManager::createClassHierarchy(); 30 30 } -
code/branches/core6/test/core/object/ClassFactoryTest.cc
r9635 r9637 7 7 TEST(ClassFactoryTest, CanFabricateObject) 8 8 { 9 Factory* factory = new ClassFactoryWithContext<BaseObject>( "BaseObject");9 Factory* factory = new ClassFactoryWithContext<BaseObject>(); 10 10 Identifiable* object = factory->fabricate(NULL); 11 11 ASSERT_TRUE(object != NULL);
Note: See TracChangeset
for help on using the changeset viewer.