diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/messagebus/test | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/messagebus/test')
-rw-r--r-- | library/cpp/messagebus/test/example/client/ya.make | 11 | ||||
-rw-r--r-- | library/cpp/messagebus/test/example/common/ya.make | 13 | ||||
-rw-r--r-- | library/cpp/messagebus/test/example/server/ya.make | 11 | ||||
-rw-r--r-- | library/cpp/messagebus/test/example/ya.make | 5 | ||||
-rw-r--r-- | library/cpp/messagebus/test/helper/ya.make | 16 | ||||
-rw-r--r-- | library/cpp/messagebus/test/perftest/ya.make | 22 | ||||
-rw-r--r-- | library/cpp/messagebus/test/ut/ya.make | 51 | ||||
-rw-r--r-- | library/cpp/messagebus/test/ya.make | 5 |
8 files changed, 134 insertions, 0 deletions
diff --git a/library/cpp/messagebus/test/example/client/ya.make b/library/cpp/messagebus/test/example/client/ya.make new file mode 100644 index 0000000000..41dace996a --- /dev/null +++ b/library/cpp/messagebus/test/example/client/ya.make @@ -0,0 +1,11 @@ +PROGRAM(messagebus_example_client) + +PEERDIR( + library/cpp/messagebus/test/example/common +) + +SRCS( + client.cpp +) + +END() diff --git a/library/cpp/messagebus/test/example/common/ya.make b/library/cpp/messagebus/test/example/common/ya.make new file mode 100644 index 0000000000..1281f6b16a --- /dev/null +++ b/library/cpp/messagebus/test/example/common/ya.make @@ -0,0 +1,13 @@ +LIBRARY(messagebus_test_example_common) + +PEERDIR( + library/cpp/messagebus + library/cpp/messagebus/protobuf +) + +SRCS( + proto.cpp + messages.proto +) + +END() diff --git a/library/cpp/messagebus/test/example/server/ya.make b/library/cpp/messagebus/test/example/server/ya.make new file mode 100644 index 0000000000..70101f175c --- /dev/null +++ b/library/cpp/messagebus/test/example/server/ya.make @@ -0,0 +1,11 @@ +PROGRAM(messagebus_example_server) + +PEERDIR( + library/cpp/messagebus/test/example/common +) + +SRCS( + server.cpp +) + +END() diff --git a/library/cpp/messagebus/test/example/ya.make b/library/cpp/messagebus/test/example/ya.make new file mode 100644 index 0000000000..3635124115 --- /dev/null +++ b/library/cpp/messagebus/test/example/ya.make @@ -0,0 +1,5 @@ +RECURSE( + client + common + server +) diff --git a/library/cpp/messagebus/test/helper/ya.make b/library/cpp/messagebus/test/helper/ya.make new file mode 100644 index 0000000000..bf65ab4ea0 --- /dev/null +++ b/library/cpp/messagebus/test/helper/ya.make @@ -0,0 +1,16 @@ +LIBRARY(messagebus_test_helper) + +SRCS( + example.cpp + example_module.cpp + fixed_port.cpp + message_handler_error.cpp + hanging_server.cpp +) + +PEERDIR( + library/cpp/messagebus/oldmodule + library/cpp/deprecated/atomic +) + +END() diff --git a/library/cpp/messagebus/test/perftest/ya.make b/library/cpp/messagebus/test/perftest/ya.make new file mode 100644 index 0000000000..4e71ae64cb --- /dev/null +++ b/library/cpp/messagebus/test/perftest/ya.make @@ -0,0 +1,22 @@ +PROGRAM(messagebus_perftest) + +PEERDIR( + library/cpp/deprecated/threadable + library/cpp/execprofile + library/cpp/getopt + library/cpp/lwtrace + library/cpp/messagebus + library/cpp/messagebus/oldmodule + library/cpp/messagebus/protobuf + library/cpp/messagebus/www + library/cpp/sighandler + library/cpp/threading/future +) + +SRCS( + messages.proto + perftest.cpp + simple_proto.cpp +) + +END() diff --git a/library/cpp/messagebus/test/ut/ya.make b/library/cpp/messagebus/test/ut/ya.make new file mode 100644 index 0000000000..561c6743a1 --- /dev/null +++ b/library/cpp/messagebus/test/ut/ya.make @@ -0,0 +1,51 @@ +UNITTEST_FOR(library/cpp/messagebus) + +TIMEOUT(1200) + +SIZE(LARGE) + +TAG( + ya:not_autocheck + ya:fat +) + +FORK_SUBTESTS() + +PEERDIR( + library/cpp/messagebus + library/cpp/messagebus/test/helper + library/cpp/messagebus/www + library/cpp/resource + library/cpp/deprecated/atomic +) + +SRCS( + messagebus_ut.cpp + module_client_ut.cpp + module_client_one_way_ut.cpp + module_server_ut.cpp + one_way_ut.cpp + starter_ut.cpp + sync_client_ut.cpp + locator_uniq_ut.cpp + www_ut.cpp + ../../async_result_ut.cpp + ../../cc_semaphore_ut.cpp + ../../coreconn_ut.cpp + ../../duration_histogram_ut.cpp + ../../message_status_counter_ut.cpp + ../../misc/weak_ptr_ut.cpp + ../../latch_ut.cpp + ../../lfqueue_batch_ut.cpp + ../../local_flags_ut.cpp + ../../memory_ut.cpp + ../../moved_ut.cpp + ../../netaddr_ut.cpp + ../../network_ut.cpp + ../../nondestroying_holder_ut.cpp + ../../scheduler_actor_ut.cpp + ../../socket_addr_ut.cpp + ../../vector_swaps_ut.cpp +) + +END() diff --git a/library/cpp/messagebus/test/ya.make b/library/cpp/messagebus/test/ya.make new file mode 100644 index 0000000000..ec6d54b093 --- /dev/null +++ b/library/cpp/messagebus/test/ya.make @@ -0,0 +1,5 @@ +RECURSE( + example + perftest + ut +) |