-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tests] Add converted XrdEc test (MicroTest)
Adds converted XrdEc tests from CPPUnit to GTest. In addition, it adds the new references to the XrdEcTests class in the Reader and Zip class (as friend classes).
- Loading branch information
1 parent
467ff0b
commit 9066151
Showing
6 changed files
with
786 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
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
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,25 @@ | ||
add_executable(xrdec-unit-tests | ||
MicroTest.cc | ||
../common/Server.cc | ||
../common/Utils.cc | ||
../common/TestEnv.cc | ||
) | ||
|
||
target_link_libraries(xrdec-unit-tests | ||
XrdEc | ||
XrdCl | ||
XrdXml | ||
XrdUtils | ||
ZLIB::ZLIB | ||
GTest::GTest | ||
GTest::Main | ||
${ISAL_LIBRARIES} | ||
) | ||
|
||
target_include_directories(xrdec-unit-tests | ||
PRIVATE ${CMAKE_SOURCE_DIR}/src | ||
PRIVATE ../common | ||
${ISAL_INCLUDE_DIRS} | ||
) | ||
|
||
gtest_discover_tests(xrdec-unit-tests TEST_PREFIX XrdCl::) |
Oops, something went wrong.