MCPcopy Create free account
hub / github.com/COVESA/vsomeip / TEST_F

Function TEST_F

test/network_tests/application_tests/application_test.cpp:45–54  ·  view source on GitHub ↗

* @test Start and stop application */

Source from the content-addressed store, hash-verified

43 * @test Start and stop application
44 */
45TEST_F(someip_application_test, start_stop_application) {
46 std::promise<bool> its_promise;
47 std::thread t([&]() {
48 its_promise.set_value(true);
49 app_->start();
50 });
51 EXPECT_TRUE(its_promise.get_future().get());
52 app_->stop();
53 t.join();
54}
55
56/**
57 * @test Start and stop application multiple times

Callers

nothing calls this directly

Calls 8

set_watchdog_handlerMethod · 0.80
startMethod · 0.45
getMethod · 0.45
stopMethod · 0.45
joinMethod · 0.45
offer_serviceMethod · 0.45
stop_offer_serviceMethod · 0.45
loadMethod · 0.45

Tested by

no test coverage detected