summaryrefslogtreecommitdiff
path: root/test/offer_tests/offer_test_client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/offer_tests/offer_test_client.cpp')
-rw-r--r--test/offer_tests/offer_test_client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/offer_tests/offer_test_client.cpp b/test/offer_tests/offer_test_client.cpp
index d338f13..493c3fa 100644
--- a/test/offer_tests/offer_test_client.cpp
+++ b/test/offer_tests/offer_test_client.cpp
@@ -41,8 +41,8 @@ public:
last_received_response_(std::chrono::steady_clock::now()),
number_received_responses_(0) {
if (!app_->init()) {
- VSOMEIP_ERROR << "Couldn't initialize application";
- EXPECT_TRUE(false);
+ ADD_FAILURE() << "Couldn't initialize application";
+ return;
}
app_->register_state_handler(
std::bind(&offer_test_client::on_state, this,