summaryrefslogtreecommitdiffstats
path: root/tests/HTTP/CMakeLists.txt
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-08-24 08:28:44 +0200
committerMattes D <github@xoft.cz>2016-08-24 08:28:44 +0200
commitc45bd4b968392eeeed3954d6b91dec7ae5833a0d (patch)
tree53c5a6a97c2a2ce8ec5c4984edbc855d396cd3b6 /tests/HTTP/CMakeLists.txt
parentMerge pull request #3310 from cuberite/UrlClient (diff)
downloadcuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar.gz
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar.bz2
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar.lz
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar.xz
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.tar.zst
cuberite-c45bd4b968392eeeed3954d6b91dec7ae5833a0d.zip
Diffstat (limited to '')
-rw-r--r--tests/HTTP/CMakeLists.txt13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/HTTP/CMakeLists.txt b/tests/HTTP/CMakeLists.txt
index cb2329adc..04e82caf9 100644
--- a/tests/HTTP/CMakeLists.txt
+++ b/tests/HTTP/CMakeLists.txt
@@ -44,11 +44,22 @@ endif()
+set (TEST_DATA_FILES
+ HTTPRequest1.data
+ HTTPRequest2.data
+ HTTPResponse1.data
+ HTTPResponse2.data
+)
+
+source_group("Data Files" FILES ${TEST_DATA_FILES})
+
+
+
# Define individual test executables:
# HTTPMessageParser_file: Feed file contents into a cHTTPResponseParser and print the callbacks as they're called:
-add_executable(HTTPMessageParser_file-exe HTTPMessageParser_file.cpp)
+add_executable(HTTPMessageParser_file-exe HTTPMessageParser_file.cpp ${TEST_DATA_FILES})
target_link_libraries(HTTPMessageParser_file-exe HTTP Network OSSupport)
# UrlClientTest: Tests the UrlClient class by requesting a few things off the internet: