* @test Start and stop application */
| 43 | * @test Start and stop application |
| 44 | */ |
| 45 | TEST_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 |
nothing calls this directly
no test coverage detected