$ bin/mir_unit_tests --gtest_filter=MirProtobufRpcChannelTest.*
Running main() from command_line_server_configuration.cpp
Note: Google Test filter = MirProtobufRpcChannelTest.*
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from MirProtobufRpcChannelTest
[ RUN ] MirProtobufRpcChannelTest.ReadsFullMessages
[ OK ] MirProtobufRpcChannelTest.ReadsFullMessages (0 ms)
[ RUN ] MirProtobufRpcChannelTest.ReadsAllQueuedMessages
[ OK ] MirProtobufRpcChannelTest.ReadsAllQueuedMessages (0 ms)
[ RUN ] MirProtobufRpcChannelTest.SendsMessagesAtomically
[ OK ] MirProtobufRpcChannelTest.SendsMessagesAtomically (1 ms)
[ RUN ] MirProtobufRpcChannelTest.SetsCorrectSizeWhenSendingMessage
[ OK ] MirProtobufRpcChannelTest.SetsCorrectSizeWhenSendingMessage (0 ms)
[ RUN ] MirProtobufRpcChannelTest.ReadsFds
[ OK ] MirProtobufRpcChannelTest.ReadsFds (1 ms)
[ RUN ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnWriteError
/home/alan/display_server/mir4/tests/unit-tests/client/test_protobuf_rpc_channel.cpp:321: Failure
Expected: channel_user.exchange_buffer(nullptr, &request, &reply, google::protobuf::NewCallback([](){})) throws an exception of type std::runtime_error.
Actual: it throws nothing.
[ FAILED ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnWriteError (0 ms)
[ RUN ] MirProtobufRpcChannelTest.ForwardsDisconnectNotification
[ OK ] MirProtobufRpcChannelTest.ForwardsDisconnectNotification (0 ms)
[ RUN ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnlyOnce
/home/alan/display_server/mir4/tests/unit-tests/client/test_protobuf_rpc_channel.cpp:382: Failure
Expected: channel_user.exchange_buffer(nullptr, &request, &reply, google::protobuf::NewCallback([](){})) throws an exception of type std::runtime_error.
Actual: it throws nothing.
[ FAILED ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnlyOnce (1 ms)
[----------] 8 tests from MirProtobufRpcChannelTest (3 ms total)
[----------] Global test environment tear-down
[==========] 8 tests from 1 test case ran. (4 ms total)
[ PASSED ] 6 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnWriteError
[ FAILED ] MirProtobufRpcChannelTest.NotifiesOfDisconnectOnlyOnce
$ bin/mir_unit_tests --gtest_ filter= MirProtobufRpcC hannelTest. * line_server_ configuration. cpp hannelTest. * hannelTest hannelTest. ReadsFullMessag es hannelTest. ReadsFullMessag es (0 ms) hannelTest. ReadsAllQueuedM essages hannelTest. ReadsAllQueuedM essages (0 ms) hannelTest. SendsMessagesAt omically hannelTest. SendsMessagesAt omically (1 ms) hannelTest. SetsCorrectSize WhenSendingMess age hannelTest. SetsCorrectSize WhenSendingMess age (0 ms) hannelTest. ReadsFds hannelTest. ReadsFds (1 ms) hannelTest. NotifiesOfDisco nnectOnWriteErr or display_ server/ mir4/tests/ unit-tests/ client/ test_protobuf_ rpc_channel. cpp:321: Failure user.exchange_ buffer( nullptr, &request, &reply, google: :protobuf: :NewCallback( [](){}) ) throws an exception of type std::runtime_error. hannelTest. NotifiesOfDisco nnectOnWriteErr or (0 ms) hannelTest. ForwardsDisconn ectNotification hannelTest. ForwardsDisconn ectNotification (0 ms) hannelTest. NotifiesOfDisco nnectOnlyOnce display_ server/ mir4/tests/ unit-tests/ client/ test_protobuf_ rpc_channel. cpp:382: Failure user.exchange_ buffer( nullptr, &request, &reply, google: :protobuf: :NewCallback( [](){}) ) throws an exception of type std::runtime_error. hannelTest. NotifiesOfDisco nnectOnlyOnce (1 ms) hannelTest (3 ms total)
Running main() from command_
Note: Google Test filter = MirProtobufRpcC
[==========] Running 8 tests from 1 test case.
[----------] Global test environment set-up.
[----------] 8 tests from MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
/home/alan/
Expected: channel_
Actual: it throws nothing.
[ FAILED ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
[ OK ] MirProtobufRpcC
[ RUN ] MirProtobufRpcC
/home/alan/
Expected: channel_
Actual: it throws nothing.
[ FAILED ] MirProtobufRpcC
[----------] 8 tests from MirProtobufRpcC
[----------] Global test environment tear-down hannelTest. NotifiesOfDisco nnectOnWriteErr or hannelTest. NotifiesOfDisco nnectOnlyOnce
[==========] 8 tests from 1 test case ran. (4 ms total)
[ PASSED ] 6 tests.
[ FAILED ] 2 tests, listed below:
[ FAILED ] MirProtobufRpcC
[ FAILED ] MirProtobufRpcC
2 FAILED TESTS