diff --git a/examples/1-1/CMakeLists.txt b/examples/1-1/CMakeLists.txt index 1c042ec4..1365f284 100644 --- a/examples/1-1/CMakeLists.txt +++ b/examples/1-1/CMakeLists.txt @@ -31,16 +31,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-1-1.sh.in ${CMAKE_CUR configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-1-1.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh) -add_test(NAME Example-1-1-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh zeromq) -set_tests_properties(Example-1-1-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") +add_test(NAME Example.1-1.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh zeromq) +set_tests_properties(Example.1-1.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-1-1-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh nanomsg) - set_tests_properties(Example-1-1-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") + add_test(NAME Example.1-1.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh nanomsg) + set_tests_properties(Example.1-1.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") endif() -add_test(NAME Example-1-1-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh shmem) -set_tests_properties(Example-1-1-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") +add_test(NAME Example.1-1.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-1.sh shmem) +set_tests_properties(Example.1-1.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") # install diff --git a/examples/1-n-1/CMakeLists.txt b/examples/1-n-1/CMakeLists.txt index 8610b901..138e28da 100644 --- a/examples/1-n-1/CMakeLists.txt +++ b/examples/1-n-1/CMakeLists.txt @@ -39,16 +39,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/ex-1-n-1.json ${CMAKE_CURRENT_BINARY_ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-1-n-1.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh) -add_test(NAME Example-1-n-1-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh zeromq) -set_tests_properties(Example-1-n-1-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") +add_test(NAME Example.1-n-1.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh zeromq) +set_tests_properties(Example.1-n-1.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-1-n-1-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh nanomsg) - set_tests_properties(Example-1-n-1-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") + add_test(NAME Example.1-n-1.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh nanomsg) + set_tests_properties(Example.1-n-1.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") endif() -add_test(NAME Example-1-n-1-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh shmem) -set_tests_properties(Example-1-n-1-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") +add_test(NAME Example.1-n-1.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-1-n-1.sh shmem) +set_tests_properties(Example.1-n-1.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received: ") # install diff --git a/examples/builtin-devices/CMakeLists.txt b/examples/builtin-devices/CMakeLists.txt index a7126c3a..e7ef75ee 100644 --- a/examples/builtin-devices/CMakeLists.txt +++ b/examples/builtin-devices/CMakeLists.txt @@ -14,27 +14,27 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-builtin-devices.sh.in configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-builtin-devices.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh) -add_test(NAME Example-Builtin-Devices-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh zeromq) -set_tests_properties(Example-Builtin-Devices-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") +add_test(NAME Example.BuiltinDevices.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh zeromq) +set_tests_properties(Example.BuiltinDevices.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-Builtin-Devices-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh nanomsg) - set_tests_properties(Example-Builtin-Devices-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") + add_test(NAME Example.BuiltinDevices.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh nanomsg) + set_tests_properties(Example.BuiltinDevices.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") endif() -add_test(NAME Example-Builtin-Devices-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh shmem) -set_tests_properties(Example-Builtin-Devices-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") +add_test(NAME Example.BuiltinDevices.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh shmem) +set_tests_properties(Example.BuiltinDevices.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") -add_test(NAME Example-Builtin-Devices-zeromq-multipart COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh zeromq true 2) -set_tests_properties(Example-Builtin-Devices-zeromq-multipart PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") +add_test(NAME Example.BuiltinDevices.multipart.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh zeromq true 2) +set_tests_properties(Example.BuiltinDevices.multipart.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-Builtin-Devices-nanomsg-multipart COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh nanomsg true 2) - set_tests_properties(Example-Builtin-Devices-nanomsg-multipart PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") + add_test(NAME Example.BuiltinDevices.multipart.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh nanomsg true 2) + set_tests_properties(Example.BuiltinDevices.multipart.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") endif() -add_test(NAME Example-Builtin-Devices-shmem-multipart COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh shmem true 2) -set_tests_properties(Example-Builtin-Devices-shmem-multipart PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") +add_test(NAME Example.BuiltinDevices.multipart.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-builtin-devices.sh shmem true 2) +set_tests_properties(Example.BuiltinDevices.multipart.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Configured maximum number of iterations reached") # install diff --git a/examples/copypush/CMakeLists.txt b/examples/copypush/CMakeLists.txt index 6a6ed16f..279d2def 100644 --- a/examples/copypush/CMakeLists.txt +++ b/examples/copypush/CMakeLists.txt @@ -32,16 +32,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-copypush.sh.in ${CMAK configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-copypush.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh) -add_test(NAME Example-CopyPush-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh zeromq) -set_tests_properties(Example-CopyPush-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") +add_test(NAME Example.CopyPush.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh zeromq) +set_tests_properties(Example.CopyPush.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-CopyPush-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh nanomsg) - set_tests_properties(Example-CopyPush-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") + add_test(NAME Example.CopyPush.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh nanomsg) + set_tests_properties(Example.CopyPush.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") endif() -add_test(NAME Example-CopyPush-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh shmem) -set_tests_properties(Example-CopyPush-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") +add_test(NAME Example.CopyPush.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-copypush.sh shmem) +set_tests_properties(Example.CopyPush.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message: ") # install diff --git a/examples/multipart/CMakeLists.txt b/examples/multipart/CMakeLists.txt index d2fdd4ab..1fa0e960 100644 --- a/examples/multipart/CMakeLists.txt +++ b/examples/multipart/CMakeLists.txt @@ -31,16 +31,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-multipart.sh.in ${CMA configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-multipart.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh) -add_test(NAME Example-Multipart-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh zeromq) -set_tests_properties(Example-Multipart-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") +add_test(NAME Example.Multipart.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh zeromq) +set_tests_properties(Example.Multipart.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-Multipart-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh nanomsg) - set_tests_properties(Example-Multipart-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") + add_test(NAME Example.Multipart.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh nanomsg) + set_tests_properties(Example.Multipart.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") endif() -add_test(NAME Example-Multipart-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh shmem) -set_tests_properties(Example-Multipart-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") +add_test(NAME Example.Multipart.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multipart.sh shmem) +set_tests_properties(Example.Multipart.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received message with 2 parts") # install diff --git a/examples/multiple-channels/CMakeLists.txt b/examples/multiple-channels/CMakeLists.txt index 8e73d877..a0664ce4 100644 --- a/examples/multiple-channels/CMakeLists.txt +++ b/examples/multiple-channels/CMakeLists.txt @@ -36,12 +36,12 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-multiple-channels.sh. configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-multiple-channels.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-channels.sh) -add_test(NAME Example-Multiple-Channels-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-channels.sh zeromq) -set_tests_properties(Example-Multiple-Channels-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") +add_test(NAME Example.MultipleChannels.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-channels.sh zeromq) +set_tests_properties(Example.MultipleChannels.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-Multiple-Channels-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-channels.sh nanomsg) - set_tests_properties(Example-Multiple-Channels-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") + add_test(NAME Example.MultipleChannels.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-channels.sh nanomsg) + set_tests_properties(Example.MultipleChannels.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") endif() # install diff --git a/examples/multiple-transports/CMakeLists.txt b/examples/multiple-transports/CMakeLists.txt index f246234b..24a0a774 100644 --- a/examples/multiple-transports/CMakeLists.txt +++ b/examples/multiple-transports/CMakeLists.txt @@ -35,8 +35,8 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-multiple-transports.s # test configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-multiple-transports.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-transports.sh) -add_test(NAME Example-Multiple-Transports COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-transports.sh) -set_tests_properties(Example-Multiple-Transports PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") +add_test(NAME Example.MultipleTransports COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-multiple-transports.sh) +set_tests_properties(Example.MultipleTransports PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received messages from both sources.") # install diff --git a/examples/region/CMakeLists.txt b/examples/region/CMakeLists.txt index 07bd8408..8876b5d4 100644 --- a/examples/region/CMakeLists.txt +++ b/examples/region/CMakeLists.txt @@ -31,16 +31,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-region.sh.in ${CMAKE_ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-region.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh) -add_test(NAME Example-Region-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh zeromq) -set_tests_properties(Example-Region-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") +add_test(NAME Example.Region.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh zeromq) +set_tests_properties(Example.Region.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-Region-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh nanomsg) - set_tests_properties(Example-Region-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") + add_test(NAME Example.Region.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh nanomsg) + set_tests_properties(Example.Region.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") endif() -add_test(NAME Example-Region-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh shmem) -set_tests_properties(Example-Region-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") +add_test(NAME Example.Region.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-region.sh shmem) +set_tests_properties(Example.Region.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received ack") # install diff --git a/examples/req-rep/CMakeLists.txt b/examples/req-rep/CMakeLists.txt index 921009e3..733db7ca 100644 --- a/examples/req-rep/CMakeLists.txt +++ b/examples/req-rep/CMakeLists.txt @@ -32,16 +32,16 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/fairmq-start-ex-req-rep.sh.in ${CMAKE configure_file(${CMAKE_CURRENT_SOURCE_DIR}/test-ex-req-rep.sh.in ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh) -add_test(NAME Example-ReqRep-zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh zeromq) -set_tests_properties(Example-ReqRep-zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") +add_test(NAME Example.ReqRep.zeromq COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh zeromq) +set_tests_properties(Example.ReqRep.zeromq PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") if(BUILD_NANOMSG_TRANSPORT) - add_test(NAME Example-ReqRep-nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh nanomsg) - set_tests_properties(Example-ReqRep-nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") + add_test(NAME Example.ReqRep.nanomsg COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh nanomsg) + set_tests_properties(Example.ReqRep.nanomsg PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") endif() -add_test(NAME Example-ReqRep-shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh shmem) -set_tests_properties(Example-ReqRep-shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") +add_test(NAME Example.ReqRep.shmem COMMAND ${CMAKE_CURRENT_BINARY_DIR}/test-ex-req-rep.sh shmem) +set_tests_properties(Example.ReqRep.shmem PROPERTIES TIMEOUT "30" RUN_SERIAL true PASS_REGULAR_EXPRESSION "Received reply from server: ") # install diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 81d067d9..f00d894f 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -51,7 +51,7 @@ configure_file(${CMAKE_CURRENT_SOURCE_DIR}/protocols/config.json.in ${MQ_CONFIG} configure_file(${CMAKE_CURRENT_SOURCE_DIR}/runner.cxx.in ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/TestEnvironment.h.in ${CMAKE_CURRENT_BINARY_DIR}/TestEnvironment.h) -add_testsuite(FairMQ.Protocols +add_testsuite(Protocols SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx protocols/_pair.cxx @@ -70,7 +70,7 @@ add_testsuite(FairMQ.Protocols ${definitions} ) -add_testsuite(FairMQ.Parts +add_testsuite(Parts SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx parts/_iterator_interface.cxx @@ -82,7 +82,7 @@ add_testsuite(FairMQ.Parts TIMEOUT 5 ) -add_testsuite(FairMQ.Message +add_testsuite(Message SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx message/_message.cxx @@ -95,14 +95,14 @@ add_testsuite(FairMQ.Message ${definitions} ) -add_testsuite(FairMQ.Device +add_testsuite(Device SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx device/TestSender.h device/TestReceiver.h device/_multiple_devices.cxx - device/_device_version.cxx - device/_device_config.cxx + device/_version.cxx + device/_config.cxx device/_waitfor.cxx device/_exceptions.cxx @@ -147,7 +147,7 @@ add_testlib(FairMQPlugin_test_dummy2 VERSION ${VERSION} ) -add_testsuite(FairMQ.Plugins +add_testsuite(Plugins SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx plugins/_plugin.cxx @@ -160,7 +160,7 @@ add_testsuite(FairMQ.Plugins TIMEOUT 5 ) -add_testsuite(FairMQ.PluginsPrelinked +add_testsuite(PluginsPrelinked SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx plugins/_plugin_manager_prelink.cxx @@ -171,7 +171,7 @@ add_testsuite(FairMQ.PluginsPrelinked TIMEOUT 5 ) -add_testsuite(FairMQ.PluginServices +add_testsuite(PluginServices SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx plugin_services/_config.cxx @@ -184,7 +184,7 @@ add_testsuite(FairMQ.PluginServices TIMEOUT 5 ) -add_testsuite(FairMQ.EventManager +add_testsuite(EventManager SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx event_manager/_event_manager.cxx @@ -195,7 +195,7 @@ add_testsuite(FairMQ.EventManager TIMEOUT 5 ) -# add_testsuite(FairMQ.StateMachine +# add_testsuite(StateMachine # SOURCES # ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx # state_machine/_state_machine.cxx @@ -206,7 +206,7 @@ add_testsuite(FairMQ.EventManager # TIMEOUT 5 # ) -add_testsuite(FairMQ.Tools +add_testsuite(Tools SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx tools/_network.cxx @@ -217,7 +217,7 @@ add_testsuite(FairMQ.Tools TIMEOUT 5 ) -add_testsuite(FairMQ.Channel +add_testsuite(Channel SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx channel/_channel.cxx @@ -228,7 +228,7 @@ add_testsuite(FairMQ.Channel TIMEOUT 5 ) -add_testsuite(FairMQ.Transport +add_testsuite(Transport SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx transport/_transfer_timeout.cxx @@ -241,7 +241,7 @@ add_testsuite(FairMQ.Transport ${definitions} ) -add_testsuite(FairMQ.Poller +add_testsuite(Poller SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx poller/_poller.cxx @@ -254,7 +254,7 @@ add_testsuite(FairMQ.Poller ${definitions} ) -add_testsuite(FairMQ.MemoryResources +add_testsuite(MemoryResources SOURCES ${CMAKE_CURRENT_BINARY_DIR}/runner.cxx memory_resources/_memory_resources.cxx diff --git a/test/device/_device_config.cxx b/test/device/_config.cxx similarity index 96% rename from test/device/_device_config.cxx rename to test/device/_config.cxx index 8b078457..a6067869 100644 --- a/test/device/_device_config.cxx +++ b/test/device/_config.cxx @@ -89,10 +89,10 @@ class TestDevice : public FairMQDevice thread fDeviceThread; }; -class DeviceConfig : public ::testing::Test +class Config : public ::testing::Test { public: - DeviceConfig() + Config() {} string TestDeviceSetConfig(const string& transport) @@ -157,7 +157,7 @@ class DeviceConfig : public ::testing::Test } }; -TEST_F(DeviceConfig, SetConfig) +TEST_F(Config, SetConfig) { string transport = "zeromq"; string returnedTransport = TestDeviceSetConfig(transport); @@ -165,7 +165,7 @@ TEST_F(DeviceConfig, SetConfig) EXPECT_EQ(transport, returnedTransport); } -TEST_F(DeviceConfig, SetTransport) +TEST_F(Config, SetTransport) { string transport = "zeromq"; string returnedTransport = TestDeviceSetTransport(transport); @@ -173,7 +173,7 @@ TEST_F(DeviceConfig, SetTransport) EXPECT_EQ(transport, returnedTransport); } -TEST_F(DeviceConfig, ControlInConstructor) +TEST_F(Config, ControlInConstructor) { string transport = "zeromq"; string returnedTransport = TestDeviceControlInConstructor(transport); diff --git a/test/device/_exceptions.cxx b/test/device/_exceptions.cxx index 9e1c6d6f..2120bb62 100644 --- a/test/device/_exceptions.cxx +++ b/test/device/_exceptions.cxx @@ -45,79 +45,79 @@ void RunExceptionIn(const std::string& state, const std::string& input = "") exit(result.exit_code); } -TEST(Exceptions, InInit_______static) +TEST(Exceptions, static_InInit) { EXPECT_EXIT(RunExceptionIn("Init"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InInitTask___static) +TEST(Exceptions, static_InInitTask) { EXPECT_EXIT(RunExceptionIn("InitTask"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPreRun_____static) +TEST(Exceptions, static_InPreRun) { EXPECT_EXIT(RunExceptionIn("PreRun"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InRun________static) +TEST(Exceptions, static_InRun) { EXPECT_EXIT(RunExceptionIn("Run"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPostRun____static) +TEST(Exceptions, static_InPostRun) { EXPECT_EXIT(RunExceptionIn("PostRun"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InResetTask__static) +TEST(Exceptions, static_InResetTask) { EXPECT_EXIT(RunExceptionIn("ResetTask"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InReset______static) +TEST(Exceptions, static_InReset) { EXPECT_EXIT(RunExceptionIn("Reset"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InInit_______interactive) +TEST(Exceptions, interactive_InInit) { EXPECT_EXIT(RunExceptionIn("Init", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InInitTask___interactive) +TEST(Exceptions, interactive_InInitTask) { EXPECT_EXIT(RunExceptionIn("InitTask", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPreRun_____interactive) +TEST(Exceptions, interactive_InPreRun) { EXPECT_EXIT(RunExceptionIn("PreRun", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InRun________interactive) +TEST(Exceptions, interactive_InRun) { EXPECT_EXIT(RunExceptionIn("Run", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPostRun____interactive) +TEST(Exceptions, interactive_InPostRun) { EXPECT_EXIT(RunExceptionIn("PostRun", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InResetTask__interactive) +TEST(Exceptions, interactive_InResetTask) { EXPECT_EXIT(RunExceptionIn("ResetTask", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InReset______interactive) +TEST(Exceptions, interactive_InReset) { EXPECT_EXIT(RunExceptionIn("Reset", "q"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InInit_______interactive_invalid) +TEST(Exceptions, interactive_invalid_InInit) { EXPECT_EXIT(RunExceptionIn("Init", "_"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InInitTask___interactive_invalid) +TEST(Exceptions, interactive_invalid_InInitTask) { EXPECT_EXIT(RunExceptionIn("InitTask", "_"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPreRun_____interactive_invalid) +TEST(Exceptions, interactive_invalid_InPreRun) { EXPECT_EXIT(RunExceptionIn("PreRun", "_"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InRun________interactive_invalid) +TEST(Exceptions, interactive_invalid_InRun) { EXPECT_EXIT(RunExceptionIn("Run", "_"), ::testing::ExitedWithCode(1), ""); } -TEST(Exceptions, InPostRun____interactive_invalid) +TEST(Exceptions, interactive_invalid_InPostRun) { EXPECT_EXIT(RunExceptionIn("PostRun", "_"), ::testing::ExitedWithCode(1), ""); } diff --git a/test/device/_device_version.cxx b/test/device/_version.cxx similarity index 93% rename from test/device/_device_version.cxx rename to test/device/_version.cxx index 540248b1..21ac64b8 100644 --- a/test/device/_device_version.cxx +++ b/test/device/_version.cxx @@ -28,10 +28,10 @@ class TestVersion : public FairMQDevice {} }; -class DeviceVersion : public ::testing::Test +class Version : public ::testing::Test { public: - DeviceVersion() + Version() {} fair::mq::tools::Version TestDeviceVersion() @@ -43,7 +43,7 @@ class DeviceVersion : public ::testing::Test } }; -TEST_F(DeviceVersion, getter) +TEST_F(Version, getter) { struct fair::mq::tools::Version v{1, 2, 3}; fair::mq::tools::Version version = TestDeviceVersion(); diff --git a/test/memory_resources/_memory_resources.cxx b/test/memory_resources/_memory_resources.cxx index 6adc104f..a370eb98 100644 --- a/test/memory_resources/_memory_resources.cxx +++ b/test/memory_resources/_memory_resources.cxx @@ -64,7 +64,7 @@ int testData::ndeallocations = 0; auto allocZMQ = factoryZMQ -> GetMemoryResource(); auto allocSHM = factorySHM -> GetMemoryResource(); -TEST(MemoryResources, transportallocatormap_test) +TEST(MemoryResources, transportallocatormap) { EXPECT_TRUE(allocZMQ != nullptr && allocSHM != allocZMQ); auto _tmp = factoryZMQ->GetMemoryResource(); @@ -73,7 +73,7 @@ TEST(MemoryResources, transportallocatormap_test) using namespace fair::mq::pmr; -TEST(MemoryResources, allocator_test) +TEST(MemoryResources, allocator) { testData::nallocations = 0; testData::ndeallocations = 0; @@ -94,7 +94,7 @@ TEST(MemoryResources, allocator_test) EXPECT_TRUE(testData::nallocations == testData::ndeallocations); } -TEST(MemoryResources, getMessage_test) +TEST(MemoryResources, getMessage) { testData::nallocations = 0; testData::ndeallocations = 0; diff --git a/test/message/_message.cxx b/test/message/_message.cxx index df42bd51..545c45b4 100644 --- a/test/message/_message.cxx +++ b/test/message/_message.cxx @@ -76,35 +76,35 @@ void RunMsgRebuild(const string& transport) EXPECT_EQ(string(static_cast(msg->GetData()), msg->GetSize()), string("asdf")); } -TEST(MessageResize, ZeroMQ) +TEST(Resize, zeromq) { RunPushPullWithMsgResize("zeromq", "ipc://test_message_resize"); } -TEST(MessageResize, shmem) +TEST(Resize, shmem) { RunPushPullWithMsgResize("shmem", "ipc://test_message_resize"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(MessageResize, nanomsg) +TEST(Resize, nanomsg) { RunPushPullWithMsgResize("nanomsg", "ipc://test_message_resize"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(MessageRebuild, ZeroMQ) +TEST(Rebuild, zeromq) { RunMsgRebuild("zeromq"); } -TEST(MessageRebuild, shmem) +TEST(Rebuild, shmem) { RunMsgRebuild("shmem"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(MessageRebuild, nanomsg) +TEST(Rebuild, nanomsg) { RunMsgRebuild("nanomsg"); } diff --git a/test/poller/_poller.cxx b/test/poller/_poller.cxx index e3d07940..9c43263d 100644 --- a/test/poller/_poller.cxx +++ b/test/poller/_poller.cxx @@ -50,36 +50,36 @@ auto RunPoller(string transport, int pollType) -> void exit(pollout.exit_code + pollin.exit_code); } -TEST(Poller, ZeroMQ_subchannel) +TEST(Subchannel, zeromq) { EXPECT_EXIT(RunPoller("zeromq", 0), ::testing::ExitedWithCode(0), "POLL test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(Poller, Nanomsg_subchannel) +TEST(Subchannel, nanomsg) { EXPECT_EXIT(RunPoller("nanomsg", 0), ::testing::ExitedWithCode(0), "POLL test successfull"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(Poller, ShMem_subchannel) +TEST(Subchannel, shmem) { EXPECT_EXIT(RunPoller("shmem", 0), ::testing::ExitedWithCode(0), "POLL test successfull"); } -TEST(Poller, ZeroMQ_channel) +TEST(Channel, zeromq) { EXPECT_EXIT(RunPoller("zeromq", 1), ::testing::ExitedWithCode(0), "POLL test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(Poller, Nanomsg_channel) +TEST(Channel, nanomsg) { EXPECT_EXIT(RunPoller("nanomsg", 1), ::testing::ExitedWithCode(0), "POLL test successfull"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(Poller, ShMem_channel) +TEST(Channel, shmem) { EXPECT_EXIT(RunPoller("shmem", 1), ::testing::ExitedWithCode(0), "POLL test successfull"); } diff --git a/test/protocols/_pair.cxx b/test/protocols/_pair.cxx index 099b9763..9dcc26c1 100644 --- a/test/protocols/_pair.cxx +++ b/test/protocols/_pair.cxx @@ -46,25 +46,25 @@ auto RunPair(string transport) -> void exit(pairleft.exit_code + pairright.exit_code); } -TEST(Pair, MP_ZeroMQ__tcp____SingleMsg) +TEST(Pair, SingleMsg_MP_tcp_zeromq) { EXPECT_EXIT(RunPair("zeromq"), ::testing::ExitedWithCode(0), "PAIR test successfull"); } -TEST(Pair, MP_ShMem___tcp____SingleMsg) +TEST(Pair, SingleMsg_MP_tcp_shmem) { EXPECT_EXIT(RunPair("shmem"), ::testing::ExitedWithCode(0), "PAIR test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(Pair, MP_Nanomsg_tcp____SingleMsg) +TEST(Pair, SingleMsg_MP_tcp_nanomsg) { EXPECT_EXIT(RunPair("nanomsg"), ::testing::ExitedWithCode(0), "PAIR test successfull"); } #endif /* BUILD_NANOMSG_TRANSPORT */ #ifdef BUILD_OFI_TRANSPORT -TEST(Pair, MP_Ofi_____tcp____SingleMsg) +TEST(Pair, SingleMsg_MP_tcp_ofi) { EXPECT_EXIT(RunPair("ofi"), ::testing::ExitedWithCode(0), "PAIR test successfull"); } diff --git a/test/protocols/_pub_sub.cxx b/test/protocols/_pub_sub.cxx index 1de3ef84..23eb77f5 100644 --- a/test/protocols/_pub_sub.cxx +++ b/test/protocols/_pub_sub.cxx @@ -55,13 +55,13 @@ auto RunPubSub(string transport) -> void exit(pub.exit_code + sub1.exit_code + sub2.exit_code); } -TEST(PubSub, ZeroMQ) +TEST(PubSub, zeromq) { EXPECT_EXIT(RunPubSub("zeromq"), ::testing::ExitedWithCode(0), "PUB-SUB test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PubSub, Nanomsg) +TEST(PubSub, nanomsg) { EXPECT_EXIT(RunPubSub("nanomsg"), ::testing::ExitedWithCode(0), "PUB-SUB test successfull"); } diff --git a/test/protocols/_push_pull.cxx b/test/protocols/_push_pull.cxx index af309d56..7a23ffca 100644 --- a/test/protocols/_push_pull.cxx +++ b/test/protocols/_push_pull.cxx @@ -46,18 +46,18 @@ auto RunPushPull(string transport) -> void exit(push.exit_code + pull.exit_code); } -TEST(PushPull, MP_ZeroMQ__tcp____SingleMsg) +TEST(PushPull, SingleMsg_MP_tcp_zeromq) { EXPECT_EXIT(RunPushPull("zeromq"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull"); } -TEST(PushPull, MP_ShMem___tcp____SingleMsg) +TEST(PushPull, SingleMsg_MP_tcp_shmem) { EXPECT_EXIT(RunPushPull("shmem"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PushPull, MP_Nanomsg_tcp____SingleMsg) +TEST(PushPull, SingleMsg_MP_tcp_nanomsg) { EXPECT_EXIT(RunPushPull("nanomsg"), ::testing::ExitedWithCode(0), "PUSH-PULL test successfull"); } diff --git a/test/protocols/_push_pull_multipart.cxx b/test/protocols/_push_pull_multipart.cxx index d82c8cbd..95fce041 100644 --- a/test/protocols/_push_pull_multipart.cxx +++ b/test/protocols/_push_pull_multipart.cxx @@ -105,71 +105,71 @@ auto RunMultiThreadedMultipart(string transport, string address) -> void puller.join(); } -TEST(PushPull, ST_ZeroMQ__inproc_Multipart) +TEST(PushPull, Multipart_ST_inproc_zeromq) { RunSingleThreadedMultipart("zeromq", "inproc://test"); } -TEST(PushPull, ST_Shmem___inproc_Multipart) +TEST(PushPull, Multipart_ST_inproc_shmem) { RunSingleThreadedMultipart("shmem", "inproc://test"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PushPull, ST_Nanomsg_inproc_Multipart) +TEST(PushPull, Multipart_ST_inproc_nanomsg) { RunSingleThreadedMultipart("nanomsg", "inproc://test"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(PushPull, ST_ZeroMQ__ipc____Multipart) +TEST(PushPull, Multipart_ST_ipc_zeromq) { - RunSingleThreadedMultipart("zeromq", "ipc://test_ST_ZeroMQ__ipc____Multipart"); + RunSingleThreadedMultipart("zeromq", "ipc://test_Multipart_ST_ipc_zeromq"); } -TEST(PushPull, ST_Shmen___ipc____Multipart) +TEST(PushPull, Multipart_ST_ipc_shmen) { - RunSingleThreadedMultipart("shmem", "ipc://test_ST_Shmen___ipc____Multipart"); + RunSingleThreadedMultipart("shmem", "ipc://test_Multipart_ST_ipc_shmen"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PushPull, ST_Nanomsg_ipc____Multipart) +TEST(PushPull, Multipart_ST_ipc_nanomsg) { - RunSingleThreadedMultipart("nanomsg", "ipc://test_ST_Nanomsg_ipc____Multipart"); + RunSingleThreadedMultipart("nanomsg", "ipc://test_Multipart_ST_ipc_nanomsg"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(PushPull, MT_ZeroMQ__inproc_Multipart) +TEST(PushPull, Multipart_MT_inproc_zeromq) { RunMultiThreadedMultipart("zeromq", "inproc://test"); } -TEST(PushPull, MT_Shmem___inproc_Multipart) +TEST(PushPull, Multipart_MT_inproc_shmem) { RunMultiThreadedMultipart("shmem", "inproc://test"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PushPull, MT_Nanomsg_inproc_Multipart) +TEST(PushPull, Multipart_MT_inproc_nanomsg) { RunMultiThreadedMultipart("nanomsg", "inproc://test"); } #endif /* BUILD_NANOMSG_TRANSPORT */ -TEST(PushPull, MT_ZeroMQ__ipc____Multipart) +TEST(PushPull, Multipart_MT_ipc_zeromq) { - RunMultiThreadedMultipart("zeromq", "ipc://test_MT_ZeroMQ__ipc____Multipart"); + RunMultiThreadedMultipart("zeromq", "ipc://test_Multipart_MT_ipc_zeromq"); } -TEST(PushPull, MT_Shmem___ipc____Multipart) +TEST(PushPull, Multipart_MT_ipc_shmem) { - RunMultiThreadedMultipart("shmem", "ipc://test_MT_Shmem___ipc____Multipart"); + RunMultiThreadedMultipart("shmem", "ipc://test_Multipart_MT_ipc_shmem"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(PushPull, MT_Nanomsg_ipc____Multipart) +TEST(PushPull, Multipart_MT_ipc_nanomsg) { - RunMultiThreadedMultipart("nanomsg", "ipc://test_MT_Nanomsg_ipc____Multipart"); + RunMultiThreadedMultipart("nanomsg", "ipc://test_Multipart_MT_ipc_nanomsg"); } #endif /* BUILD_NANOMSG_TRANSPORT */ diff --git a/test/protocols/_req_rep.cxx b/test/protocols/_req_rep.cxx index 07dee3bc..df4c9a3f 100644 --- a/test/protocols/_req_rep.cxx +++ b/test/protocols/_req_rep.cxx @@ -55,18 +55,18 @@ auto RunReqRep(string transport) -> void exit(req1.exit_code + req2.exit_code + rep.exit_code); } -TEST(ReqRep, ZeroMQ) +TEST(ReqRep, zeromq) { EXPECT_EXIT(RunReqRep("zeromq"), ::testing::ExitedWithCode(0), "REQ-REP test successfull"); } -TEST(ReqRep, ShMem) +TEST(ReqRep, shmem) { EXPECT_EXIT(RunReqRep("shmem"), ::testing::ExitedWithCode(0), "REQ-REP test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(ReqRep, Nanomsg) +TEST(ReqRep, nanomsg) { EXPECT_EXIT(RunReqRep("nanomsg"), ::testing::ExitedWithCode(0), "REQ-REP test successfull"); } diff --git a/test/transport/_options.cxx b/test/transport/_options.cxx index 24e2f3e7..cf7b277f 100644 --- a/test/transport/_options.cxx +++ b/test/transport/_options.cxx @@ -78,7 +78,7 @@ void RunOptionsTest(const string& transport) ASSERT_EQ(channel.GetSocket().GetRcvKernelSize(), 8000); } -TEST(Options, ZeroMQ) +TEST(Options, zeromq) { RunOptionsTest("zeromq"); } diff --git a/test/transport/_transfer_timeout.cxx b/test/transport/_transfer_timeout.cxx index 116afce9..bfed6089 100644 --- a/test/transport/_transfer_timeout.cxx +++ b/test/transport/_transfer_timeout.cxx @@ -31,18 +31,18 @@ auto RunTransferTimeout(string transport) -> void exit(res.exit_code); } -TEST(TransferTimeout, ZeroMQ) +TEST(TransferTimeout, zeromq) { EXPECT_EXIT(RunTransferTimeout("zeromq"), ::testing::ExitedWithCode(0), "Transfer timeout test successfull"); } -TEST(TransferTimeout, ShMem) +TEST(TransferTimeout, shmem) { EXPECT_EXIT(RunTransferTimeout("shmem"), ::testing::ExitedWithCode(0), "Transfer timeout test successfull"); } #ifdef BUILD_NANOMSG_TRANSPORT -TEST(TransferTimeout, Nanomsg) +TEST(TransferTimeout, nanomsg) { EXPECT_EXIT(RunTransferTimeout("nanomsg"), ::testing::ExitedWithCode(0), "Transfer timeout test successfull"); }