~JoynrClusterControllerRuntimeTest(){
     if (runtime) {
         runtime->deleteChannel();
         runtime->stopMessaging();
         delete runtime;
     }
 }
 ~SystemServicesRoutingTest(){
     runtime->deleteChannel();
     runtime->stopMessaging();
     delete runtime;
     delete settings;
     QFile::remove(settingsFilename);
 }
void JoynrClusterControllerRuntimeTest::startMessagingDoesNotThrow() {
    EXPECT_CALL(*mockHttpMessageReceiver, startReceiveQueue())
            .Times(1);
    EXPECT_CALL(*mockHttpMessageReceiver, stopReceiveQueue())
            .Times(1);

    ASSERT_TRUE(runtime != nullptr);
    runtime->startMessaging();
    runtime->stopMessaging();
}
Example #4
0
 ~LibJoynrRuntimeTest() {
     ccRuntime->deleteChannel();
     ccRuntime->stopMessaging();
     delete ccRuntime;
 }