diff options
author | Mattes D <github@xoft.cz> | 2016-08-22 19:53:34 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2016-08-22 23:44:36 +0200 |
commit | 641cb063bc71acc7f29d25b12c8713a8beb2018c (patch) | |
tree | 0cc4578cfcdc3969f689f974706c78d2dd15b00f /tests/HTTP/CMakeLists.txt | |
parent | UrlClient: Basic HTTP implementation. (diff) | |
download | cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar.gz cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar.bz2 cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar.lz cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar.xz cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.tar.zst cuberite-641cb063bc71acc7f29d25b12c8713a8beb2018c.zip |
Diffstat (limited to 'tests/HTTP/CMakeLists.txt')
-rw-r--r-- | tests/HTTP/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/HTTP/CMakeLists.txt b/tests/HTTP/CMakeLists.txt index 1e2eb356a..cb2329adc 100644 --- a/tests/HTTP/CMakeLists.txt +++ b/tests/HTTP/CMakeLists.txt @@ -2,6 +2,7 @@ enable_testing() include_directories(${CMAKE_SOURCE_DIR}/src/) include_directories(${CMAKE_SOURCE_DIR}/lib/libevent/include) +include_directories(${CMAKE_SOURCE_DIR}/lib/polarssl/include) add_definitions(-DTEST_GLOBALS=1) @@ -75,6 +76,9 @@ add_test(NAME HTTPMessageParser_file-test3-2 COMMAND HTTPMessageParser_file-exe # 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 ${CMAKE_CURRENT_SOURCE_DIR}/HTTPRequest1.data 512) +# Test the URLClient +add_test(NAME UrlClient-test COMMAND UrlClientTest-exe) + |