-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
140 additions
and
74 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
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 |
---|---|---|
@@ -1,5 +1,9 @@ | ||
|
||
add_executable(test_socketlib test_socketlib.cpp) | ||
target_link_libraries(test_socketlib PRIVATE simple_socket Catch2::Catch2WithMain) | ||
add_executable(test_tcp test_tcp.cpp) | ||
target_link_libraries(test_tcp PRIVATE simple_socket Catch2::Catch2WithMain) | ||
|
||
|
||
add_executable(test_udp test_udp.cpp) | ||
target_link_libraries(test_udp PRIVATE simple_socket Catch2::Catch2WithMain) | ||
|
||
add_subdirectory(integration) |
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 |
---|---|---|
@@ -1,11 +1,11 @@ | ||
|
||
add_executable(run_server run_server.cpp) | ||
target_link_libraries(run_server PRIVATE simple_socket) | ||
add_executable(run_tcp_server run_tcp_server.cpp) | ||
target_link_libraries(run_tcp_server PRIVATE simple_socket) | ||
|
||
add_executable(run_client run_client.cpp) | ||
target_link_libraries(run_client PRIVATE simple_socket) | ||
add_executable(run_tcp_client run_tcp_client.cpp) | ||
target_link_libraries(run_tcp_client PRIVATE simple_socket) | ||
|
||
if (UNIX) | ||
target_link_libraries(run_server PRIVATE pthread) | ||
target_link_libraries(run_client PRIVATE pthread) | ||
target_link_libraries(run_tcp_server PRIVATE pthread) | ||
target_link_libraries(run_tcp_client PRIVATE pthread) | ||
endif () |
4 changes: 2 additions & 2 deletions
4
tests/integration/run_client.cpp → tests/integration/run_tcp_client.cpp
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
Oops, something went wrong.