utf8case included

Former-commit-id: a330ce0a63a7f0b452eb95273321f165894849f4
This commit is contained in:
Rafał Jaworski 2014-04-24 12:04:37 +02:00
parent 04d3a1c864
commit 93c3f50b14
7 changed files with 6 additions and 16 deletions

View File

@ -43,7 +43,7 @@ file(MAKE_DIRECTORY ${PROD_RESOURCES_DIRECTORY}/temp)
SET(CMAKE_INSTALL_RPATH "${CMAKE_INSTALL_PREFIX}/lib")
set(BASE_TARGETS concordia utf8case)
set(BASE_TARGETS concordia)
@ -150,7 +150,7 @@ endforeach(dir)
# Tests
# ================================================
set(TESTS_TARGETS concordia-tests utf8case-tests)
set(TESTS_TARGETS concordia-tests)
add_subdirectory(tests)

View File

@ -11,6 +11,9 @@ add_library(concordia-tests
test_concordia_index.cpp
test_concordia_config.cpp
test_concordia.cpp
range_based_case_converter_tests.cpp
simple_convert_tests.cpp
special_casing_converter_tests.cpp
)
target_link_libraries(concordia-tests concordia ${LIBCONFIG_LIB} concordia-tests-common)
target_link_libraries(concordia-tests concordia ${LIBCONFIG_LIB} concordia-tests-common utf8case)

View File

@ -25,8 +25,4 @@ BOOST_AUTO_TEST_CASE( special_casing_converter ) {
BOOST_CHECK_EQUAL(converter.convert(ESZET_CODE_POINT), "SS");
}
BOOST_AUTO_TEST_CASE( special_casing_converter2 ) {
BOOST_CHECK_EQUAL("SS", "SS");
}
BOOST_AUTO_TEST_SUITE_END()

View File

@ -9,8 +9,6 @@ add_library(utf8case SHARED
turkish_and_azeri_upper_contextual_case_converter.cpp
)
add_subdirectory(t)
install(TARGETS utf8case DESTINATION lib/)
install(FILES
case_converter_factory.hpp

View File

@ -1,7 +0,0 @@
add_library(utf8case-tests
range_based_case_converter_tests.cpp
simple_convert_tests.cpp
special_casing_converter_tests.cpp
)
target_link_libraries(utf8case-tests utf8case)