summaryrefslogtreecommitdiff
path: root/tests/unit/curlcheck.h
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixesViktor Szakats2018-09-231-1/+0
| | | | | | | | | | | - replace tabs with spaces where possible - remove line ending spaces - remove double/triple newlines at EOF - fix a non-UTF-8 character - cleanup a few indentations/line continuations in manual examples Closes https://github.com/curl/curl/pull/3037
* tests: fix -Wcast-qual warningsMarcel Raad2017-05-051-3/+4
| | | | Avoid casting string literals to non-const char *.
* tests: Fixed header files to comply with our code styleSteve Holme2016-04-031-2/+2
|
* unit: make unit test source code checksrc compliantDaniel Stenberg2016-04-031-8/+9
|
* URLs: change all http:// URLs to https://Daniel Stenberg2016-02-031-1/+1
|
* unit1600: unit test for Curl_ntlm_core_mk_nt_hashDaniel Stenberg2015-02-031-6/+8
|
* fix a bunch of MSVC compiler warningsYang Tse2011-09-031-2/+2
|
* sources: update source headersDaniel Stenberg2011-03-101-3/+15
| | | | | | All C and H files now (should) feature the proper project curl source code header, which includes basic info, a copyright statement and some basic disclaimers.
* The unit test argument is allowed to be usedDan Fandrich2011-03-041-2/+2
|
* Added abort_* unit test macrosDan Fandrich2011-03-041-0/+28
| | | | | These are for when a test failure makes it impossible to continue running further tests.
* Made unit_setup() return an error code to abort the test earlyDan Fandrich2011-01-051-3/+4
| | | | | | 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.
* curlcheck.h: add fail()Daniel Stenberg2011-01-041-0/+10
| | | | | 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.
* curlcheck.h: avoid using NULL pointersDaniel Stenberg2011-01-041-1/+1
|
* curlcheck.h: add verify_memoryDaniel Stenberg2011-01-041-0/+7
| | | | This check verifies that a pointer contains the correct data.
* curlcheck.h: add newlines in error messagesDaniel Stenberg2011-01-041-6/+6
|
* curlcheck.h: add fail_if() fix codeDaniel Stenberg2011-01-031-1/+10
| | | | | | 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.
* unittest: framework for unit-testingDaniel Stenberg2011-01-031-0/+31
This is the first approach at doing fairly clean and easy to write and debug unit tests.