summaryrefslogtreecommitdiff
path: root/test/client_id_tests/client_id_test_globals.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/client_id_tests/client_id_test_globals.hpp')
-rw-r--r--test/client_id_tests/client_id_test_globals.hpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/test/client_id_tests/client_id_test_globals.hpp b/test/client_id_tests/client_id_test_globals.hpp
index 52dd069..e4b2cb8 100644
--- a/test/client_id_tests/client_id_test_globals.hpp
+++ b/test/client_id_tests/client_id_test_globals.hpp
@@ -12,19 +12,20 @@ struct service_info {
vsomeip::service_t service_id;
vsomeip::instance_t instance_id;
vsomeip::method_t method_id;
+ vsomeip::client_t offering_client;
};
static constexpr std::array<service_info, 7> service_infos = {{
// placeholder to be consistent w/ client ids, service ids, app names
- { 0xFFFF, 0xFFFF, 0xFFFF },
+ { 0xFFFF, 0xFFFF, 0xFFFF, 0xFFFF },
// node 1
- { 0x1000, 0x1, 0x1111 },
- { 0x2000, 0x1, 0x2222 },
- { 0x3000, 0x1, 0x3333 },
+ { 0x1000, 0x1, 0x1111, 0x1111 },
+ { 0x2000, 0x1, 0x2222, 0x2222},
+ { 0x3000, 0x1, 0x3333, 0x3333},
// node 2
- { 0x4000, 0x1, 0x4444 },
- { 0x5000, 0x1, 0x5555 },
- { 0x6000, 0x1, 0x6666 }
+ { 0x4000, 0x1, 0x4444, 0x4444 },
+ { 0x5000, 0x1, 0x5555, 0x5555 },
+ { 0x6000, 0x1, 0x6666, 0x6666 }
}};
static constexpr int messages_to_send = 10;