Adapt flatten and fromRdf tests to the resolution of issue #279
authorNiklas Lindström <lindstream@gmail.com>
Thu, 18 Jul 2013 11:57:55 +0200
changeset 1781 149fe3bf3ffd
parent 1776 6a0b2f8e34ba
child 1782 1870c65fde7c
Adapt flatten and fromRdf tests to the resolution of issue #279
test-suite/tests/flatten-0002-out.jsonld
test-suite/tests/flatten-0005-out.jsonld
test-suite/tests/flatten-0006-out.jsonld
test-suite/tests/flatten-0007-out.jsonld
test-suite/tests/flatten-0011-out.jsonld
test-suite/tests/flatten-0013-out.jsonld
test-suite/tests/flatten-0014-out.jsonld
test-suite/tests/flatten-0016-out.jsonld
test-suite/tests/flatten-0020-out.jsonld
test-suite/tests/flatten-0023-out.jsonld
test-suite/tests/flatten-0024-out.jsonld
test-suite/tests/flatten-0025-out.jsonld
test-suite/tests/flatten-0026-out.jsonld
test-suite/tests/flatten-0028-out.jsonld
test-suite/tests/flatten-0029-out.jsonld
test-suite/tests/flatten-0031-out.jsonld
test-suite/tests/flatten-0033-out.jsonld
test-suite/tests/flatten-0036-out.jsonld
test-suite/tests/flatten-0038-out.jsonld
test-suite/tests/flatten-0040-out.jsonld
test-suite/tests/flatten-0043-out.jsonld
test-suite/tests/fromRdf-0001-out.jsonld
test-suite/tests/fromRdf-0003-out.jsonld
test-suite/tests/fromRdf-0004-out.jsonld
test-suite/tests/fromRdf-0005-out.jsonld
test-suite/tests/fromRdf-0007-out.jsonld
--- a/test-suite/tests/flatten-0002-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0002-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -34,11 +34,5 @@
                 "@value": 51
             }
         ]
-    },
-    {
-        "@id": "http://example.com/t1"
-    },
-    {
-        "@id": "http://example.com/t2"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0005-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0005-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,8 +1,5 @@
 [
     {
-        "@id": "http://example.com/alice"
-    },
-    {
         "@id": "http://example.com/alice#me",
         "http://xmlns.com/foaf/0.1/homepage": [
             {
@@ -16,9 +13,6 @@
         ]
     },
     {
-        "@id": "http://example.com/bob"
-    },
-    {
         "@id": "http://example.com/bob#me",
         "http://xmlns.com/foaf/0.1/homepage": [
             {
@@ -42,4 +36,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0006-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0006-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -24,11 +24,5 @@
                 "@value": "foo"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/test#example3"
-    },
-    {
-        "@id": "http://example.org/test#example4"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0007-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0007-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -20,8 +20,5 @@
                 "@id": "http://example.org/test#example1"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#dateTime"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0011-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0011-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -11,8 +11,5 @@
                 "@value": "Title"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/test#chapter"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0013-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0013-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -34,11 +34,5 @@
                 "@value": 51
             }
         ]
-    },
-    {
-        "@id": "http://example.com/t1"
-    },
-    {
-        "@id": "http://example.com/t2"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0014-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0014-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -34,9 +34,6 @@
         ]
     },
     {
-        "@id": "http://example.org/test#example3"
-    },
-    {
         "@id": "http://example.org/test#example4",
         "http://example.org/test#property5": [
             {
@@ -44,8 +41,5 @@
                 "@value": "2012-03-31"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0016-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0016-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,8 +1,5 @@
 [
     {
-        "@id": "_:b0"
-    },
-    {
         "@id": "http://example.org/id1",
         "http://example.com/emptyobj": [
             {
--- a/test-suite/tests/flatten-0020-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0020-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -49,9 +49,6 @@
         ]
     },
     {
-        "@id": "http://example.org/test#chapter"
-    },
-    {
         "@id": "http://example.org/test#jane",
         "http://example.org/vocab#authored": [
             {
--- a/test-suite/tests/flatten-0023-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0023-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -61,11 +61,5 @@
                 "@id": "http://example.org/id"
             }
         ]
-    },
-    {
-        "@id": "http://example.org/id"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
 ]
--- a/test-suite/tests/flatten-0024-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0024-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -21,8 +21,5 @@
                 "@value": "Alice"
             }
         ]
-    },
-    {
-        "@id": "http://xkcd.com/177/"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0025-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0025-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -6,14 +6,5 @@
             "http://example.com/bar",
             "http://example.com/underscore/"
         ]
-    },
-    {
-        "@id": "http://example.com/bar"
-    },
-    {
-        "@id": "http://example.com/foo/"
-    },
-    {
-        "@id": "http://example.com/underscore/"
     }
 ]
--- a/test-suite/tests/flatten-0026-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0026-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -6,9 +6,6 @@
         ]
     },
     {
-        "@id": "http://example.com/b"
-    },
-    {
         "@id": "http://example.com/c",
         "@type": [
             "http://example.com/d",
@@ -16,18 +13,9 @@
         ]
     },
     {
-        "@id": "http://example.com/d"
-    },
-    {
-        "@id": "http://example.com/e"
-    },
-    {
         "@id": "http://example.com/f",
         "@type": [
             "http://example.com/g"
         ]
-    },
-    {
-        "@id": "http://example.com/g"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0028-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0028-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,11 +1,5 @@
 [
     {
-        "@id": "http://example.org/vocab#dateTime"
-    },
-    {
-        "@id": "http://example.org/vocab#test"
-    },
-    {
         "@id": "http://json-ld.org/test-suite/tests/example1",
         "@type": [
             "http://example.org/vocab#test"
@@ -31,4 +25,4 @@
             }
         ]
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0029-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0029-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,35 +1,5 @@
 [
     {
-        "@id": "http://example.org/scheme-relative"
-    },
-    {
-        "@id": "http://json-ld.org/absolute"
-    },
-    {
-        "@id": "http://json-ld.org/parent-parent-eq-root"
-    },
-    {
-        "@id": "http://json-ld.org/still-root"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/parent"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld#fragment-works"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/flatten-0029-in.jsonld?query=works"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/link"
-    },
-    {
         "@id": "http://json-ld.org/test-suite/tests/relativeIris",
         "@type": [
             "http://json-ld.org/test-suite/tests/link",
@@ -83,8 +53,5 @@
                 ]
             }
         ]
-    },
-    {
-        "@id": "http://json-ld.org/too-many-dots"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0031-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0031-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -19,14 +19,5 @@
                 "@type": "http://www.w3.org/2001/XMLSchema#integer"
             }
         ]
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#boolean"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#double"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#integer"
     }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/flatten-0033-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0033-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -17,11 +17,5 @@
                 "@value": "Markus Lanthaler"
             }
         ]
-    },
-    {
-        "@id": "http://www.markus-lanthaler.com/"
-    },
-    {
-        "@id": "http://www.w3.org/2001/XMLSchema#date"
     }
 ]
--- a/test-suite/tests/flatten-0036-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0036-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -124,11 +124,5 @@
     {
         "@id": "http://example.org/nodeWithoutIndexC",
         "@index": "C"
-    },
-    {
-        "@id": "http://example.org/nodeWithoutIndexProp"
-    },
-    {
-        "@id": "http://example.org/type"
     }
 ]
--- a/test-suite/tests/flatten-0038-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0038-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -40,11 +40,5 @@
                 "@value": "termId"
             }
         ]
-    },
-    {
-        "@id": "_:b3"
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/relativeIri"
     }
 ]
--- a/test-suite/tests/flatten-0040-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0040-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -17,8 +17,5 @@
                 "@value": "The Queen"
             }
         ]
-    },
-    {
-        "@id": "http://json-ld.org/test-suite/tests/asTheValueIsntAnObject"
     }
 ]
--- a/test-suite/tests/flatten-0043-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/flatten-0043-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,5 +1,4 @@
 [
-  {"@id": "http://json-ld.org/test-suite/tests/error-expand-0001-in.jsonld"},
   {
     "@id": "http://json-ld.org/test-suite/tests/flatten-0043-in.jsonld",
     "http://example/sequence": [
@@ -15,4 +14,4 @@
       {"@value": "Keywords cannot be aliased to other keywords"}
     ]
   }
-]
\ No newline at end of file
+]
--- a/test-suite/tests/fromRdf-0001-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/fromRdf-0001-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,8 +1,5 @@
 [
   {
-    "@id": "http://example.com/Obj1"
-  },
-  {
     "@id": "http://example.com/Subj1",
     "@type": ["http://example.com/Type"],
     "http://example.com/prop1": [{"@id": "http://example.com/Obj1"}],
@@ -11,8 +8,5 @@
       {"@value": "2012-05-12", "@type": "http://www.w3.org/2001/XMLSchema#date"},
       {"@value": "English", "@language": "en"}
     ]
-  },
-  {
-    "@id": "http://example.com/Type"
   }
 ]
--- a/test-suite/tests/fromRdf-0003-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/fromRdf-0003-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -4,9 +4,6 @@
     "@type": ["http://example.com/SubType"]
   },
   {
-    "@id": "http://example.com/SubType"
-  },
-  {
     "@id": "http://example.com/Subj1",
     "@type": ["http://example.com/Type"],
     "http://example.com/ref": [
@@ -18,8 +15,5 @@
     "@id": "http://example.com/Subj2",
     "@type": ["http://example.com/Type"],
     "http://example.com/ref": [{"@id": "http://example.com/Subj1"}]
-  },
-  {
-    "@id": "http://example.com/Type"
   }
 ]
--- a/test-suite/tests/fromRdf-0004-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/fromRdf-0004-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -14,11 +14,5 @@
     "http://example.com/iriList": [{
       "@list": [{"@id": "http://example.com/iri"}]
     }]
-  },
-  {
-    "@id": "http://example.com/Type"
-  },
-  {
-    "@id": "http://example.com/iri"
   }
 ]
--- a/test-suite/tests/fromRdf-0005-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/fromRdf-0005-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -1,8 +1,5 @@
 [
   {
-    "@id": "http://example.com/Graph"
-  },
-  {
     "@id": "http://example.com/U",
     "@graph": [
       {
--- a/test-suite/tests/fromRdf-0007-out.jsonld	Wed Jul 17 21:11:32 2013 -0400
+++ b/test-suite/tests/fromRdf-0007-out.jsonld	Thu Jul 18 11:57:55 2013 +0200
@@ -25,8 +25,5 @@
         }]
       }
     ]
-  },
-  {
-    "@id": "http://data.wikipedia.org/vocab#SnakSet"
   }
 ]