Configuration Test
------------------
To start the configuration test from the build directory do:
./configuration-test -someip ../config/vsomeip-test.json
The expected output is:
2015-02-10 08:47:31.503874 [info] Test "HOST ADDRESS" succeeded.
2015-02-10 08:47:31.507609 [info] Test "HAS CONSOLE" succeeded.
2015-02-10 08:47:31.507865 [info] Test "HAS FILE" succeeded.
2015-02-10 08:47:31.508001 [info] Test "HAS DLT" succeeded.
2015-02-10 08:47:31.508143 [info] Test "LOGFILE" succeeded.
2015-02-10 08:47:31.508315 [info] Test "LOGLEVEL" succeeded.
2015-02-10 08:47:31.508456 [info] Test "RELIABLE_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.508593 [info] Test "UNRELIABLE_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.508759 [info] Test "RELIABLE_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.508896 [info] Test "UNRELIABLE_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.509032 [info] Test "RELIABLE_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.509185 [info] Test "UNRELIABLE_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.509330 [info] Test "RELIABLE_TEST_4466_0321" succeeded.
2015-02-10 08:47:31.509467 [info] Test "UNRELIABLE_TEST_4466_0321" succeeded.
2015-02-10 08:47:31.509602 [info] Test "RELIABLE_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.509771 [info] Test "UNRELIABLE_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.509915 [info] Test "ADDRESS_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.510049 [info] Test "MIN_INITIAL_DELAY_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.510354 [info] Test "MAX_INITIAL_DELAY_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.510610 [info] Test "REPETITION_BASE_DELAY_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.513978 [info] Test "REPETITION_MAX_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.514177 [info] Test "CYCLIC_OFFER_DELAY_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.514280 [info] Test "CYCLIC_REQUEST_DELAY_TEST_1234_0022" succeeded.
2015-02-10 08:47:31.514397 [info] Test "MIN_INITIAL_DELAY_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.514618 [info] Test "MAX_INITIAL_DELAY_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.514754 [info] Test "REPETITION_BASE_DELAY_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.514901 [info] Test "REPETITION_MAX_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.515052 [info] Test "CYCLIC_OFFER_DELAY_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.515186 [info] Test "CYCLIC_REQUEST_DELAY_TEST_1234_0023" succeeded.
2015-02-10 08:47:31.515325 [info] Test "MIN_INITIAL_DELAY_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.515395 [info] Test "MAX_INITIAL_DELAY_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.515536 [info] Test "REPETITION_BASE_DELAY_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.515691 [info] Test "REPETITION_MAX_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.515834 [info] Test "CYCLIC_OFFER_DELAY_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.515971 [info] Test "CYCLIC_REQUEST_DELAY_TEST_2277_0022" succeeded.
2015-02-10 08:47:31.516109 [info] Test "MIN_INITIAL_DELAY_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516279 [info] Test "MAX_INITIAL_DELAY_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516380 [info] Test "REPETITION_BASE_DELAY_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516512 [info] Test "REPETITION_MAX_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516610 [info] Test "CYCLIC_OFFER_DELAY_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516736 [info] Test "CYCLIC_REQUEST_DELAY_TEST_2266_0022" succeeded.
2015-02-10 08:47:31.516874 [info] Test "ADDRESS_TEST_4466_0321" succeeded.
2015-02-10 08:47:31.516974 [info] Test "SERVICE DISCOVERY PROTOCOL" succeeded.
2015-02-10 08:47:31.517106 [info] Test "SERVICE DISCOVERY PORT" succeeded.
Application test
----------------
This test tests starting and stopping a vsomeip application in various ways.
Automatic start from build directory:
ctest -V -R application_test
Manual start from sub folder test of build directory:
./application_test_starter.sh
Magic Cookies Test
------------------
To run the magic cookies test you need two devices on the same network. The network addresses within
the configuration files need to be adapted to match the devices addresses.
To start the magic-cookies-test from the build-directory do:
Automatic start from build directory:
ctest -V -R magic_cookies_test
Manual start from sub folder test of build directory:
# On external host run
./magic_cookies_test_service_start.sh
# On local host run
./magic_cookies_test_client_start.sh
The expected result is an output like this on service side:
2015-02-10 08:42:07.317695 [info] Received a message with Client/Session [1343/0001]
2015-02-10 08:42:07.360105 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.360298 [info] Received a message with Client/Session [1343/0003]
2015-02-10 08:42:07.360527 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.360621 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.360714 [info] Received a message with Client/Session [1343/0006]
2015-02-10 08:42:07.360850 [info] Received a message with Client/Session [1343/0007]
2015-02-10 08:42:07.361021 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.361107 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.361191 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.361276 [info] Received a message with Client/Session [1343/000b]
2015-02-10 08:42:07.361434 [info] Received a message with Client/Session [1343/000c]
2015-02-10 08:42:07.361558 [info] Received a message with Client/Session [1343/000d]
2015-02-10 08:42:07.361672 [error] Detected Magic Cookie within message data. Resyncing.
2015-02-10 08:42:07.361761 [info] Received a message with Client/Session [1343/000f]
Header Factory Tests
--------------------
The following things are tested:
a) create request
--> check "Protocol Version" / "Message Type" / "Return Type" fields
b) create request, fill header, create response
--> compare header fields of request & response
c) create notification
--> check "Protocol Version" / "Message Type" / "Return Type" fields
d) create message, fill header (service/instance/method/interface version/message type)
--> send message 10 times
--> receive message and check client id / session id
a) to c) are combined in one binary. d) is composed out of a client and service.
To start the header factory tests from the build directory do:
Automatic start from build directory:
ctest -V -R header_factory_test
Manual start from build directory:
cd test
./header_factory_test
# Start client and service separately
./header_factory_test_service_start.sh &
./header_factory_test_client_start.sh
# Alternatively start client and service with one script
./header_factory_test_send_receive_starter.sh
All tests should be marked as "passed".
Routing Tests
-------------
The following things are tested:
a) create a service instance
- check that it is accessible from a local client but invisible for an external client
b) create a service instance, configure it to be externally visible
- check that it is accessible from a local client and from a external client
a) and b) are composed out of a service each and one common client binary which is used
with different configuration files.
Automatic start from build directory:
ctest -V -R local_routing_test
A message will be shown when the external client should be started.
Manual start from build directory:
cd test
# First part with local client
# Start client and service with one script
./local_routing_test_starter.sh
# Alternatively start client and service separately
# Warning some checks are done within the *_starter.sh script.
# This should only be used for debugging
# Start the service
./local_routing_test_service_start.sh &
# Start the client
./local_routing_test_client_start.sh
# Second part with external client
# Start clie
没有合适的资源?快使用搜索试试~ 我知道了~
VSOMEIP编译包,包含boost,vsomeip源码以及自动编译脚本
共767个文件
hpp:324个
cpp:160个
in:131个
需积分: 20 27 下载量 88 浏览量
2022-10-19
14:09:59
上传
评论 4
收藏 121.69MB RAR 举报
温馨提示
VSOMEIP编译包,包含boost,vsomeip源码以及自动编译脚本,自动编译出vsomeip库
资源详情
资源评论
资源推荐
收起资源包目录
VSOMEIP编译包,包含boost,vsomeip源码以及自动编译脚本 (767个子文件)
AUTHORS 52B
Android.bp 4KB
Android.bp 758B
CHANGES 37KB
routing_manager_impl.cpp 203KB
configuration_impl.cpp 160KB
service_discovery_impl.cpp 158KB
routing_manager_proxy.cpp 119KB
routing_manager_stub.cpp 115KB
malicious_data_test_msg_sender.cpp 111KB
application_impl.cpp 109KB
pending_subscription_test_sd_msg_sender.cpp 89KB
someip_tp_test_msg_sender.cpp 83KB
routing_manager_base.cpp 62KB
security_impl.cpp 47KB
endpoint_manager_impl.cpp 46KB
tcp_server_endpoint_impl.cpp 45KB
tcp_client_endpoint_impl.cpp 43KB
configuration-test.cpp 41KB
local_server_endpoint_impl.cpp 38KB
udp_server_endpoint_impl.cpp 34KB
server_endpoint_impl.cpp 33KB
client_endpoint_impl.cpp 27KB
client_id_test_utility.cpp 25KB
npdu_test_client.cpp 24KB
initial_event_test_client.cpp 24KB
subscribe_notify_test_service.cpp 22KB
subscribe_notify_one_test_service.cpp 22KB
tp_message.cpp 20KB
application_impl.cpp 20KB
someip_tp_test_service.cpp 19KB
vsomeip_ctrl.cpp 18KB
netlink_connector.cpp 18KB
e2e_test_client.cpp 18KB
udp_client_endpoint_impl.cpp 18KB
pending_subscription_test_service.cpp 18KB
subscribe_notify_test_one_event_two_eventgroups_client.cpp 17KB
event.cpp 16KB
cpu_load_test_client.cpp 15KB
application_test.cpp 15KB
policy.cpp 15KB
offered_services_info_test_client.cpp 15KB
payload_test_client.cpp 14KB
local_client_endpoint_impl.cpp 14KB
second_address_test_client.cpp 14KB
big_payload_test_client.cpp 13KB
message_impl.cpp 13KB
e2e_test_service.cpp 13KB
eventgroupinfo.cpp 12KB
offered_services_info_test_service.cpp 12KB
npdu_test_service.cpp 12KB
crc.cpp 12KB
event_test_client.cpp 12KB
e2e_profile_04_test_client.cpp 12KB
e2e_profile_04_test_service.cpp 11KB
utility.cpp 11KB
magic_cookies_test_client.cpp 11KB
initial_event_test_stop_service.cpp 11KB
security_test_client.cpp 11KB
offer_test_client.cpp 11KB
big_payload_test_service.cpp 11KB
client_id_test_service.cpp 10KB
channel_impl.cpp 10KB
offer_test_big_sd_msg_client.cpp 10KB
tp_reassembler.cpp 10KB
second_address_test_service.cpp 10KB
application_test_client_availability.cpp 9KB
subscribe_notify_test_one_event_two_eventgroups_service.cpp 9KB
endpoint_manager_base.cpp 8KB
remote_subscription.cpp 8KB
notify-sample.cpp 8KB
eventgroupentry_impl.cpp 8KB
security_test_service.cpp 8KB
request-sample.cpp 8KB
connector_impl.cpp 8KB
event_test_service.cpp 8KB
plugin_manager_impl.cpp 7KB
malicious_data_test_service.cpp 7KB
application_test_client.cpp 7KB
cpu_load_test_service.cpp 7KB
deserializer.cpp 7KB
subscribe-sample.cpp 7KB
initial_event_test_service.cpp 7KB
offer_test_big_sd_msg_service.cpp 6KB
offer_test_service.cpp 6KB
e2e_provider_impl.cpp 6KB
external_local_routing_test_service.cpp 6KB
initial_event_test_availability_checker.cpp 6KB
restart_routing_test_client.cpp 6KB
cpu_load_measurer.cpp 6KB
header_factory_test_client.cpp 6KB
entry_impl.cpp 6KB
payload_test_service.cpp 6KB
local_routing_test_client.cpp 6KB
message.cpp 5KB
offer_test_service_external.cpp 5KB
response-sample.cpp 5KB
profile_01.cpp 5KB
magic_cookies_test_service.cpp 5KB
npdu_test_rmd.cpp 5KB
共 767 条
- 1
- 2
- 3
- 4
- 5
- 6
- 8
吮指原味脆皮鸡
- 粉丝: 9
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- Delphi教程&案例&软件项目管理案例教程(第四版)课后习题答案.pdf
- Nasa高分卫星火点监测数据接入源码
- 基于区块链的图片版权保护系统的设计与实现+详细文档+全部资料(高分毕业设计).zip
- N0100P-VB一款SOT23封装P-Channel场效应MOS管
- 数据分析2024版Tecplot360中文教程最全解析.ppt
- 基于区块链的图片版权保护系统的设计与实现+详细文档+全部资料(高分毕业设计).zip
- 上海大众帕萨特1.8GLI 2005款线路图
- MVSF2N02ELT1G-VB一款SOT23封装N-Channel场效应MOS管
- 基于区块链的图片版权保护系统的设计与实现+详细文档+全部资料(高分毕业设计).zip
- MVGSF1N03LT1G-VB一款SOT23封装N-Channel场效应MOS管
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0