DescriptionMake SignalSenderVerificationTest more robust
Add more assertions and a callback to check the result of RequestOwnership.
Original test can hang when test_service2_ tries to acquire the ownership before D-Bus recognizes test_service_'s disconnection.
In that situation, test_service2_ cannot own the name and cannot send a message.
BUG=158689
TEST=unittests
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=167649
Patch Set 1 #
Total comments: 16
Patch Set 2 : address comments #Patch Set 3 : update header commnets #
Total comments: 10
Patch Set 4 : address comments #
Total comments: 12
Patch Set 5 : cleanup and more checks for callback calls. #Patch Set 6 : fix comments #
Total comments: 2
Patch Set 7 : fix uninitialized members #
Messages
Total messages: 13 (0 generated)
|