/[freeride]/freeride/test/utest_databus.rb
ViewVC logotype

Diff of /freeride/test/utest_databus.rb

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.5 by richkilmer, Wed Feb 6 03:34:24 2002 UTC revision 1.6 by ljulliar, Fri Jul 5 12:47:30 2002 UTC
# Line 45  class Test_DataBus < TestCase Line 45  class Test_DataBus < TestCase
45      assert_equal("test", bus["/foo/bar"].data, "Value was not set correctly")      assert_equal("test", bus["/foo/bar"].data, "Value was not set correctly")
46      assert(!slotNotified, "Slot unsubscribed but was notified anyway")      assert(!slotNotified, "Slot unsubscribed but was notified anyway")
47      assert(parentNotified, "Parent is still subscribed but was not notified")      assert(parentNotified, "Parent is still subscribed but was not notified")
48      bus["/foo/bar"].propogate_notifications=false      bus["/foo/bar"].propagate_notifications=false
49      parentNotified = false      parentNotified = false
50      bus["/foo/bar"].data = "test"      bus["/foo/bar"].data = "test"
51      assert_equal("test", bus["/foo/bar"].data, "Value was not set correctly")      assert_equal("test", bus["/foo/bar"].data, "Value was not set correctly")
52      assert(!parentNotified, "Propogation of notifications was suspended but was notifed anyway")      assert(!parentNotified, "Propagation of notifications was suspended but was notifed anyway")
53      #TODO:  nofications for other types of slots and slot creation events      #TODO:  nofications for other types of slots and slot creation events
54    end    end
55    

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26