Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 11, 2013, 2:38:03 PM (11 years ago)
Author:
landauf
Message:

added Factory for classes that don't require a Context as constructor argument

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/core6/test/core/object/ClassFactoryTest.cc

    r9632 r9635  
    77    TEST(ClassFactoryTest, CanFabricateObject)
    88    {
    9         Factory* factory = new ClassFactory<BaseObject>("BaseObject");
     9        Factory* factory = new ClassFactoryWithContext<BaseObject>("BaseObject");
    1010        Identifiable* object = factory->fabricate(NULL);
    1111        ASSERT_TRUE(object != NULL);
Note: See TracChangeset for help on using the changeset viewer.