Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-02-10 | netrc: Enable setting up the filename in unit tests. | Julien Chaffraix | |
Unset the environment variable so that we can specify different filenames in the unit test. | |||
2011-02-10 | test1304: Added some unit tests for Curl_parsenetrc. | Julien Chaffraix | |
Moved some definitons into the header file so that we can reuse them. | |||
2011-02-02 | unit1300: code style cleanup | Daniel Stenberg | |
2011-02-02 | adding unit tests for Curl_llist_remove | Amr Shahin | |
2011-01-22 | Fixed C++ style comment not allowed in ISO C90. | Guenter Knauf | |
2011-01-20 | unittest: add 3 tests to test1300 | Amr Shahin | |
Testing Curl_llist_insert_next | |||
2011-01-05 | Made unit_setup() return an error code to abort the test early | Dan Fandrich | |
This makes it possible to skip the call to unit_stop() in such cases. Also use Curl_safefree() in unit test 1302 so it will pass the memory torture test. | |||
2011-01-04 | unittest: 1303 tests Curl_timeleft | Daniel Stenberg | |
I came up with 33 different ways to call it and verify that it returns the correct return code. | |||
2011-01-04 | curlcheck.h: add fail() | Daniel Stenberg | |
fail is a new function/macro that a test case can use to indicate a test failure for cases when the standard macros are not sufficient. | |||
2011-01-04 | Fixed path to allow out-of-tree builds | Dan Fandrich | |
2011-01-04 | ignore: all executable unit test cases | Daniel Stenberg | |
2011-01-04 | unittest: test base64 encode/decode | Daniel Stenberg | |
2011-01-04 | curlcheck.h: avoid using NULL pointers | Daniel Stenberg | |
2011-01-04 | curlcheck.h: add verify_memory | Daniel Stenberg | |
This check verifies that a pointer contains the correct data. | |||
2011-01-04 | curlcheck.h: add newlines in error messages | Daniel Stenberg | |
2011-01-04 | unittest: verify curl_strequal | Daniel Stenberg | |
2011-01-03 | curlcheck.h: add fail_if() fix code | Daniel Stenberg | |
The UNITTEST_START and UNITTEST_STOP defines needed to do a new brace level so that test cases can declare variables fine and still remain fine C89 code. | |||
2011-01-03 | unittests: basic docs | Daniel Stenberg | |
2011-01-03 | ignore: unit test files | Daniel Stenberg | |
2011-01-03 | unittesting: build a separate static lib | Daniel Stenberg | |
When configure --enable-debug has been used, all files in lib/ are now built twice and a separate static library crafted for unit-testing will be linked. The unit tests in the tests/unit subdir will use that library. | |||
2011-01-03 | unittest: framework for unit-testing | Daniel Stenberg | |
This is the first approach at doing fairly clean and easy to write and debug unit tests. |