Ignore:
Timestamp:
Jan 6, 2011, 11:47:13 PM (15 years ago)
Author:
Frederik Heber <heber@…>
Children:
8dd38e
Parents:
567640
Message:

FIX: some unittests declared variables anew although defined in header, NULL'd in setup, deleted in tearDown().

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/unittests/CreatorUnitTest.hpp

    r567640 r9f39db  
    1414#endif
    1515
     16#include <cppunit/extensions/HelperMacros.h>
    1617
    17 #include <cppunit/extensions/HelperMacros.h>
     18#include "stubs/CreatorStub.hpp"
     19#include "stubs/CommonStub.hpp"
    1820
    1921class CreatorTest : public CppUnit::TestFixture
     
    3234
    3335private:
     36  class CreatorStub<teststubs::Aclass> teststubA;
     37  class CreatorStub<teststubs::Bclass> teststubB;
     38  ICreatorStub* testingA1;
     39  ICreatorStub* testingA2;
     40  ICreatorStub* testingB1;
     41  ICreatorStub* testingB2;
    3442};
    3543
Note: See TracChangeset for help on using the changeset viewer.