Changeset 10360 for code/branches/core7/test/core/class
- Timestamp:
- Apr 12, 2015, 9:41:22 PM (10 years ago)
- Location:
- code/branches/core7/test/core/class
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/test/core/class/IdentifierClassHierarchyTest.cc
r9659 r10360 135 135 registerClass("OrxonoxInterface", new ClassFactoryNoArgs<OrxonoxInterface>()); 136 136 registerClass("OrxonoxClass", new ClassFactoryNoArgs<OrxonoxClass>()); 137 registerClass("BaseInterface1", static_cast<ClassFactory<BaseInterface1>*>(NULL), false) .inheritsFrom(Class(OrxonoxInterface));138 registerClass("BaseInterface2", static_cast<ClassFactory<BaseInterface2>*>(NULL), false) .inheritsFrom(Class(OrxonoxInterface));139 registerClass("Interface1", static_cast<ClassFactory<Interface1>*>(NULL), false) .inheritsFrom(Class(BaseInterface1));140 registerClass("Interface2", static_cast<ClassFactory<Interface2>*>(NULL), false) .inheritsFrom(Class(BaseInterface2));137 registerClass("BaseInterface1", static_cast<ClassFactory<BaseInterface1>*>(NULL), false)->inheritsFrom(Class(OrxonoxInterface)); 138 registerClass("BaseInterface2", static_cast<ClassFactory<BaseInterface2>*>(NULL), false)->inheritsFrom(Class(OrxonoxInterface)); 139 registerClass("Interface1", static_cast<ClassFactory<Interface1>*>(NULL), false)->inheritsFrom(Class(BaseInterface1)); 140 registerClass("Interface2", static_cast<ClassFactory<Interface2>*>(NULL), false)->inheritsFrom(Class(BaseInterface2)); 141 141 registerClass("BaseClass", new ClassFactoryNoArgs<BaseClass>()); 142 142 registerClass("Class0", new ClassFactoryNoArgs<Class0>()); -
code/branches/core7/test/core/class/IdentifierExternalClassHierarchyTest.cc
r9659 r10360 46 46 registerClass("Context", new ClassFactoryWithContext<Context>()); 47 47 registerClass("Listable", new ClassFactoryWithContext<Listable>()); 48 registerClass("Interface", static_cast<ClassFactory<Interface>*>(NULL), false) .inheritsFrom(Class(Identifiable));48 registerClass("Interface", static_cast<ClassFactory<Interface>*>(NULL), false)->inheritsFrom(Class(Identifiable)); 49 49 registerClass("BaseClass", new ClassFactoryNoArgs<BaseClass>()); 50 50 registerClass("RealClass", new ClassFactoryNoArgs<RealClass>()); -
code/branches/core7/test/core/class/IdentifierSimpleClassHierarchyTest.cc
r9659 r10360 51 51 registerClass("OrxonoxInterface", new ClassFactoryNoArgs<OrxonoxInterface>()); 52 52 registerClass("OrxonoxClass", new ClassFactoryNoArgs<OrxonoxClass>()); 53 registerClass("Interface", static_cast<ClassFactory<Interface>*>(NULL), false) .inheritsFrom(Class(OrxonoxInterface));53 registerClass("Interface", static_cast<ClassFactory<Interface>*>(NULL), false)->inheritsFrom(Class(OrxonoxInterface)); 54 54 registerClass("BaseClass", new ClassFactoryNoArgs<BaseClass>()); 55 55 registerClass("RealClass", new ClassFactoryNoArgs<RealClass>());
Note: See TracChangeset
for help on using the changeset viewer.