aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/testing
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-28 22:25:04 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-28 22:25:04 +0300
commitb8a17f9b1c166d2e9a26b99348a4c29d972caf55 (patch)
tree1a2d881f1a9452b9c6103dbf69d73da7624e98e5 /library/cpp/testing
parent25659221f18577ea38430a8ec3349836f5626b6a (diff)
downloadydb-b8a17f9b1c166d2e9a26b99348a4c29d972caf55.tar.gz
Revert ymake build from ydb oss export
Diffstat (limited to 'library/cpp/testing')
-rw-r--r--library/cpp/testing/benchmark/examples/metrics/ya.make15
-rw-r--r--library/cpp/testing/benchmark/examples/ya.make11
-rw-r--r--library/cpp/testing/benchmark/main/ya.make11
-rw-r--r--library/cpp/testing/benchmark/ya.make22
-rw-r--r--library/cpp/testing/common/ut/ya.make12
-rw-r--r--library/cpp/testing/common/ya.make16
-rw-r--r--library/cpp/testing/gbenchmark_main/ya.make12
-rw-r--r--library/cpp/testing/gmock_in_unittest/example_ut/ya.make11
-rw-r--r--library/cpp/testing/gmock_in_unittest/ya.make19
-rw-r--r--library/cpp/testing/gtest/ut/ya.make15
-rw-r--r--library/cpp/testing/gtest/ya.make22
-rw-r--r--library/cpp/testing/gtest_extensions/ut/ya.make11
-rw-r--r--library/cpp/testing/gtest_extensions/ya.make17
-rw-r--r--library/cpp/testing/gtest_main/ya.make11
-rw-r--r--library/cpp/testing/hook/ya.make6
-rw-r--r--library/cpp/testing/mock_server/ya.make14
-rw-r--r--library/cpp/testing/unittest/fat/ya.make17
-rw-r--r--library/cpp/testing/unittest/pytests/test_subject/ya.make13
-rw-r--r--library/cpp/testing/unittest/pytests/ya.make21
-rw-r--r--library/cpp/testing/unittest/ut/ya.make8
-rw-r--r--library/cpp/testing/unittest/ya.make31
-rw-r--r--library/cpp/testing/unittest_main/ya.make12
22 files changed, 0 insertions, 327 deletions
diff --git a/library/cpp/testing/benchmark/examples/metrics/ya.make b/library/cpp/testing/benchmark/examples/metrics/ya.make
deleted file mode 100644
index 56eb58fc7f..0000000000
--- a/library/cpp/testing/benchmark/examples/metrics/ya.make
+++ /dev/null
@@ -1,15 +0,0 @@
-PY2TEST()
-
-SIZE(LARGE)
-
-TAG(
- ya:force_sandbox
- sb:intel_e5_2660v1
- ya:fat
-)
-
-TEST_SRCS(main.py)
-
-DEPENDS(library/cpp/testing/benchmark/examples)
-
-END()
diff --git a/library/cpp/testing/benchmark/examples/ya.make b/library/cpp/testing/benchmark/examples/ya.make
deleted file mode 100644
index 857c43519c..0000000000
--- a/library/cpp/testing/benchmark/examples/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-Y_BENCHMARK()
-
-SRCS(
- main.cpp
-)
-
-END()
-
-RECURSE(
- metrics
-)
diff --git a/library/cpp/testing/benchmark/main/ya.make b/library/cpp/testing/benchmark/main/ya.make
deleted file mode 100644
index 684435b94f..0000000000
--- a/library/cpp/testing/benchmark/main/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-LIBRARY()
-
-SRCS(
- GLOBAL main.cpp
-)
-
-PEERDIR(
- library/cpp/testing/benchmark
-)
-
-END()
diff --git a/library/cpp/testing/benchmark/ya.make b/library/cpp/testing/benchmark/ya.make
deleted file mode 100644
index 8ded7f4ec2..0000000000
--- a/library/cpp/testing/benchmark/ya.make
+++ /dev/null
@@ -1,22 +0,0 @@
-LIBRARY()
-
-SRCS(
- bench.cpp
- dummy.cpp
-)
-
-PEERDIR(
- contrib/libs/re2
- library/cpp/colorizer
- library/cpp/getopt/small
- library/cpp/json
- library/cpp/linear_regression
- library/cpp/threading/poor_man_openmp
-)
-
-END()
-
-RECURSE(
- examples
- main
-)
diff --git a/library/cpp/testing/common/ut/ya.make b/library/cpp/testing/common/ut/ya.make
deleted file mode 100644
index 100c42f835..0000000000
--- a/library/cpp/testing/common/ut/ya.make
+++ /dev/null
@@ -1,12 +0,0 @@
-GTEST()
-SRCS(
- env_ut.cpp
- network_ut.cpp
- scope_ut.cpp
-)
-
-PEERDIR(
- library/cpp/testing/common
-)
-
-END()
diff --git a/library/cpp/testing/common/ya.make b/library/cpp/testing/common/ya.make
deleted file mode 100644
index c0ec98af53..0000000000
--- a/library/cpp/testing/common/ya.make
+++ /dev/null
@@ -1,16 +0,0 @@
-LIBRARY()
-
-SRCS(
- env.cpp
- network.cpp
- probe.cpp
- scope.cpp
-)
-
-PEERDIR(
- library/cpp/json
-)
-
-END()
-
-RECURSE_FOR_TESTS(ut)
diff --git a/library/cpp/testing/gbenchmark_main/ya.make b/library/cpp/testing/gbenchmark_main/ya.make
deleted file mode 100644
index e5fefc54d0..0000000000
--- a/library/cpp/testing/gbenchmark_main/ya.make
+++ /dev/null
@@ -1,12 +0,0 @@
-LIBRARY()
-
-SRCS(
- main.cpp
-)
-
-PEERDIR(
- contrib/libs/benchmark
- library/cpp/testing/hook
-)
-
-END()
diff --git a/library/cpp/testing/gmock_in_unittest/example_ut/ya.make b/library/cpp/testing/gmock_in_unittest/example_ut/ya.make
deleted file mode 100644
index 38d3aae811..0000000000
--- a/library/cpp/testing/gmock_in_unittest/example_ut/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-UNITTEST()
-
-PEERDIR(
- library/cpp/testing/gmock_in_unittest
-)
-
-SRCS(
- example_ut.cpp
-)
-
-END()
diff --git a/library/cpp/testing/gmock_in_unittest/ya.make b/library/cpp/testing/gmock_in_unittest/ya.make
deleted file mode 100644
index cd2fa65b48..0000000000
--- a/library/cpp/testing/gmock_in_unittest/ya.make
+++ /dev/null
@@ -1,19 +0,0 @@
-LIBRARY()
-
-PEERDIR(
- contrib/restricted/googletest/googlemock
- contrib/restricted/googletest/googletest
- library/cpp/testing/gtest_extensions
- library/cpp/testing/unittest
-)
-
-SRCS(
- events.cpp
- GLOBAL registration.cpp
-)
-
-END()
-
-RECURSE_FOR_TESTS(
- example_ut
-)
diff --git a/library/cpp/testing/gtest/ut/ya.make b/library/cpp/testing/gtest/ut/ya.make
deleted file mode 100644
index d06bbefd49..0000000000
--- a/library/cpp/testing/gtest/ut/ya.make
+++ /dev/null
@@ -1,15 +0,0 @@
-GTEST()
-SRCS(
- matchers_ut.cpp
- ut.cpp
-)
-
-DATA(
- arcadia/library/cpp/testing/gtest/ut/golden
-)
-
-PEERDIR(
- library/cpp/testing/hook
-)
-
-END()
diff --git a/library/cpp/testing/gtest/ya.make b/library/cpp/testing/gtest/ya.make
deleted file mode 100644
index 74beb1a051..0000000000
--- a/library/cpp/testing/gtest/ya.make
+++ /dev/null
@@ -1,22 +0,0 @@
-LIBRARY()
-
-PROVIDES(test_framework)
-
-SRCS(
- gtest.cpp
- main.cpp
- matchers.cpp
-)
-
-PEERDIR(
- contrib/restricted/googletest/googlemock
- contrib/restricted/googletest/googletest
- library/cpp/string_utils/relaxed_escaper
- library/cpp/testing/common
- library/cpp/testing/gtest_extensions
- library/cpp/testing/hook
-)
-
-END()
-
-RECURSE_FOR_TESTS(ut)
diff --git a/library/cpp/testing/gtest_extensions/ut/ya.make b/library/cpp/testing/gtest_extensions/ut/ya.make
deleted file mode 100644
index 61c20583b4..0000000000
--- a/library/cpp/testing/gtest_extensions/ut/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-GTEST()
-SRCS(
- gtest_extensions_ut.cpp
- probe_ut.cpp
-)
-
-PEERDIR(
- library/cpp/testing/gtest_extensions
-)
-
-END()
diff --git a/library/cpp/testing/gtest_extensions/ya.make b/library/cpp/testing/gtest_extensions/ya.make
deleted file mode 100644
index e954914d78..0000000000
--- a/library/cpp/testing/gtest_extensions/ya.make
+++ /dev/null
@@ -1,17 +0,0 @@
-LIBRARY()
-PEERDIR(
- contrib/restricted/googletest/googlemock
- contrib/restricted/googletest/googletest
-)
-
-SRCS(
- assertions.cpp
- gtest_extensions.cpp
- matchers.cpp
- pretty_printers.cpp
- probe.cpp
-)
-
-END()
-
-RECURSE_FOR_TESTS(ut)
diff --git a/library/cpp/testing/gtest_main/ya.make b/library/cpp/testing/gtest_main/ya.make
deleted file mode 100644
index e005ab9237..0000000000
--- a/library/cpp/testing/gtest_main/ya.make
+++ /dev/null
@@ -1,11 +0,0 @@
-LIBRARY()
-
-SRCS(
- main.cpp
-)
-
-PEERDIR(
- library/cpp/testing/gtest
-)
-
-END()
diff --git a/library/cpp/testing/hook/ya.make b/library/cpp/testing/hook/ya.make
deleted file mode 100644
index a5935ceb87..0000000000
--- a/library/cpp/testing/hook/ya.make
+++ /dev/null
@@ -1,6 +0,0 @@
-LIBRARY()
-SRCS(
- hook.cpp
-)
-
-END()
diff --git a/library/cpp/testing/mock_server/ya.make b/library/cpp/testing/mock_server/ya.make
deleted file mode 100644
index 4b9fc8371d..0000000000
--- a/library/cpp/testing/mock_server/ya.make
+++ /dev/null
@@ -1,14 +0,0 @@
-LIBRARY()
-
-PEERDIR(
- library/cpp/http/misc
- library/cpp/http/server
-)
-
-SRCS(
- server.cpp
-)
-
-END()
-
-RECURSE_FOR_TESTS(ut)
diff --git a/library/cpp/testing/unittest/fat/ya.make b/library/cpp/testing/unittest/fat/ya.make
deleted file mode 100644
index 464f26818f..0000000000
--- a/library/cpp/testing/unittest/fat/ya.make
+++ /dev/null
@@ -1,17 +0,0 @@
-UNITTEST()
-
-SRCS(
- test_port_manager.cpp
-)
-
-SIZE(LARGE)
-
-# We need to run tests at the same time on the single machine
-FORK_SUBTESTS()
-
-TAG(
- ya:fat
- ya:force_sandbox
-)
-
-END()
diff --git a/library/cpp/testing/unittest/pytests/test_subject/ya.make b/library/cpp/testing/unittest/pytests/test_subject/ya.make
deleted file mode 100644
index c9990b674f..0000000000
--- a/library/cpp/testing/unittest/pytests/test_subject/ya.make
+++ /dev/null
@@ -1,13 +0,0 @@
-UNITTEST()
-
-TAG(ya:manual)
-
-SRCS(
- tests.cpp
-)
-
-PEERDIR(
- library/cpp/testing/unittest
-)
-
-END()
diff --git a/library/cpp/testing/unittest/pytests/ya.make b/library/cpp/testing/unittest/pytests/ya.make
deleted file mode 100644
index bbc1c9dec3..0000000000
--- a/library/cpp/testing/unittest/pytests/ya.make
+++ /dev/null
@@ -1,21 +0,0 @@
-PY3TEST()
-
-SIZE(MEDIUM)
-
-TEST_SRCS(
- test_tear_down.py
-)
-
-PEERDIR(
- library/python/testing/yatest_common
-)
-
-DEPENDS(
- library/cpp/testing/unittest/pytests/test_subject
-)
-
-END()
-
-RECURSE(
- test_subject
-)
diff --git a/library/cpp/testing/unittest/ut/ya.make b/library/cpp/testing/unittest/ut/ya.make
deleted file mode 100644
index 86efa0d788..0000000000
--- a/library/cpp/testing/unittest/ut/ya.make
+++ /dev/null
@@ -1,8 +0,0 @@
-UNITTEST_FOR(library/cpp/testing/unittest)
-
-SRCS(
- main.cpp
- registar_ut.cpp
-)
-
-END()
diff --git a/library/cpp/testing/unittest/ya.make b/library/cpp/testing/unittest/ya.make
deleted file mode 100644
index f9fa7a09b3..0000000000
--- a/library/cpp/testing/unittest/ya.make
+++ /dev/null
@@ -1,31 +0,0 @@
-LIBRARY()
-
-PROVIDES(test_framework)
-
-PEERDIR(
- contrib/libs/libxml
- library/cpp/colorizer
- library/cpp/dbg_output
- library/cpp/diff
- library/cpp/json/writer
- library/cpp/testing/common
- library/cpp/testing/hook
-)
-
-SRCS(
- gtest.cpp
- checks.cpp
- junit.cpp
- plugin.cpp
- registar.cpp
- tests_data.cpp
- utmain.cpp
-)
-
-END()
-
-RECURSE_FOR_TESTS(
- fat
- pytests
- ut
-)
diff --git a/library/cpp/testing/unittest_main/ya.make b/library/cpp/testing/unittest_main/ya.make
deleted file mode 100644
index 8502296143..0000000000
--- a/library/cpp/testing/unittest_main/ya.make
+++ /dev/null
@@ -1,12 +0,0 @@
-LIBRARY()
-
-PEERDIR(
- library/cpp/testing/unittest
- library/cpp/terminate_handler
-)
-
-SRCS(
- main.cpp
-)
-
-END()