summaryrefslogtreecommitdiff
path: root/test/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Tests: Squash warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use ↵Michael Drake2017-08-281-1/+1
| | | | _DEFAULT_SOURCE".
* Support coverage flushing on assert()Daniel Silverstone2017-03-311-4/+25
| | | | | | | | | | | | When assert() is called, which is not uncommon in utility code within NetSurf, we lose coverage data for anything done before the assert() in the test. This commit corrects that oversight but is at least slightly GCC specific and may need tweaks for non-Linux platforms. By default, 'make coverage' will enable assert coverage, and it can be disabled with 'make coverage NOASSERTCOVERAGE=yes' if necessary. Signed-off-by: Daniel Silverstone <dsilvers@netsurf-browser.org>
* Add heap fault injection generator into testsVincent Sanders2017-03-221-43/+50
| | | | | | | | | | This builds a dynamic library which can cause heap allocation (malloc) faliures after a specified number of calls. This is useful to allow tesing of memory failure allocation paths within netsurf test suites. An example test for core strings test has been added which incrementaly fails alloctions allowing all error paths in initialisation to be exercised.
* mimimal mime sniffing testVincent Sanders2017-03-201-1/+10
|
* Test: Fix up for rearranged nsurl source.Michael Drake2017-02-081-4/+9
|
* Fix up tests to not use system libidnDaniel Silverstone2017-02-051-5/+5
|
* fixup usage of directory creation macro in MakefilesVincent Sanders2017-01-071-1/+1
|
* rename default build output directory targetVincent Sanders2017-01-051-4/+5
|
* add some corestrings API tests and fix corestrings fini.Vincent Sanders2016-08-141-0/+1
|
* Tests: Add some basic tests for date string parsing.Michael Drake2016-08-131-1/+13
|
* fix urldb warning and test buildVincent Sanders2016-08-081-2/+9
|
* add unit test for user message handlingVincent Sanders2016-08-061-1/+4
|
* add tests for utility string handlingVincent Sanders2016-08-041-1/+5
|
* Add url percent escape test with minimal test vectorsVincent Sanders2016-07-311-1/+4
|
* reduce curl usage to fetcher, url unescaping and time parsingVincent Sanders2016-06-291-1/+1
|
* fix test include path to account for public API headersVincent Sanders2016-05-301-1/+1
|
* fix test targetVincent Sanders2016-05-211-1/+1
|
* fix urldb test buildVincent Sanders2016-04-171-0/+1
|
* make check library probe faliure silentVincent Sanders2016-04-161-9/+42
|
* Add initial tests for hash table.Vincent Sanders2015-07-121-9/+11
|
* Add unit test for bloom filterVincent Sanders2015-07-101-2/+3
| | | | | | | Adds check based unit test for teh bloom filter implementation. This is based on Roberts original test code in utils/bloom.c and uses /usr/share/dict as a source of strings to check bloom creation, no false negatives and the false positive rate is below 15%.
* remove unused sources from urldb testVincent Sanders2015-07-091-3/+2
|
* add libidn to test pkgconfigVincent Sanders2015-07-091-2/+2
|
* Add coverage to the unit test makefile targetsVincent Sanders2015-07-081-45/+78
| | | | | | The tests now only require that the test name is added to the TESTS variable and a testname_SRCS is set with a list of required sources to compile.
* convert nsurl tests to use check unit test frameworkVincent Sanders2015-07-081-2/+2
|
* Restructure test makefile to be called from main makefileVincent Sanders2015-07-071-28/+51
| | | | | | This changes the make test to be executed from the main netsurf makefile instead of being standalone. It also fixes up the urldbtest to run.
* make nsurl unit test work againVincent Sanders2015-07-071-9/+13
|
* fallback to old url creation behaviour if the IDNA host parse failsVincent Sanders2014-06-091-1/+1
|
* Update test suite for corestrings and log module changes. Update test data ↵Michael Drake2014-02-111-3/+3
| | | | for rejection of hostless http(s) urls.
* add tests for new options APIVincent Sanders2013-05-281-2/+8
|
* Fix up for various core changes.Michael Drake2013-04-081-5/+5
|
* Remove libxmlJohn-Mark Bell2012-11-101-2/+2
|
* Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb ↵Michael Drake2012-10-081-3/+4
| | | | | | | | | | | | | | | | | | API. + urldb API now takes URLs as nsurl, rather than string. + urldb internally stores full URLs with nsurl ref. + urldb internally stores schemes as lwc_string. + Load and save of cookies and URL file may be slower since we now need to create a nsurl. + Everything else should be faster, and there should be much less allocating/freeing and much less parsing of the same url over and over again. + Updated urldbtest for new urldb API. + urldbtest now cleans up at the end + Added lwc_string itterator to end of urldbtest + Adding some broken URLs (such as http:domain/) will now work, since nsurl fixes (http://domain/) them.
* Fix urldbtest.Michael Drake2012-10-051-4/+4
|
* Remove unnecessary stub functionsJohn Mark Bell2011-10-151-1/+1
| | | | svn path=/trunk/netsurf/; revision=13060
* Stub messages_get, insteadJohn Mark Bell2011-10-151-1/+1
| | | | svn path=/trunk/netsurf/; revision=13057
* Apparently, we need zlibJohn Mark Bell2011-10-151-6/+6
| | | | svn path=/trunk/netsurf/; revision=13056
* Move nsurl test suite into test/John Mark Bell2011-10-141-5/+14
| | | | | | | | Fix up llcache tester to reflect nsurl changes Make handling of http:,http:/,http:// consistent Fix buffer overflow when presented with an input string: "http://" svn path=/trunk/netsurf/; revision=13051
* Fix testsuiteJohn Mark Bell2011-01-121-7/+8
| | | | svn path=/trunk/netsurf/; revision=11288
* move url database test to test directoryVincent Sanders2010-06-291-4/+19
| | | | svn path=/trunk/netsurf/; revision=10589
* Merge jmb/new-cache; r=dsilvers,rs=vinceDaniel Silverstone2010-03-281-0/+19
svn path=/trunk/netsurf/; revision=10180