Skip to content

Commit

Permalink
Refs #20392: Remove deprecated tests of fixed_size_string
Browse files Browse the repository at this point in the history
Signed-off-by: elianalf <62831776+elianalf@users.noreply.github.com>
  • Loading branch information
elianalf committed Feb 28, 2024
1 parent 8fcba87 commit e9c8b15
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 293 deletions.
7 changes: 1 addition & 6 deletions include/fastdds/dds/builtin/common/Types.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,7 @@ namespace fastdds {
namespace dds {
namespace rpc {

using InstanceName =
#if FASTCDR_VERSION_MAJOR == 1
fastcdr::string_255;
#else
fastcdr::string_255;
#endif // FASTCDR_VERSION_MAJOR == 1
using InstanceName = fastcdr::string_255;

enum RemoteExceptionCode_t
{
Expand Down
14 changes: 0 additions & 14 deletions test/unittest/utils/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ set(STRINGMATCHINGTESTS_SOURCE
${PROJECT_SOURCE_DIR}/src/cpp/utils/StringMatching.cpp
${PROJECT_SOURCE_DIR}/src/cpp/utils/SystemInfo.cpp)

set(FIXEDSIZESTRINGTESTS_SOURCE
FixedSizeStringTests.cpp)

set(BITMAPRANGETESTS_SOURCE
BitmapRangeTests.cpp)

Expand Down Expand Up @@ -72,17 +69,6 @@ endif()
gtest_discover_tests(StringMatchingTests)


add_executable(FixedSizeStringTests ${FIXEDSIZESTRINGTESTS_SOURCE})
target_compile_definitions(FixedSizeStringTests PRIVATE
$<$<AND:$<NOT:$<BOOL:${WIN32}>>,$<STREQUAL:"${CMAKE_BUILD_TYPE}","Debug">>:__DEBUG>
$<$<BOOL:${INTERNAL_DEBUG}>:__INTERNALDEBUG> # Internal debug activated.
)
target_include_directories(FixedSizeStringTests PRIVATE
${PROJECT_SOURCE_DIR}/include ${PROJECT_BINARY_DIR}/include)
target_link_libraries(FixedSizeStringTests fastcdr GTest::gtest ${MOCKS})
gtest_discover_tests(FixedSizeStringTests)


add_executable(BitmapRangeTests ${BITMAPRANGETESTS_SOURCE})
target_compile_definitions(BitmapRangeTests PRIVATE
$<$<AND:$<NOT:$<BOOL:${WIN32}>>,$<STREQUAL:"${CMAKE_BUILD_TYPE}","Debug">>:__DEBUG>
Expand Down
273 changes: 0 additions & 273 deletions test/unittest/utils/FixedSizeStringTests.cpp

This file was deleted.

0 comments on commit e9c8b15

Please sign in to comment.