Remove empty term/prefix tests (now discouraged use).
authorDave Longley <dlongley@digitalbazaar.com>
Sat, 05 May 2012 16:04:21 -0400
changeset 630 43422f90d725
parent 629 e2e631832856
child 631 9fb6140491b9
Remove empty term/prefix tests (now discouraged use).
test-suite/tests/compact-0019-in.jsonld
test-suite/tests/compact-0019-out.jsonld
test-suite/tests/compact-manifest.jsonld
test-suite/tests/expand-0027-in.jsonld
test-suite/tests/expand-0027-out.jsonld
test-suite/tests/expand-0028-in.jsonld
test-suite/tests/expand-0028-out.jsonld
test-suite/tests/expand-manifest.jsonld
test-suite/tests/toRdf-0009-in.jsonld
test-suite/tests/toRdf-0009-out.nq
test-suite/tests/toRdf-manifest.jsonld
--- a/test-suite/tests/compact-0019-in.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-[
-  {
-    "http://example.com/default#foo": ["bar"]
-  }
-]
--- a/test-suite/tests/compact-0019-out.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
-  "@context": {"": "http://example.com/default#"},
-  ":foo": "bar"
-}
--- a/test-suite/tests/compact-manifest.jsonld	Sat May 05 14:50:15 2012 -0400
+++ b/test-suite/tests/compact-manifest.jsonld	Sat May 05 16:04:21 2012 -0400
@@ -113,11 +113,5 @@
     "input": "compact-0018-in.jsonld",
     "context": "compact-0018-context.jsonld",
     "expect": "compact-0018-out.jsonld"
-  }, {
-    "@type": ["test:TestCase", "jld:CompactTest"],
-    "name": "Blank prefix",
-    "input": "compact-0019-in.jsonld",
-    "context": "compact-0019-context.jsonld",
-    "expect": "compact-0019-out.jsonld"
   }]
 }
--- a/test-suite/tests/expand-0027-in.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,11 +0,0 @@
-{
-  "@context": {
-    "": {
-      "@id": "http://example.org/prop",
-      "@type": "@id"
-    }
-  },
-  "@id": "http://example.org/",
-  "": "http://example.org/blank",
-  "_empty_": "drop me"
-}
--- a/test-suite/tests/expand-0027-out.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,10 +0,0 @@
-[
-  {
-    "@id": "http://example.org/",
-    "http://example.org/prop": [
-      {
-          "@id": "http://example.org/blank"
-      }
-    ]
-  }
-]
--- a/test-suite/tests/expand-0028-in.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,4 +0,0 @@
-{
-  "@context": {"": "http://example.com/default#"},
-  ":foo": "bar"
-}
--- a/test-suite/tests/expand-0028-out.jsonld	Sat May 05 14:50:15 2012 -0400
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,5 +0,0 @@
-[
-  {
-    "http://example.com/default#foo": ["bar"]
-  }
-]
--- a/test-suite/tests/expand-manifest.jsonld	Sat May 05 14:50:15 2012 -0400
+++ b/test-suite/tests/expand-manifest.jsonld	Sat May 05 16:04:21 2012 -0400
@@ -134,16 +134,5 @@
     "name": "Expanding term mapping to @type uses @type syntax",
     "input": "expand-0026-in.jsonld",
     "expect": "expand-0026-out.jsonld"
-  }, {
-    "@type": ["test:TestCase", "jld:ExpandTest"],
-    "name": "Blank term",
-    "input": "expand-0027-in.jsonld",
-    "expect": "expand-0027-out.jsonld"
-  }, {
-    "@type": ["test:TestCase", "jld:ExpandTest"],
-    "name": "Blank prefix",
-    "input": "expand-0028-in.jsonld",
-    "expect": "expand-0028-out.jsonld"
-  }
-  ]
+  }]
 }
--- a/test-suite/tests/toRdf-0009-in.jsonld	Sat May 05 14:50:15 2012 -0400
+++ b/test-suite/tests/toRdf-0009-in.jsonld	Sat May 05 16:04:21 2012 -0400
@@ -1,4 +1,4 @@
 {
-  "@context": {"": "http://example.com/default#"},
-  ":foo": "bar"
+  "@context": {"foo": "http://example.com/default#"},
+  "foo:": "bar"
 }
--- a/test-suite/tests/toRdf-0009-out.nq	Sat May 05 14:50:15 2012 -0400
+++ b/test-suite/tests/toRdf-0009-out.nq	Sat May 05 16:04:21 2012 -0400
@@ -1,1 +1,1 @@
-_:t0 <http://example.com/default#foo> "bar" .
+_:t0 <http://example.com/default#> "bar" .
--- a/test-suite/tests/toRdf-manifest.jsonld	Sat May 05 14:50:15 2012 -0400
+++ b/test-suite/tests/toRdf-manifest.jsonld	Sat May 05 16:04:21 2012 -0400
@@ -55,8 +55,8 @@
       "expect": "toRdf-0008-out.nq"
     }, {
       "@type": ["test:TestCase", "jld:ToRDFTest"],
-      "name": "Test using default prefix",
-      "purpose": "The empty string may be used to define the default prefix.",
+      "name": "Test using an empty suffix",
+      "purpose": "An empty suffix may be used.",
       "input": "toRdf-0009-in.jsonld",
       "expect": "toRdf-0009-out.nq"
     }, {