1
0
mirror of https://github.com/lammertb/libhttp.git synced 2025-12-22 04:02:04 +03:00
Commit Graph

2630 Commits

Author SHA1 Message Date
bel
c27d976160 Unit test: set timeout using 'tcase_set_timeout' 2015-08-09 01:06:54 +02:00
bel
6171a73183 Unit test: remove printf again, since they do not help
Travis CI fails with "(after this point) Test timeout expired"
The idea was to print something to stdout every some seconds,
but this does not help. Thus, the printf lines are removed again.
2015-08-09 00:58:41 +02:00
bel
376ea12aeb Unit test: print something from the unit test, so test frameworks do not consider the test as hanging 2015-08-09 00:43:03 +02:00
bel
5cad205b02 Unit test: rename wait function 2015-08-09 00:13:30 +02:00
bel
813ff0955e Unit test: rewrite wait for websocket messages 2015-08-09 00:10:38 +02:00
bel
559a9cad03 Unit test: also the unit test must be warning free for all compilers 2015-08-08 23:38:11 +02:00
bel
c1b179c437 Unit test: also the unit test must be warning free 2015-08-08 23:28:53 +02:00
bel
e43de03ee8 Unit test: also the unit test must be warning free 2015-08-08 23:24:45 +02:00
bel
bcf7f23742 Unit test: Add test for websocket server and client 2015-08-08 22:50:37 +02:00
bel
052f7d33b3 Unit test: create a function for locating the ssl cert in different test environments 2015-08-08 21:12:38 +02:00
bel
26d3671ad7 Appveyor: download SSL only if it does not exist 2015-08-07 21:13:46 +02:00
bel
386cf41afa Appveyor: download SSL only if it does not exist 2015-08-07 20:55:30 +02:00
bel
b5e339537b Appveyor: openSSL must be installed every time
Otherwise the CI tests will stop with error
load_dll: cannot load libeay32.dll
2015-08-07 09:37:35 +02:00
bel
19c4b48d94 Add some URIs to unit test 2015-08-06 23:12:14 +02:00
bel
6194402179 Remove some unused functions in NO_FILES build 2015-08-06 22:59:20 +02:00
bel
2c5025f52d Adapt unit test for NO_FILES build
A PUT request without login will return 401 (Not Authorized) if there is a file system,
and 405 (Method Not Allowed) if there is no file system (= NO_FILES defined).
2015-08-06 22:49:22 +02:00
bel
516e40e607 Do not always download SSL for the windows unit test 2015-08-06 22:43:58 +02:00
bel
66b16a3918 Adapt unit tests for NO_FILES build 2015-08-06 22:37:49 +02:00
bel
1ce17d34da Adapt unit tests for NO_FILES build 2015-08-06 22:34:46 +02:00
bel
132f9ddd18 Autoformat source of unit test file 2015-08-06 22:20:40 +02:00
bel
e0ab54210f Remove some unused functions in NO_FILES build 2015-08-06 22:19:46 +02:00
bel
3730522af5 Remove some unused functions in NO_FILES build 2015-08-06 22:17:35 +02:00
bel
7820068584 Remove some unused functions in NO_FILES build 2015-08-06 22:02:34 +02:00
bel
e544929db6 Yet another attempt to handle the different directory structures in the different CI test environments 2015-08-06 21:53:42 +02:00
bel
8ccbe6b830 Remove some unused variables in NO_FILES build 2015-08-06 21:46:33 +02:00
bel
358c7dca50 Fix the unit test environment check 2015-08-06 00:30:04 +02:00
bel
f8a7aa9d3c Try another path to the SSL cert in the CI test environment 2015-08-06 00:17:15 +02:00
bel
d6fd94f2c9 Split public unit test into server tests and function tests (Step 4) 2015-08-04 22:53:18 +02:00
bel
cc69fa5e73 Split public unit test into server tests and function tests (Step 3) 2015-08-04 22:50:08 +02:00
bel
57e0bcb743 Split public unit test into server tests and function tests (Step 2) 2015-08-04 22:45:19 +02:00
bel
f08f7ec8bd Fix copy/paste error 2015-08-04 22:31:48 +02:00
bel
29e2d1a6e9 Split public unit tests into function tests and server tests 2015-08-04 22:17:29 +02:00
bel
894187da09 Duplicate public unit test in order to split it into server and function tests 2015-08-04 22:04:21 +02:00
bel
bd494bb807 Additional check for SSL_get_error
See https://www.openssl.org/docs/ssl/SSL_get_error.html and #184
2015-08-04 19:22:57 +02:00
bel2125
7c7313f36e Merge pull request #186 from vcatechnology/travis-serve-no-files
Travis build to test NO_FILES compilation
2015-08-03 20:41:33 +02:00
bel2125
77993e2f6f Merge pull request #185 from vcatechnology/test-directory
Test directory
2015-08-03 20:40:14 +02:00
Matt Clarkson
9fb4fa992f Travis build to test NO_FILES compilation
This adds a build variant for testing the NO_FILES preprocessor build flag
2015-08-03 10:51:40 +01:00
Matt Clarkson
0708d4c42c Method to get the current testing directory
This is useful to find the testing directory of the project during the
check tests so that fixtures and expected results can be read
2015-08-03 10:41:49 +01:00
Matt Clarkson
240c6ac79a Resolve unused variable warning/error
When websockets or Lua are not compiled in then the two variables are not
used in the testing. We can put them inside the preprocessor defines
2015-08-03 10:37:39 +01:00
bel
66fa33f45a Add a test for the test environment 2015-08-02 23:52:49 +02:00
bel
bf80e25592 unit test: Split request tests from HTTP test suite 2015-08-02 22:27:08 +02:00
bel
b1924ecd99 Système D for checking why HTTPS does not run on travis and appveyor 2015-08-02 22:09:53 +02:00
bel2125
36bc9c48a5 HTTPS has to work in CI test environment 2015-08-02 13:20:04 +02:00
bel
76c226324b Appveyor: install openssl 2015-08-02 00:32:25 +02:00
bel
37e6e186e3 Unit test: Need int cast for clang 2015-08-02 00:03:13 +02:00
bel
3b12b43da4 Add unit tests for SSL redirects 2015-08-01 23:52:00 +02:00
bel
86842f88f3 Check build environment in build scripts 2015-08-01 23:16:31 +02:00
bel
b02732e098 Unit test for SSL 2015-08-01 22:57:26 +02:00
bel
336d579911 Set err for debug error message 2015-08-01 22:10:11 +02:00
bel
693b3ebcc7 SSL_write error handling (like SSL_read) 2015-08-01 22:07:18 +02:00