summaryrefslogtreecommitdiff
path: root/test/network_tests/offer_tests/offer_test_globals.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'test/network_tests/offer_tests/offer_test_globals.hpp')
-rw-r--r--test/network_tests/offer_tests/offer_test_globals.hpp29
1 files changed, 29 insertions, 0 deletions
diff --git a/test/network_tests/offer_tests/offer_test_globals.hpp b/test/network_tests/offer_tests/offer_test_globals.hpp
new file mode 100644
index 0000000..ba69886
--- /dev/null
+++ b/test/network_tests/offer_tests/offer_test_globals.hpp
@@ -0,0 +1,29 @@
+// Copyright (C) 2014-2017 Bayerische Motoren Werke Aktiengesellschaft (BMW AG)
+// This Source Code Form is subject to the terms of the Mozilla Public
+// License, v. 2.0. If a copy of the MPL was not distributed with this
+// file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#ifndef OFFER_TEST_GLOBALS_HPP_
+#define OFFER_TEST_GLOBALS_HPP_
+
+namespace offer_test {
+
+struct service_info {
+ vsomeip::service_t service_id;
+ vsomeip::instance_t instance_id;
+ vsomeip::method_t method_id;
+ vsomeip::event_t event_id;
+ vsomeip::eventgroup_t eventgroup_id;
+ vsomeip::method_t shutdown_method_id;
+};
+
+struct service_info service = { 0x1111, 0x1, 0x1111, 0x1111, 0x1000, 0x1404 };
+
+static constexpr int number_of_messages_to_send = 150;
+
+static constexpr std::uint16_t big_msg_number_services = 300;
+static constexpr vsomeip::event_t big_msg_event_id = 0x8000;
+static constexpr vsomeip::eventgroup_t big_msg_eventgroup_id = 0x1;
+}
+
+#endif /* OFFER_TEST_GLOBALS_HPP_ */