Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test: libmalloc_fig.so needs "-ldl". | Michael Drake | 2020-02-24 | 1 | -1/+1 |
| | |||||
* | utils: Add a generic hashmap and tests for it | Daniel Silverstone | 2020-02-23 | 1 | -0/+5 |
| | | | | | | | | | | | | | | In order to be able to use a generic hashmap in things such as the fs_backing_store we want one to exist. Here it is, along with some moderately comprehensive tests. Current limits: 1. All keys and values are owned by the hashmap 2. The hashmap, while capable of different bucket counts only has a single fixed count for now Signed-off-by: Daniel Silverstone <dsilvers@digital-scurf.org> | ||||
* | fix toolbar visibility checkboxes initial state | Vincent Sanders | 2019-10-03 | 1 | -0/+1 |
| | |||||
* | make options test use build directory for temporary files rather than /tmp | Vincent Sanders | 2019-09-21 | 1 | -0/+1 |
| | |||||
* | Fix test target use of logging config defines | Vincent Sanders | 2019-05-31 | 1 | -2/+4 |
| | |||||
* | stop overriding non test warning flags | Vincent Sanders | 2018-09-07 | 1 | -4/+4 |
| | |||||
* | Support ASAN and UBSAN in Makefiles | Daniel Silverstone | 2018-07-28 | 1 | -1/+4 |
| | |||||
* | make tests build again | Vincent Sanders | 2018-04-22 | 1 | -0/+2 |
| | |||||
* | Tests: Squash warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use ↵ | Michael Drake | 2017-08-28 | 1 | -1/+1 |
| | | | | _DEFAULT_SOURCE". | ||||
* | Support coverage flushing on assert() | Daniel Silverstone | 2017-03-31 | 1 | -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 tests | Vincent Sanders | 2017-03-22 | 1 | -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 test | Vincent Sanders | 2017-03-20 | 1 | -1/+10 |
| | |||||
* | Test: Fix up for rearranged nsurl source. | Michael Drake | 2017-02-08 | 1 | -4/+9 |
| | |||||
* | Fix up tests to not use system libidn | Daniel Silverstone | 2017-02-05 | 1 | -5/+5 |
| | |||||
* | fixup usage of directory creation macro in Makefiles | Vincent Sanders | 2017-01-07 | 1 | -1/+1 |
| | |||||
* | rename default build output directory target | Vincent Sanders | 2017-01-05 | 1 | -4/+5 |
| | |||||
* | add some corestrings API tests and fix corestrings fini. | Vincent Sanders | 2016-08-14 | 1 | -0/+1 |
| | |||||
* | Tests: Add some basic tests for date string parsing. | Michael Drake | 2016-08-13 | 1 | -1/+13 |
| | |||||
* | fix urldb warning and test build | Vincent Sanders | 2016-08-08 | 1 | -2/+9 |
| | |||||
* | add unit test for user message handling | Vincent Sanders | 2016-08-06 | 1 | -1/+4 |
| | |||||
* | add tests for utility string handling | Vincent Sanders | 2016-08-04 | 1 | -1/+5 |
| | |||||
* | Add url percent escape test with minimal test vectors | Vincent Sanders | 2016-07-31 | 1 | -1/+4 |
| | |||||
* | reduce curl usage to fetcher, url unescaping and time parsing | Vincent Sanders | 2016-06-29 | 1 | -1/+1 |
| | |||||
* | fix test include path to account for public API headers | Vincent Sanders | 2016-05-30 | 1 | -1/+1 |
| | |||||
* | fix test target | Vincent Sanders | 2016-05-21 | 1 | -1/+1 |
| | |||||
* | fix urldb test build | Vincent Sanders | 2016-04-17 | 1 | -0/+1 |
| | |||||
* | make check library probe faliure silent | Vincent Sanders | 2016-04-16 | 1 | -9/+42 |
| | |||||
* | Add initial tests for hash table. | Vincent Sanders | 2015-07-12 | 1 | -9/+11 |
| | |||||
* | Add unit test for bloom filter | Vincent Sanders | 2015-07-10 | 1 | -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 test | Vincent Sanders | 2015-07-09 | 1 | -3/+2 |
| | |||||
* | add libidn to test pkgconfig | Vincent Sanders | 2015-07-09 | 1 | -2/+2 |
| | |||||
* | Add coverage to the unit test makefile targets | Vincent Sanders | 2015-07-08 | 1 | -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 framework | Vincent Sanders | 2015-07-08 | 1 | -2/+2 |
| | |||||
* | Restructure test makefile to be called from main makefile | Vincent Sanders | 2015-07-07 | 1 | -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 again | Vincent Sanders | 2015-07-07 | 1 | -9/+13 |
| | |||||
* | fallback to old url creation behaviour if the IDNA host parse fails | Vincent Sanders | 2014-06-09 | 1 | -1/+1 |
| | |||||
* | Update test suite for corestrings and log module changes. Update test data ↵ | Michael Drake | 2014-02-11 | 1 | -3/+3 |
| | | | | for rejection of hostless http(s) urls. | ||||
* | add tests for new options API | Vincent Sanders | 2013-05-28 | 1 | -2/+8 |
| | |||||
* | Fix up for various core changes. | Michael Drake | 2013-04-08 | 1 | -5/+5 |
| | |||||
* | Remove libxml | John-Mark Bell | 2012-11-10 | 1 | -2/+2 |
| | |||||
* | Port urldb to nsurl. Won't build since rest of NS needs ported to new urldb ↵ | Michael Drake | 2012-10-08 | 1 | -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 Drake | 2012-10-05 | 1 | -4/+4 |
| | |||||
* | Remove unnecessary stub functions | John Mark Bell | 2011-10-15 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13060 | ||||
* | Stub messages_get, instead | John Mark Bell | 2011-10-15 | 1 | -1/+1 |
| | | | | svn path=/trunk/netsurf/; revision=13057 | ||||
* | Apparently, we need zlib | John Mark Bell | 2011-10-15 | 1 | -6/+6 |
| | | | | svn path=/trunk/netsurf/; revision=13056 | ||||
* | Move nsurl test suite into test/ | John Mark Bell | 2011-10-14 | 1 | -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 testsuite | John Mark Bell | 2011-01-12 | 1 | -7/+8 |
| | | | | svn path=/trunk/netsurf/; revision=11288 | ||||
* | move url database test to test directory | Vincent Sanders | 2010-06-29 | 1 | -4/+19 |
| | | | | svn path=/trunk/netsurf/; revision=10589 | ||||
* | Merge jmb/new-cache; r=dsilvers,rs=vince | Daniel Silverstone | 2010-03-28 | 1 | -0/+19 |
svn path=/trunk/netsurf/; revision=10180 |