Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Support ASAN and UBSAN in Makefiles | Daniel Silverstone | 2018-07-28 | 1 | -1/+4 |
| | |||||
* | Update urldb test data for format 107 | John-Mark Bell | 2018-04-22 | 1 | -4/+4 |
| | |||||
* | fix hashtable test build | Vincent Sanders | 2018-04-22 | 1 | -0/+2 |
| | |||||
* | make tests build again | Vincent Sanders | 2018-04-22 | 1 | -0/+2 |
| | |||||
* | remove test for removed API | Vincent Sanders | 2017-09-11 | 1 | -22/+0 |
| | |||||
* | Fix up tests with nslog changes | Daniel Silverstone | 2017-09-09 | 3 | -0/+8 |
| | |||||
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -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 Sanders | 2017-09-03 | 1 | -5/+7 |
| | |||||
* | Tests: Squash warning: "_BSD_SOURCE and _SVID_SOURCE are deprecated, use ↵ | Michael Drake | 2017-08-28 | 1 | -1/+1 |
| | | | | _DEFAULT_SOURCE". | ||||
* | Errorcodes: Remove redundant MNG error. | Michael Drake | 2017-08-28 | 1 | -1/+0 |
| | |||||
* | fix number of corestrings to test | Vincent Sanders | 2017-07-26 | 1 | -1/+8 |
| | |||||
* | update cookie database tests to not use expired cookie data | Vincent Sanders | 2017-07-26 | 3 | -48/+51 |
| | |||||
* | Support coverage flushing on assert() | Daniel Silverstone | 2017-03-31 | 2 | -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 Drake | 2017-03-27 | 1 | -0/+11 |
| | |||||
* | Tests: Add nsurl insensitivity test for HTTPS scheme. | Michael Drake | 2017-03-27 | 1 | -0/+1 |
| | |||||
* | Tests: Add nsurl tests for unnecessary and bad escape values. | Michael Drake | 2017-03-27 | 1 | -0/+6 |
| | |||||
* | Tests: Add some more nsurl cases insensitivity tests. | Michael Drake | 2017-03-27 | 1 | -0/+3 |
| | |||||
* | Tests: Add tests for file: URL credentials and host handling. | Michael Drake | 2017-03-27 | 1 | -0/+6 |
| | |||||
* | Tests: Add more file scheme URL parsing tests. | Michael Drake | 2017-03-27 | 1 | -0/+7 |
| | |||||
* | Tests: Fix file URL component parsing test to match corrected behaviour. | Michael Drake | 2017-03-27 | 1 | -1/+1 |
| | |||||
* | Add heap fault injection generator into tests | Vincent Sanders | 2017-03-22 | 4 | -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 tag | Vincent Sanders | 2017-03-20 | 1 | -1/+1 |
| | |||||
* | extend mime sniff coverage with bad mp4 tests | Vincent Sanders | 2017-03-20 | 1 | -11/+51 |
| | |||||
* | extend mime sniffing tests to cover rss and atom feed detection | Vincent Sanders | 2017-03-20 | 1 | -4/+34 |
| | |||||
* | extend mime sniffing test coverage to most of current implementation | Vincent Sanders | 2017-03-20 | 1 | -0/+111 |
| | |||||
* | add mime sniffing test cases for more header content types | Vincent Sanders | 2017-03-20 | 1 | -0/+252 |
| | |||||
* | extend mime sniffing test coverage | Vincent Sanders | 2017-03-20 | 1 | -3/+371 |
| | |||||
* | mimimal mime sniffing test | Vincent Sanders | 2017-03-20 | 2 | -1/+105 |
| | |||||
* | add test to messages buffer lookup api | Vincent Sanders | 2017-03-14 | 1 | -0/+23 |
| | |||||
* | free resources in messages test | Vincent Sanders | 2017-03-14 | 1 | -0/+9 |
| | |||||
* | add additional string handling tests | Vincent Sanders | 2017-03-14 | 1 | -0/+39 |
| | |||||
* | extend human readable size tests to cover buffer cycling | Vincent Sanders | 2017-03-14 | 1 | -0/+25 |
| | |||||
* | have more comprehensive separate test case for snstrjoin | Vincent Sanders | 2017-03-14 | 1 | -17/+101 |
| | |||||
* | add utility string handling | Vincent Sanders | 2017-03-14 | 1 | -0/+60 |
| | |||||
* | improve numerical ipv6 urldb prefix search test coverage | Vincent Sanders | 2017-03-13 | 1 | -0/+12 |
| | |||||
* | fix urldb numerical v6 address handling | Vincent Sanders | 2017-03-13 | 1 | -2/+13 |
| | |||||
* | iterate urldb v6 numerical adresses as well as ipv4 | Vincent Sanders | 2017-03-13 | 1 | -4/+34 |
| | |||||
* | add urldb tests for content type setting | Vincent Sanders | 2017-03-13 | 1 | -17/+21 |
| | |||||
* | add urldb tests for urls which cannot be found | Vincent Sanders | 2017-03-13 | 1 | -0/+45 |
| | |||||
* | add persistance flag tests to urldb | Vincent Sanders | 2017-03-13 | 3 | -30/+91 |
| | |||||
* | extend the session addition test with all the urls from the add/set/get test | Vincent Sanders | 2017-03-13 | 1 | -9/+20 |
| | |||||
* | extend urldb tests with url creation, setting and getting operations | Vincent Sanders | 2017-03-13 | 1 | -43/+105 |
| | |||||
* | extend nsurl component API test case | Vincent Sanders | 2017-03-10 | 1 | -25/+46 |
| | |||||
* | extend nsurl parent API tests | Vincent Sanders | 2017-03-10 | 1 | -48/+67 |
| | |||||
* | add nsurl get_utf8 test case | Vincent Sanders | 2017-03-10 | 1 | -7/+80 |
| | |||||
* | nsurl tests were not exercising unicode | Vincent Sanders | 2017-03-10 | 1 | -0/+3 |
| | |||||
* | replace tmpnam with something more suitable for the test files | Vincent Sanders | 2017-03-09 | 2 | -7/+30 |
| | |||||
* | fix compilation warnings in urldb test | Vincent Sanders | 2017-03-09 | 1 | -18/+10 |
| | |||||
* | actually check the generated database files against reference test data | Vincent Sanders | 2017-03-08 | 4 | -1/+138 |
| | |||||
* | remove urldb_add_host and path from public API | Vincent Sanders | 2017-03-08 | 1 | -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. |