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

31 Commits

Author SHA1 Message Date
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
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
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
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
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