Commit Graph

142 Commits

Author SHA1 Message Date
Vincent Sanders
9be0f4ccaf fixup usage of directory creation macro in Makefiles 2017-01-07 13:21:25 +00:00
Vincent Sanders
2d9ed9cbc4 rename default build output directory target 2017-01-05 23:02:03 +00:00
Vincent Sanders
48f868a955 move tree compatability layer to amiga frontend 2016-12-31 01:04:27 +00:00
Michael Drake
2d5db505e7 Test: Add trailing whitespace and garbage datetime string parse tests. 2016-08-17 09:11:02 +01:00
Vincent Sanders
02360ec7be add some corestrings API tests and fix corestrings fini. 2016-08-14 23:49:53 +01:00
Vincent Sanders
0e5824c8e8 add bloom filter test for adding NULL string 2016-08-14 23:32:20 +01:00
Michael Drake
78d53fff1f Tests: Add some basic tests for date string parsing. 2016-08-13 13:11:48 +01:00
Michael Drake
68b20a382d Tests: Fix option handling test data. 2016-08-11 08:42:51 +01:00
Vincent Sanders
94de23dce9 add more tests for partial iterator in url database 2016-08-09 13:15:36 +01:00
Vincent Sanders
6a26755576 add more API coverage to url database unit tests 2016-08-09 12:41:16 +01:00
Vincent Sanders
115985f069 extend url database unit testing to cover more API 2016-08-09 12:26:37 +01:00
Vincent Sanders
d35ad1b8e7 add cookies tests to url database unit testing 2016-08-09 10:47:47 +01:00
Vincent Sanders
54860ee6b8 add cookie database load and restore unit test 2016-08-09 00:09:33 +01:00
Vincent Sanders
5830a4c040 extend url database checks to cover authentication detail setter and getter 2016-08-08 23:59:21 +01:00
Vincent Sanders
4bc029340e add some basic url database iteration tests 2016-08-08 23:45:01 +01:00
Vincent Sanders
958fb6aa5e add url databse write output to unit test 2016-08-08 23:13:23 +01:00
Vincent Sanders
4448fa6cbf Fix warnings in unit tests 2016-08-08 22:12:16 +01:00
Michael Drake
1158536bff Tests: Squash more warnings. 2016-08-08 18:09:37 +01:00
Michael Drake
4b90528d3c Tests: Squash some warnings. 2016-08-08 18:03:57 +01:00
Vincent Sanders
c1aec1cfa0 fix urldb warning and test build 2016-08-08 13:52:54 +01:00
Vincent Sanders
aa10f2f1ef wrap urldb tests in check harness and add minimal session test 2016-08-08 13:44:18 +01:00
Vincent Sanders
cc3c1eb99b add unit test for user message handling 2016-08-06 23:43:23 +01:00
Vincent Sanders
124d3fe9f0 add some more bad values to choices file to ensure parser can cope 2016-08-06 10:43:52 +01:00
Vincent Sanders
c0f4bbb308 remove erroneous parameter check to nsoption_snoptionf
The API check and bounds check for option indexes was from an unsigned
enum so checking for negative numbers was causing "comparison is always
false" errors in compilation.
2016-08-06 10:27:32 +01:00
Vincent Sanders
40ae120360 fix formatted option no init test 2016-08-06 01:29:43 +01:00
Vincent Sanders
62b76bf31a improve option test coverage futher 2016-08-06 01:20:37 +01:00
Vincent Sanders
b2a78c5c6e improve user option testing to cover all the API 2016-08-06 00:06:44 +01:00
Vincent Sanders
afc79d5912 Improve user option testing and API parameter checking 2016-08-05 22:34:44 +01:00
Vincent Sanders
e8df81fdb3 add tests for utility string handling 2016-08-04 00:19:48 +01:00
Vincent Sanders
5a73f0797f add url escape test for complete garbage input 2016-08-03 16:06:17 +01:00
Vincent Sanders
eb5e0599af Improve percent escaping testing, parameter checking and documentation 2016-08-03 15:04:28 +01:00
Vincent Sanders
908db8a51d Add url percent escape test with minimal test vectors 2016-07-31 13:25:20 +01:00
Michael Drake
fa2e3b7784 URL unescape: return the new length to the caller.
The avoids situations were we threw away the length, only for
the caller to have to strlen the returned string.

Note, there seems to be a case of the amiga front end writing
beyond end of allocation.  Added a TODO for now.
2016-07-24 14:03:16 +01:00
Vincent Sanders
c313524998 reduce curl usage to fetcher, url unescaping and time parsing 2016-06-29 23:06:53 +01:00
Vincent Sanders
a60c4749ff fix url database test after API header changes 2016-06-14 00:16:42 +01:00
Vincent Sanders
a996bee9fa fix test include path to account for public API headers 2016-05-30 11:53:20 +01:00
Vincent Sanders
2dab078f21 move bitmap API header to core include directory 2016-05-26 23:01:03 +01:00
Vincent Sanders
3224d7121a move image content handlers to accomodate core build changes 2016-05-23 23:32:16 +01:00
Vincent Sanders
51f8e7c6a4 fix test target 2016-05-21 12:17:54 +01:00
Vincent Sanders
6a36d4ec2b remove all core usage of warn_user API 2016-04-26 12:50:16 +01:00
Vincent Sanders
d2dd574106 fix urldb test build 2016-04-17 22:27:53 +01:00
Vincent Sanders
7b78985983 make check library probe faliure silent 2016-04-16 23:50:21 +01:00
Michael Drake
356615573a Test: Remove duplicate noscript element. 2016-02-06 12:51:44 +00:00
Vincent Sanders
f06ec6390a add noscript warning to all tests so it is obvious when js is disabled 2016-02-04 15:11:19 +00:00
Michael Drake
3cc80b6a7d Add test for document.write() adding a STYLE element. 2016-02-02 12:19:00 +00:00
John-Mark Bell
25b88e42e6 Test for [TreatNullAs=EmptyString] 2016-02-01 20:50:42 +00:00
Michael Drake
b1dbc046f1 Add paragraph proto test. 2016-02-01 15:36:12 +00:00
Michael Drake
9c57ddf0b2 1 isn't prime. 2016-01-23 17:44:42 +00:00
Michael Drake
4b0ebae56a Add a couple of general JS tests.
The primes one prints its execution time:

  NetSurf without -v: 1300ish
             with -v: 5000ish
      Firefox 38.5.0:  300ish
2016-01-23 10:32:26 +00:00
Daniel Silverstone
4137739b8a Tests for body onload behaviour 2015-11-22 16:53:22 +00:00