summaryrefslogtreecommitdiffstats
path: root/tests/HTTP
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-13 19:57:25 +0100
committerMattes D <github@xoft.cz>2016-06-18 13:12:09 +0200
commitaa4b3ebf2f0165a20e636c9fba940649abadcb18 (patch)
tree6b1682ba3d4a2aedfcd2b0537332e208d7679247 /tests/HTTP
parentSelfTests: Fixed missing override keyword in EchoServer. (diff)
downloadcuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar.gz
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar.bz2
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar.lz
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar.xz
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.tar.zst
cuberite-aa4b3ebf2f0165a20e636c9fba940649abadcb18.zip
Diffstat (limited to '')
-rw-r--r--tests/HTTP/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/HTTP/CMakeLists.txt b/tests/HTTP/CMakeLists.txt
index 55552c095..76f768945 100644
--- a/tests/HTTP/CMakeLists.txt
+++ b/tests/HTTP/CMakeLists.txt
@@ -44,19 +44,19 @@ add_executable(HTTPMessageParser_file-exe HTTPMessageParser_file.cpp)
target_link_libraries(HTTPMessageParser_file-exe HTTP)
# Test parsing the response file in 2-byte chunks (should go from response line parsing through headers parsing to body parsing, each within a different step):
-add_test(NAME HTTPMessageParser_file-test1-2 COMMAND HTTPMessageParser_file-exe HTTPResponse1.data 2)
+add_test(NAME HTTPMessageParser_file-test1-2 COMMAND HTTPMessageParser_file-exe ${CMAKE_CURRENT_SOURCE_DIR}/HTTPResponse1.data 2)
# Test parsing the response file in 128-byte chunks (should parse response line and part of headers in one step, the rest in another step):
-add_test(NAME HTTPMessageParser_file-test1-128 COMMAND HTTPMessageParser_file-exe HTTPResponse1.data 128)
+add_test(NAME HTTPMessageParser_file-test1-128 COMMAND HTTPMessageParser_file-exe ${CMAKE_CURRENT_SOURCE_DIR}/HTTPResponse1.data 128)
# Test parsing a chunked-encoding response:
-add_test(NAME HTTPMessageParser_file-test2 COMMAND HTTPMessageParser_file-exe HTTPResponse2.data)
+add_test(NAME HTTPMessageParser_file-test2 COMMAND HTTPMessageParser_file-exe ${CMAKE_CURRENT_SOURCE_DIR}/HTTPResponse2.data)
# Test parsing the request file in 2-byte chunks (should go from request line parsing through headers parsing to body parsing, each within a different step):
-add_test(NAME HTTPMessageParser_file-test3-2 COMMAND HTTPMessageParser_file-exe HTTPRequest1.data 2)
+add_test(NAME HTTPMessageParser_file-test3-2 COMMAND HTTPMessageParser_file-exe ${CMAKE_CURRENT_SOURCE_DIR}/HTTPRequest1.data 2)
# Test parsing the request file in 512-byte chunks (should process everything in a single call):
-add_test(NAME HTTPMessageParser_file-test4-512 COMMAND HTTPMessageParser_file-exe HTTPRequest1.data 512)
+add_test(NAME HTTPMessageParser_file-test4-512 COMMAND HTTPMessageParser_file-exe ${CMAKE_CURRENT_SOURCE_DIR}/HTTPRequest1.data 512)