Changeset 40f2e6 for src/Patterns/Observer/unittests/stubs/ObserverStub.cpp
- Timestamp:
- Dec 13, 2011, 9:46:12 AM (14 years ago)
- Children:
- 2c11c1
- Parents:
- 75d156
- git-author:
- Frederik Heber <heber@…> (12/02/11 10:05:36)
- git-committer:
- Frederik Heber <heber@…> (12/13/11 09:46:12)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/Patterns/Observer/unittests/stubs/ObserverStub.cpp
r75d156 r40f2e6 170 170 void NotificationObserver::subjectKilled(Observable*){} 171 171 void NotificationObserver::recieveNotification(Observable *publisher, Notification_ptr notification){ 172 ASSERT(requestedNotification==notification,"Notification received that was not requested");172 CPPUNIT_ASSERT(requestedNotification==notification); 173 173 wasNotified = true; 174 174 }
Note:
See TracChangeset
for help on using the changeset viewer.
