aboutsummaryrefslogtreecommitdiff
path: root/tests/unit/Makefile.inc
AgeCommit message (Collapse)Author
2013-03-15tests: add #96 #558 and #1330Yang Tse
These verfy that the 'memory tracking' subsystem is actually doing its job when using curl tool (#96), a test in libtest (#558) and also a unit test (#1330), in order to prevent regressions in this functionallity.
2013-01-20Makefile.inc: fix $(top_srcdir) not allowed in _SOURCES variablesYang Tse
2013-01-15build: use per-target '_CPPFLAGS' for those currently using defaultYang Tse
Automake documents that doing this will make it choose a different name for intermediate object files even when sharing source files across targets of same Makefile.am. Up to automake 1.13.1 target's intermediate object files were placed in the build subdirectory of the target. We depended on this, probably undocumented behavior, to achieve same behavior as if a per-target flag had been specified when building targets that actually belong to different Makefile.am files. It seems automake 1.13.2 is going to break behavior mentioned above. So, lets use a documented behavior in order to achieve same purpose, across automake versions, no matter where automake wishes to place intermediate object files. Our build targets that already were using a per-target '_CFLAGS' or '_CPPFLAGS' need no 'fixing', these were already 'fixed'. The only Makefile.am or Makefile.in files in libcurl's source tree touched by this 'fix' are tests/libtest/Makefile.inc and tests/unit/Makefile.inc.
2011-06-10splay: add unit testsDaniel Stenberg
The test code that was #ifdef'ed in the code was converted into unit tests in test case 1309. I also removed the #if 0'ed code from splay.c
2011-06-10unit test formpost: added test case 1308Daniel Stenberg
This is a few first rather basic tests of curl_formadd() and curl_formget(). Should serve as building blocks to add more variations to the test.
2011-06-01unit tests: more build adjustmentsYang Tse
2011-05-25unit tests: build adjustmentYang Tse
Also define UNITTESTS macro when building unit test sources. Fixing compiler warning: external definition with no prior declaration
2011-03-04Moved test 577 into the unit test framework as test 1307Dan Fandrich
2011-03-04Converted tests 558 & 559 to use the unit test framework as 1305Dan Fandrich
Test 558 was just a subset of 559 which is something that can be easily added later.
2011-02-10test1304: Added some unit tests for Curl_parsenetrc.Julien Chaffraix
Moved some definitons into the header file so that we can reuse them.
2011-01-04unittest: 1303 tests Curl_timeleftDaniel Stenberg
I came up with 33 different ways to call it and verify that it returns the correct return code.
2011-01-04unittest: test base64 encode/decodeDaniel Stenberg
2011-01-04unittest: verify curl_strequalDaniel Stenberg
2011-01-03unittest: framework for unit-testingDaniel Stenberg
This is the first approach at doing fairly clean and easy to write and debug unit tests.