Skip to content

Commit

Permalink
feat: remove test demo
Browse files Browse the repository at this point in the history
  • Loading branch information
L-Super committed Oct 3, 2024
1 parent 8ac67cc commit f09b994
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 39 deletions.
10 changes: 2 additions & 8 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,10 @@ FetchContent_Declare(
)
FetchContent_MakeAvailable(Catch2)

add_executable(UnitTest test.cpp)
target_link_libraries(UnitTest PRIVATE Catch2::Catch2WithMain)

add_test(NAME UnitTest
COMMAND $<TARGET_FILE:UnitTest> --success
)

add_executable(DownloadTaskTest DownloadTaskTest.cpp)
target_link_libraries(DownloadTaskTest PRIVATE Catch2::Catch2WithMain)

add_test(NAME DownloadTaskTest
COMMAND $<TARGET_FILE:UnitTest> --success
COMMAND $<TARGET_FILE:DownloadTaskTest> --success
)
)
31 changes: 0 additions & 31 deletions tests/test.cpp

This file was deleted.

0 comments on commit f09b994

Please sign in to comment.