aboutsummaryrefslogtreecommitdiffstats
path: root/test/good
diff options
context:
space:
mode:
Diffstat (limited to 'test/good')
-rw-r--r--test/good/manifest.ttl14
-rw-r--r--test/good/test-local-name-ends-with-dot.nt1
-rw-r--r--test/good/test-local-name-escapes.nt17
-rw-r--r--test/good/test-local-name-escapes.ttl19
4 files changed, 51 insertions, 0 deletions
diff --git a/test/good/manifest.ttl b/test/good/manifest.ttl
index fe3e195e..b546b9f7 100644
--- a/test/good/manifest.ttl
+++ b/test/good/manifest.ttl
@@ -38,6 +38,8 @@
<#test-list-in-blank>
<#test-list-subject>
<#test-list>
+ <#test-local-name-ends-with-dot>
+ <#test-local-name-escapes>
<#test-long-string>
<#test-several-eaten-dots>
<#test-no-spaces>
@@ -226,6 +228,18 @@
mf:action <test-list.ttl> ;
mf:result <test-list.nt> .
+<#test-local-name-ends-with-dot>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-local-name-ends-with-dot" ;
+ mf:action <test-local-name-ends-with-dot.ttl> ;
+ mf:result <test-local-name-ends-with-dot.nt> .
+
+<#test-local-name-escapes>
+ rdf:type rdft:TestTurtleEval ;
+ mf:name "test-local-name-escapes" ;
+ mf:action <test-local-name-escapes.ttl> ;
+ mf:result <test-local-name-escapes.nt> .
+
<#test-long-string>
rdf:type rdft:TestTurtleEval ;
mf:name "test-long-string" ;
diff --git a/test/good/test-local-name-ends-with-dot.nt b/test/good/test-local-name-ends-with-dot.nt
new file mode 100644
index 00000000..260eaffe
--- /dev/null
+++ b/test/good/test-local-name-ends-with-dot.nt
@@ -0,0 +1 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/foo.> .
diff --git a/test/good/test-local-name-escapes.nt b/test/good/test-local-name-escapes.nt
new file mode 100644
index 00000000..a6362d7a
--- /dev/null
+++ b/test/good/test-local-name-escapes.nt
@@ -0,0 +1,17 @@
+<http://example.org/s> <http://example.org/p> <http://example.org/o'> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o!> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o#> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o$> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o%> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o&> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o(> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o)> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o*> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o+> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o,> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o/> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o;> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o=> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o?> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o@> .
+<http://example.org/s> <http://example.org/p> <http://example.org/o~> .
diff --git a/test/good/test-local-name-escapes.ttl b/test/good/test-local-name-escapes.ttl
new file mode 100644
index 00000000..8c5fce37
--- /dev/null
+++ b/test/good/test-local-name-escapes.ttl
@@ -0,0 +1,19 @@
+@prefix eg: <http://example.org/> .
+
+eg:s eg:p eg:o\' .
+eg:s eg:p eg:o\! .
+eg:s eg:p eg:o\# .
+eg:s eg:p eg:o\$ .
+eg:s eg:p eg:o\% .
+eg:s eg:p eg:o\& .
+eg:s eg:p eg:o\( .
+eg:s eg:p eg:o\) .
+eg:s eg:p eg:o\* .
+eg:s eg:p eg:o\+ .
+eg:s eg:p eg:o\, .
+eg:s eg:p eg:o\/ .
+eg:s eg:p eg:o\; .
+eg:s eg:p eg:o\= .
+eg:s eg:p eg:o\? .
+eg:s eg:p eg:o\@ .
+eg:s eg:p eg:o\~ .