File tree Expand file tree Collapse file tree 2 files changed +124
-0
lines changed Expand file tree Collapse file tree 2 files changed +124
-0
lines changed Original file line number Diff line number Diff line change 1
1
if (YDB_SDK_TESTS )
2
2
add_subdirectory (coding/unittests )
3
3
add_subdirectory (containers/unittests )
4
+ add_subdirectory (memory/unittests )
4
5
endif ()
5
6
6
7
_ydb_sdk_add_library (yt-assert )
Original file line number Diff line number Diff line change
1
+ add_ydb_test (NAME yt-memory-atomic_intrusive_ptr_ut GTEST
2
+ SOURCES
3
+ atomic_intrusive_ptr_ut.cpp
4
+ LINK_LIBRARIES
5
+ yt-memory
6
+ GTest::gtest_main
7
+ GTest::gmock
8
+ LABELS
9
+ unit
10
+ )
11
+
12
+ add_ydb_test (NAME yt-memory-chunked_memory_pool_allocator_ut GTEST
13
+ SOURCES
14
+ chunked_memory_pool_allocator_ut.cpp
15
+ LINK_LIBRARIES
16
+ yt-memory
17
+ GTest::gtest_main
18
+ LABELS
19
+ unit
20
+ )
21
+
22
+ add_ydb_test (NAME yt-memory-chunked_memory_pool_output_ut GTEST
23
+ SOURCES
24
+ chunked_memory_pool_output_ut.cpp
25
+ LINK_LIBRARIES
26
+ yt-memory
27
+ GTest::gtest_main
28
+ LABELS
29
+ unit
30
+ )
31
+
32
+ add_ydb_test (NAME yt-memory-chunked_memory_pool_ut GTEST
33
+ SOURCES
34
+ chunked_memory_pool_ut.cpp
35
+ LINK_LIBRARIES
36
+ yt-memory
37
+ GTest::gtest_main
38
+ LABELS
39
+ unit
40
+ )
41
+ #[=[
42
+ TODO: missing the library `library/cpp/int128`
43
+ add_ydb_test(NAME yt-memory-erased_storage_ut GTEST
44
+ SOURCES
45
+ erased_storage_ut.cpp
46
+ LINK_LIBRARIES
47
+ yt-memory
48
+ GTest::gtest_main
49
+ LABELS
50
+ unit
51
+ )
52
+ #]=]
53
+ add_ydb_test (NAME yt-memory-free_list_ut GTEST
54
+ SOURCES
55
+ free_list_ut.cpp
56
+ LINK_LIBRARIES
57
+ yt-memory
58
+ GTest::gtest_main
59
+ LABELS
60
+ unit
61
+ )
62
+
63
+ add_ydb_test (NAME yt-memory-function_view_ut GTEST
64
+ SOURCES
65
+ function_view_ut.cpp
66
+ LINK_LIBRARIES
67
+ yt-memory
68
+ GTest::gtest_main
69
+ LABELS
70
+ unit
71
+ )
72
+
73
+ add_ydb_test (NAME yt-memory-intrusive_ptr_ut GTEST
74
+ SOURCES
75
+ intrusive_ptr_ut.cpp
76
+ LINK_LIBRARIES
77
+ yt-memory
78
+ GTest::gtest_main
79
+ GTest::gmock
80
+ LABELS
81
+ unit
82
+ )
83
+
84
+ add_ydb_test (NAME yt-memory-ref_ut GTEST
85
+ SOURCES
86
+ ref_ut.cpp
87
+ LINK_LIBRARIES
88
+ yt-memory
89
+ GTest::gtest_main
90
+ LABELS
91
+ unit
92
+ )
93
+
94
+ add_ydb_test (NAME yt-memory-safe_memory_reader_ut GTEST
95
+ SOURCES
96
+ safe_memory_reader_ut.cpp
97
+ LINK_LIBRARIES
98
+ yt-memory
99
+ GTest::gtest_main
100
+ LABELS
101
+ unit
102
+ )
103
+
104
+ add_ydb_test (NAME yt-memory-shared_range_ut GTEST
105
+ SOURCES
106
+ shared_range_ut.cpp
107
+ LINK_LIBRARIES
108
+ yt-memory
109
+ GTest::gtest_main
110
+ LABELS
111
+ unit
112
+ )
113
+
114
+ add_ydb_test (NAME yt-memory-weak_ptr_ut GTEST
115
+ SOURCES
116
+ weak_ptr_ut.cpp
117
+ LINK_LIBRARIES
118
+ yt-memory
119
+ GTest::gtest_main
120
+ GTest::gmock
121
+ LABELS
122
+ unit
123
+ )
You can’t perform that action at this time.
0 commit comments