Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 11, 2013, 4:23:41 PM (11 years ago)
Author:
landauf
Message:

removed constructor arguments from ClassFactories. use the helper-function registerClass() to add the factory to the corresponding identifier

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/test/core/class/IdentifierExternalClassHierarchyTest.cc

    • Property svn:eol-style set to native
    r9636 r9637  
    2222                virtual void SetUp()
    2323                {
    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>());
    2727                    IdentifierManager::createClassHierarchy();
    2828                }
Note: See TracChangeset for help on using the changeset viewer.