W3C home > Mailing lists > Public > public-linked-json@w3.org > August 2013

Re: Error test cases complete

From: Gregg Kellogg <gregg@greggkellogg.com>
Date: Wed, 28 Aug 2013 13:11:57 -0700
Cc: "'Linked JSON'" <public-linked-json@w3.org>
Message-Id: <40DFCF3A-3738-42C6-B923-D4C37057B243@greggkellogg.com>
To: Markus Lanthaler <markus.lanthaler@gmx.net>
On Aug 28, 2013, at 11:54 AM, Markus Lanthaler <markus.lanthaler@gmx.net> wrote:

> On Wednesday, August 28, 2013 12:56 AM, Gregg Kellogg wrote:
>> I believe I've created all of the error test cases that are called
>> for in the API spec, except those that are defined for the API itself
>> (e.g., "loading document failed").
> Awesome! Thanks a lot for taking the lead on this Gregg.
>> Most of these tests are for Expand, but there is one for Compact and
>> one for Flatten, so the @type of the test entries reflects this.
> Couldn't we simplify the test runner by turning all of them into Flatten
> tests? Flatten calls expansion and compaction internally.

At this point, that would hardly be simplifying anything, as the work has been done. Easiest to test the specific APIs which will bring about the behavior, which is typically Expand. It should be easy enough to look in the @type for Expand, Flatten, or Compact to trigger the appropriate behavior.


> --
> Markus Lanthaler
> @markuslanthaler
Received on Wednesday, 28 August 2013 20:12:27 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:18:39 UTC