Commit graph

13 commits

Author SHA1 Message Date
Dave Longley 1aac75aab7 Switch style to same-line bracket w/else and catch. 2014-04-24 14:39:30 -04:00
Dave Longley 907904183d Provide access to test result via test instead of earl report.
- Reduces memory consumption because global state is serialized
  for every test and the test result is large (do not link it to
  the earl report listener as it is global).
2013-09-15 16:19:22 -04:00
Dave Longley 3f4dc75ac5 Do not attach earl report as listener if no filename specified. 2013-09-15 16:01:10 -04:00
Dave Longley d59ffc65bf Implement http link header processing w/default document loader.
- Use default document loader when testing remote documents.
2013-09-15 15:54:54 -04:00
Dave Longley f84cf6c2fc Read quads (do not use url). 2013-09-15 00:16:18 -04:00
Dave Longley 0e37dd4388 Make earl report a test result printer. 2013-09-14 22:19:07 -04:00
Dave Longley 86908c8e4f Fix typo. 2013-09-14 22:10:35 -04:00
Dave Longley 7142d8a3e1 Fix typos. 2013-09-14 22:02:37 -04:00
Dave Longley 4ddb4e8c2c Validate URLs; check for file/json read errors. 2013-09-14 21:27:55 -04:00
Dave Longley d85c25bdb3 Improve failed test output; fix typo. 2013-09-14 21:08:40 -04:00
Dave Longley 780ed7e6ab Use input url not doc; use link header parsed result as an object. 2013-09-14 14:46:00 -04:00
Dave Longley 82e93347c1 Fix typo. 2013-09-13 13:07:05 -04:00
Dave Longley f5eeb7c3ad Rewrite test runner.
- Use PHPUnit. There are many different ways to use PHPUnit,
  unfortunately, none of them seem to fit quite right with
  the JSON-LD test suite -- without requiring a lot of extra
  and/or duplicated effort. A middle ground was chosen.
2013-09-13 12:47:15 -04:00