Ignore:
Timestamp:
Dec 13, 2011, 9:46:12 AM (14 years ago)
Author:
Frederik Heber <heber@…>
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)
Message:

Observable::signOn() now just needs channelno (enum) and not Notification_ptr.

  • this makes life a bit easier and allows for relaying notifications.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Patterns/Observer/unittests/stubs/ObserverStub.cpp

    r75d156 r40f2e6  
    170170void NotificationObserver::subjectKilled(Observable*){}
    171171void NotificationObserver::recieveNotification(Observable *publisher, Notification_ptr notification){
    172   ASSERT(requestedNotification==notification,"Notification received that was not requested");
     172  CPPUNIT_ASSERT(requestedNotification==notification);
    173173  wasNotified = true;
    174174}
Note: See TracChangeset for help on using the changeset viewer.