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

400 Commits

Author SHA1 Message Date
bel
ba1c07d7bb Increase test timeout
There are still tests exceeding the 10 second limit,
although they usually take 1 second.
e.g. https://travis-ci.org/civetweb/civetweb/jobs/76692175
2015-08-22 21:04:02 +02:00
bel2125
30afbf03f7 Set a minumum test timeout for all unit tests
See #94 (https://github.com/civetweb/civetweb/issues/94#issuecomment-131843701)
2015-08-17 19:15:09 +02:00
bel
86cc4c9e4b Set #ifdef for unused variable 2015-08-17 00:51:00 +02:00
bel
03e65fa601 Increase test timeout for server tests 2015-08-17 00:29:12 +02:00
bel
5c94f638a7 Add wss:// to unit test 2015-08-17 00:04:55 +02:00
bel
3257b82e68 Correct some #ifdef conditions in the unit test 2015-08-16 13:41:29 +02:00
bel
b125f0aab1 Add unit test for mg_start_thread 2015-08-16 12:59:51 +02:00
hansipie
d0bd16794d Compilation Fix
Conditionnal compilation around use of ws_client3_data. It is defined
only in case of  USE_WEBSOCKET
2015-08-13 03:00:48 +02:00
bel
2a26c4ca7e Use content variable in unit test for unencrypted files 2015-08-12 22:21:36 +02:00
bel
4e92540165 Add unit test for gzip-ed files
See #189
2015-08-12 22:13:02 +02:00
bel
94b38ccc65 Add zipped test file 2015-08-12 21:50:38 +02:00
bel
40817a350a Autoformat unit test 2015-08-12 00:29:51 +02:00
bel2125
4c9571b967 Add TODO mark for analysis of websocket locking issues on Linux 2015-08-09 23:12:11 +02:00
bel2125
c3b56146c3 Local unit test: consolidate path for Linux 2015-08-09 22:55:48 +02:00
bel
73f8dfbfea Test API function to check available features 2015-08-09 21:41:18 +02:00
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
19c4b48d94 Add some URIs to unit test 2015-08-06 23:12:14 +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
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
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
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
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
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
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
b02732e098 Unit test for SSL 2015-08-01 22:57:26 +02:00
bel
224c0ebb88 Use IPv4 and IPv6 in the unit test 2015-07-31 22:53:13 +02:00
bel
578284e07d IPv6 is not always enabled 2015-07-31 21:43:17 +02:00
bel
b904a49127 Try CI tests for IPv6 2015-07-31 21:38:13 +02:00