bel
9a69a05905
Update source code format details
2015-09-06 21:03:52 +02:00
bel
8165305549
Rearrange definition of main for exe test
2015-09-04 22:10:14 +02:00
bel
41331e29c6
Add shared test to Visual Studio and format script
2015-09-04 21:25:48 +02:00
bel
6cc1f017f2
Fix wrong include guard in exe test
2015-09-04 20:32:19 +02:00
bel
acdec461ab
Disable Microsoft does not like standard C library functions warning for all tests
2015-09-04 20:10:44 +02:00
bel2125
f8cd0ab565
Auto-format test main
2015-09-03 22:32:00 +02:00
bel2125
db985a162b
Add exe test suite and make CI testing more verbose
2015-09-03 22:29:11 +02:00
bel
e29dbdc5a0
Support absolute uri ( #197 ) - (Step 6/?)
2015-09-02 23:53:38 +02:00
bel
ac14cd6d7b
Make CTest verbose to check errors on the build server
2015-09-02 20:13:36 +02:00
bel
a65d852a09
Third attempt to avoid a implicit declaration of function ‘realpath’ error on the remote build server
2015-09-01 23:05:00 +02:00
bel
5cf6afbaeb
Disable Wimplicit-function-declaration for executable test build on CI build server
2015-09-01 22:56:16 +02:00
bel
1e0745cda2
Move redefinition of main to test header
2015-08-30 22:20:42 +02:00
bel
bb855fe6c4
First unit test for main.c
2015-08-30 21:25:52 +02:00
bel
9de3f4fdd0
Add unit test for main.c
2015-08-30 21:19:38 +02:00
bel2125
c9bb894b84
Redirect stderr of CGI process to error log (Step 3/3)
2015-08-27 21:52:59 +02:00
bel
d8adf7d640
Redirect stderr of CGI process to error log (Step 2/3)
2015-08-25 23:48:15 +02:00
bel
ac3968c850
Add patch of pull request #196 to unit_test.c
...
The pull request can not be applied automatically, due to merge conflicts.
It is easier to change the few lines manually than to resolve all these conflicts.
2015-08-25 22:02:20 +02:00
bel2125
533eac37cd
Add library test for Lua5.3
2015-08-24 22:31:50 +02:00
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