Changeset 8d24e2 for molecuilder/src/unittests/ActionSequenceTest.hpp
- Timestamp:
- Dec 29, 2009, 11:47:57 AM (16 years ago)
- Children:
- fab853
- Parents:
- 93df03f
- File:
-
- 1 edited
-
molecuilder/src/unittests/ActionSequenceTest.hpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
molecuilder/src/unittests/ActionSequenceTest.hpp
r93df03f r8d24e2 11 11 #include <cppunit/extensions/HelperMacros.h> 12 12 13 class Action; 14 class wasCalledActionStub; 15 13 16 class ActionSequenceTest : public CppUnit::TestFixture 14 17 { 15 18 CPPUNIT_TEST_SUITE( ActionSequenceTest) ; 16 19 CPPUNIT_TEST ( canUndoTest ); 20 CPPUNIT_TEST ( doesCallTest ); 21 CPPUNIT_TEST ( doesUndoTest ); 17 22 CPPUNIT_TEST_SUITE_END(); 18 23 … … 22 27 23 28 void canUndoTest(); 29 void doesCallTest(); 30 void doesUndoTest(); 31 32 private: 33 Action *positive1; 34 Action *positive2; 35 Action *negative1; 36 Action *negative2; 37 wasCalledActionStub* shouldCall1; 38 wasCalledActionStub* shouldCall2; 39 wasCalledActionStub* shouldNotCall1; 40 wasCalledActionStub* shouldNotCall2; 24 41 }; 25 42
Note:
See TracChangeset
for help on using the changeset viewer.
