Skip to content

Commit c72f4a4

Browse files
committed
Add tests for library/cpp/string_utils into listfile (#202)
1 parent d9dbf99 commit c72f4a4

File tree

3 files changed

+37
-1
lines changed

3 files changed

+37
-1
lines changed

library/cpp/string_utils/quote/CMakeLists.txt

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,18 @@
1+
if (YDB_SDK_TESTS)
2+
add_ydb_test(NAME string_utils-quote-ut
3+
SOURCES
4+
quote_ut.cpp
5+
LINK_LIBRARIES
6+
string_utils-quote
7+
cpp-testing-unittest_main
8+
LABELS
9+
unit
10+
)
11+
endif()
12+
113
_ydb_sdk_add_library(string_utils-quote)
214

3-
target_link_libraries(string_utils-quote
15+
target_link_libraries(string_utils-quote
416
PUBLIC
517
yutil
618
)

library/cpp/string_utils/relaxed_escaper/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
if (YDB_SDK_TESTS)
2+
add_ydb_test(NAME string_utils-relaxed_escaper-ut
3+
SOURCES
4+
relaxed_escaper_ut.cpp
5+
LINK_LIBRARIES
6+
string_utils-relaxed_escaper
7+
cpp-testing-unittest_main
8+
LABELS
9+
unit
10+
)
11+
endif()
12+
113
_ydb_sdk_add_library(string_utils-relaxed_escaper)
214

315
target_link_libraries(string_utils-relaxed_escaper

library/cpp/string_utils/url/CMakeLists.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
if (YDB_SDK_TESTS)
2+
add_ydb_test(NAME string_utils-url-ut
3+
SOURCES
4+
url_ut.cpp
5+
LINK_LIBRARIES
6+
string_utils-url
7+
cpp-testing-unittest_main
8+
LABELS
9+
unit
10+
)
11+
endif()
12+
113
_ydb_sdk_add_library(string_utils-url)
214

315
target_link_libraries(string_utils-url

0 commit comments

Comments
 (0)