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 |
|
|