$ bin/unit-tests --gtest_filter=ProtobufCommunicator.double_disconnection_attempt_has_no_effect
Note: Google Test filter = ProtobufCommunicator.double_disconnection_attempt_has_no_effect
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ProtobufCommunicator
[ RUN ] ProtobufCommunicator.double_disconnection_attempt_has_no_effect
/home/alan/display_server/trunk-mir/tests/unit-tests/frontend/test_protobuf_communicator.cpp:213: Failure
Mock function called more times than expected - taking default action specified at:
/home/alan/display_server/mir5/tests/mir_test_doubles/test_protobuf_client.cpp:55:
Function call: disconnect_done()
Expected: to be never called
Actual: called once - over-saturated and active
[ FAILED ] ProtobufCommunicator.double_disconnection_attempt_has_no_effect (3 ms)
[----------] 1 test from ProtobufCommunicator (3 ms total)
[----------] Global test environment tear-down
[==========] 1 test from 1 test case ran. (4 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] ProtobufCommunicator.double_disconnection_attempt_has_no_effect
I'm seeing a test failure with this branch:
$ bin/unit-tests --gtest_ filter= ProtobufCommuni cator.double_ disconnection_ attempt_ has_no_ effect cator.double_ disconnection_ attempt_ has_no_ effect cator cator.double_ disconnection_ attempt_ has_no_ effect display_ server/ trunk-mir/ tests/unit- tests/frontend/ test_protobuf_ communicator. cpp:213: Failure display_ server/ mir5/tests/ mir_test_ doubles/ test_protobuf_ client. cpp:55: cator.double_ disconnection_ attempt_ has_no_ effect (3 ms) cator (3 ms total)
Note: Google Test filter = ProtobufCommuni
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from ProtobufCommuni
[ RUN ] ProtobufCommuni
/home/alan/
Mock function called more times than expected - taking default action specified at:
/home/alan/
Function call: disconnect_done()
Expected: to be never called
Actual: called once - over-saturated and active
[ FAILED ] ProtobufCommuni
[----------] 1 test from ProtobufCommuni
[----------] Global test environment tear-down cator.double_ disconnection_ attempt_ has_no_ effect
[==========] 1 test from 1 test case ran. (4 ms total)
[ PASSED ] 0 tests.
[ FAILED ] 1 test, listed below:
[ FAILED ] ProtobufCommuni
1 FAILED TEST