summaryrefslogtreecommitdiff
path: root/test
Commit message (Collapse)AuthorAgeFilesLines
* Support ASAN and UBSAN in MakefilesDaniel Silverstone2018-07-281-1/+4
|
* Update urldb test data for format 107John-Mark Bell2018-04-221-4/+4
|
* fix hashtable test buildVincent Sanders2018-04-221-0/+2
|
* make tests build againVincent Sanders2018-04-221-0/+2
|
* remove test for removed APIVincent Sanders2017-09-111-22/+0
|
* Fix up tests with nslog changesDaniel Silverstone2017-09-093-0/+8
|
* Use coccinelle to change logging macro calls in c filesVincent Sanders2017-09-061-7/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7);
* use nslog library for logging if available.Vincent Sanders2017-09-031-5/+7
|
* Tests: Squash warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use ↵Michael Drake2017-08-281-1/+1
| | | | _DEFAULT_SOURCE".
* Errorcodes: Remove redundant MNG error.Michael Drake2017-08-281-1/+0
|
* fix number of corestrings to testVincent Sanders2017-07-261-1/+8
|
* update cookie database tests to not use expired cookie dataVincent Sanders2017-07-263-48/+51
|
* Support coverage flushing on assert()Daniel Silverstone2017-03-312-4/+68
| | | | | | | | | | | | 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>
* Tests: Increase nsurl coverage.Michael Drake2017-03-271-0/+11
|
* Tests: Add nsurl insensitivity test for HTTPS scheme.Michael Drake2017-03-271-0/+1
|
* Tests: Add nsurl tests for unnecessary and bad escape values.Michael Drake2017-03-271-0/+6
|
* Tests: Add some more nsurl cases insensitivity tests.Michael Drake2017-03-271-0/+3
|
* Tests: Add tests for file: URL credentials and host handling.Michael Drake2017-03-271-0/+6
|
* Tests: Add more file scheme URL parsing tests.Michael Drake2017-03-271-0/+7
|
* Tests: Fix file URL component parsing test to match corrected behaviour.Michael Drake2017-03-271-1/+1
|
* Add heap fault injection generator into testsVincent Sanders2017-03-224-43/+235
| | | | | | | | | | 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.
* fix mime sniff test with comment tagVincent Sanders2017-03-201-1/+1
|
* extend mime sniff coverage with bad mp4 testsVincent Sanders2017-03-201-11/+51
|
* extend mime sniffing tests to cover rss and atom feed detectionVincent Sanders2017-03-201-4/+34
|
* extend mime sniffing test coverage to most of current implementationVincent Sanders2017-03-201-0/+111
|
* add mime sniffing test cases for more header content typesVincent Sanders2017-03-201-0/+252
|
* extend mime sniffing test coverageVincent Sanders2017-03-201-3/+371
|
* mimimal mime sniffing testVincent Sanders2017-03-202-1/+105
|
* add test to messages buffer lookup apiVincent Sanders2017-03-141-0/+23
|
* free resources in messages testVincent Sanders2017-03-141-0/+9
|
* add additional string handling testsVincent Sanders2017-03-141-0/+39
|
* extend human readable size tests to cover buffer cyclingVincent Sanders2017-03-141-0/+25
|
* have more comprehensive separate test case for snstrjoinVincent Sanders2017-03-141-17/+101
|
* add utility string handlingVincent Sanders2017-03-141-0/+60
|
* improve numerical ipv6 urldb prefix search test coverageVincent Sanders2017-03-131-0/+12
|
* fix urldb numerical v6 address handlingVincent Sanders2017-03-131-2/+13
|
* iterate urldb v6 numerical adresses as well as ipv4Vincent Sanders2017-03-131-4/+34
|
* add urldb tests for content type settingVincent Sanders2017-03-131-17/+21
|
* add urldb tests for urls which cannot be foundVincent Sanders2017-03-131-0/+45
|
* add persistance flag tests to urldbVincent Sanders2017-03-133-30/+91
|
* extend the session addition test with all the urls from the add/set/get testVincent Sanders2017-03-131-9/+20
|
* extend urldb tests with url creation, setting and getting operationsVincent Sanders2017-03-131-43/+105
|
* extend nsurl component API test caseVincent Sanders2017-03-101-25/+46
|
* extend nsurl parent API testsVincent Sanders2017-03-101-48/+67
|
* add nsurl get_utf8 test caseVincent Sanders2017-03-101-7/+80
|
* nsurl tests were not exercising unicodeVincent Sanders2017-03-101-0/+3
|
* replace tmpnam with something more suitable for the test filesVincent Sanders2017-03-092-7/+30
|
* fix compilation warnings in urldb testVincent Sanders2017-03-091-18/+10
|
* actually check the generated database files against reference test dataVincent Sanders2017-03-084-1/+138
|
* remove urldb_add_host and path from public APIVincent Sanders2017-03-081-75/+51
| | | | | | | | | | The urldb_add_host and urldb_add_path API were only public for the urldb test code which was calling them incorrectly in any case as the url bloom filters were not updated so serialising and adding data to entries was inconsistent. This also changes the tests to use the urldb_add_url API which is less buggy and results in a smaller, cleaner urldb API.