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
bcf7f23742
Unit test: Add test for websocket server and client
2015-08-08 22:50:37 +02:00
bel
19c4b48d94
Add some URIs to unit test
2015-08-06 23:12:14 +02: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
f6b254e9a7
Unit test: url encoding in not unique
2015-07-25 18:05:11 +02:00
bel
7071633382
Fix copy/paste error in unit test
2015-07-25 17:54:45 +02:00
bel
82be785f9f
Fix bugs in unit tests
2015-07-25 14:50:55 +02:00
bel
8bc9bedd58
Fix signed/unsigned mix in unit tests
2015-07-25 14:31:31 +02:00
bel
1c2cd7dbbb
Add more unit tests
2015-07-25 14:20:54 +02:00
bel
5b19040a5c
Add test_parse_port_string unit test
2015-07-25 13:50:45 +02:00
bel
f3d028713e
Encoding/decoding test should also test url encoding
2015-07-25 13:23:33 +02:00
bel
8a65123257
Add some none non alpha string to the encoding/decoding test
2015-07-25 10:52:25 +02:00
bel
27645fb306
Fix warnings in unit test
2015-07-25 00:03:14 +02:00
bel
a6bc447564
Variables could be unused in unit test
2015-07-24 23:57:13 +02:00
bel
ff5d5c3db8
Add deleted ) in unit test
2015-07-24 23:53:13 +02:00
bel
7a3782455e
Add type casts to unit test
2015-07-24 23:49:04 +02:00
bel
3d62777232
Port more unit tests to the new framework
2015-07-24 23:33:27 +02:00
bel
7010b979a7
Add unit test for internal option parsing
2015-07-24 23:28:33 +02:00
bel
b88591df5a
Activate encoding unit test
2015-07-24 23:12:45 +02:00
bel
a77a97ec6c
Add some unit tests for encoding
2015-07-24 23:09:44 +02:00
bel
884e539a88
Mark copyright of copied/adapted functions
2015-07-24 21:44:28 +02:00
bel
e535313be9
Fix another 'Mircosoft does not like standard C' warning
2015-07-19 23:18:50 +02:00
bel
cbf97c0967
Autoformat public and private integration tests using clang-format
2015-07-19 22:58:05 +02:00
bel
4683073b5c
Add some CI tests
2015-07-19 00:15:19 +02:00
bel
b461763953
Add some CI tests
2015-07-18 23:16:53 +02:00
bel2125
915c9e6fe4
Merge pull request #173 from vcatechnology/license-update
...
Correct licenses for newly added files (do not copy paste licenses)
2015-07-17 16:28:30 +02:00
Matt Clarkson
a1c995f2a1
Update test file license
2015-07-15 21:11:12 +01:00
Matt Clarkson
37a9200d85
Ported remove double dots and slashes test
...
This will increase the coverage of the CTest results
2015-07-15 11:23:50 +01:00
Matt Clarkson
cf00506cb7
Ported match prefix test
...
Moving the test from unit_test.c to private.c allows the test to contribute
to the CTest process
2015-07-15 11:23:22 +01:00
Matt Clarkson
f59cf0a206
Make private tests symbols static
...
When testing the civetweb private APIs we need to make all the public
symbols static so that they do not conflict with the imported shared
library symbols.
2015-07-14 11:29:50 +01:00
Matt Clarkson
1d3b987a19
Pass a mutable string in unit test
...
This resolves a clang diagnostics warning due to parse_http_message
accepting 'char *' as it's first argument
2015-07-13 15:25:26 +01:00
Matt Clarkson
e2efdd804b
Ported parse_http_message unit test
2015-07-13 14:10:12 +01:00
Matt Clarkson
548baf792c
Added check unit tests
...
These use the excellent check unit testing framework to test the
civetweb public API
2015-07-09 21:05:37 +02:00