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

448 Commits

Author SHA1 Message Date
bel
3082e09033 Adapt unit test for rewritten alloc_vprintf function 2015-12-30 00:36:20 +01:00
bel
aae7646e90 Cache control (see also #201) (Step 1/?) 2015-12-13 22:52:29 +01:00
bel
66aa28b234 Add a bad lua script and a bad lua page for test purposes 2015-11-28 23:05:59 +01:00
bel2125
1473a00ce2 Add Lua script to exit the server 2015-11-27 20:10:10 +01:00
bel
bbbe470d9f Unit tests: rename all test case instances 2015-11-26 23:39:20 +01:00
bel
4bc859d665 Fix copy/paste error in unit test 2015-11-26 22:40:39 +01:00
bel
dddb5cf235 Fix typing error in unit test 2015-11-26 22:34:04 +01:00
bel
4c8979c077 Some code is unreachable in the unit test - disable the clang compiler warning at these lines 2015-11-26 22:28:14 +01:00
bel
1efb65f20b Unit test: mask_data is only available if built with websocket support 2015-11-26 22:23:20 +01:00
bel
c7d5e24f92 Fix signed/unsigned comp in unit test 2015-11-25 23:51:22 +01:00
bel
87e8f2e8c2 Remove TODO mark 2015-11-25 23:37:29 +01:00
bel
641a742128 Add helper funktion for mask_data and enhance test for websocket clients 2015-11-25 23:18:33 +01:00
bel
183e96bed9 Fix unit test 2015-11-12 22:22:14 +01:00
bel
6ecc57fa23 Fix unit tests 2015-11-10 21:03:33 +01:00
bel
37a48e0f14 Fix unit tests 2015-11-10 20:58:09 +01:00
bel
7dd91a2367 Fix warning in test 2015-11-09 23:11:15 +01:00
bel
ada9d9b00b Client API using SSL certificates (draft, Step 1/?) 2015-11-01 22:57:55 +01:00
bel
69f222f3d4 Add some server unit tests 2015-11-01 19:54:02 +01:00
bel
9a9a424511 Duktape: Add http_headers 2015-10-12 21:23:59 +02:00
bel
870772a0b7 Duktape: Add test for civetweb.getoption 2015-10-09 22:27:31 +02:00
bel
e9860d7180 Duktape example: show content of civetweb specific javascript objects 2015-10-09 21:43:16 +02:00
bel
4189a556ab Fix Duktape test: rename function in test 2015-10-09 20:33:14 +02:00
bel
799a8e0f19 Duktape: Store connection object as internal property on the Ecmascript function object
According to hint in https://github.com/svaarala/duktape/issues/392#issuecomment-145301651
2015-10-05 21:36:06 +02:00
bel
4de9090577 Apply revised clang-format (#207) to all actively maintained source files 2015-10-05 20:58:14 +02:00
bel
9308cbd16d Duktape: Create 'conn' object with 'read' and 'write' function 2015-10-04 21:07:57 +02:00
bel
8e7d98c8e7 Duktape: use mg_malloc/mg_realloc/mg_free 2015-10-03 23:48:53 +02:00
bel
0c7c7ed678 Fix some TODOs and auto-format code 2015-10-01 23:52:36 +02:00
bel2125
b806e83762 Experimental support for duktape (Step 5/?) 2015-09-25 23:44:48 +02:00
bel
4ab1e763ac Experimental support for duktape (Step 4/?) 2015-09-21 22:26:04 +02:00
bel
72204bdc0f Experimental support for duktape (Step 2/?) 2015-09-21 21:02:08 +02:00
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