forked from irods/irods
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ 7104] Add API tests for rc_replica_truncate
This adds a basic set of tests for the new replica_truncate API, including: - Basic tests for targeting a single replica with non-boundary size values - Basic tests for targeting a replica in a replication hierarchy with non-boundary size values - Test for targeting a replica for truncate while in intermediate state - Invalid input tests
- Loading branch information
Showing
4 changed files
with
849 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
set(IRODS_TEST_TARGET irods_replica_truncate) | ||
|
||
set(IRODS_TEST_SOURCE_FILES ${CMAKE_CURRENT_SOURCE_DIR}/src/main.cpp | ||
${CMAKE_CURRENT_SOURCE_DIR}/src/test_replica_truncate.cpp) | ||
|
||
set(IRODS_TEST_INCLUDE_PATH ${IRODS_EXTERNALS_FULLPATH_BOOST}/include) | ||
|
||
set(IRODS_TEST_LINK_LIBRARIES irods_common | ||
irods_client | ||
irods_plugin_dependencies | ||
${IRODS_EXTERNALS_FULLPATH_BOOST}/lib/libboost_filesystem.so | ||
${IRODS_EXTERNALS_FULLPATH_BOOST}/lib/libboost_system.so | ||
fmt::fmt) |
Oops, something went wrong.