aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/good
diff options
context:
space:
mode:
Diffstat (limited to 'test/extra/good')
-rw-r--r--test/extra/good/manifest.ttl35
-rw-r--r--test/extra/good/test-escapes.nt2
-rw-r--r--test/extra/good/test-escapes.ttl4
-rw-r--r--test/extra/good/test-long-backspace-escape.nt1
-rw-r--r--test/extra/good/test-long-backspace-escape.ttl4
-rw-r--r--test/extra/good/test-long-delete-escape.nt1
-rw-r--r--test/extra/good/test-long-delete-escape.ttl4
-rw-r--r--test/extra/good/test-long-form-feed-escape.nt1
-rw-r--r--test/extra/good/test-long-form-feed-escape.ttl4
-rw-r--r--test/extra/good/test-long-whitespace.nt2
-rw-r--r--test/extra/good/test-long-whitespace.ttl11
11 files changed, 69 insertions, 0 deletions
diff --git a/test/extra/good/manifest.ttl b/test/extra/good/manifest.ttl
index bce7c564..7c356285 100644
--- a/test/extra/good/manifest.ttl
+++ b/test/extra/good/manifest.ttl
@@ -23,10 +23,15 @@
<#test-double>
<#test-empty-path-base>
<#test-eof-at-page-end>
+ <#test-escapes>
<#test-id>
<#test-list-in-blank>
<#test-list-subject>
+ <#test-long-backspace-escape>
+ <#test-long-delete-escape>
+ <#test-long-form-feed-escape>
<#test-long-utf8>
+ <#test-long-whitespace>
<#test-no-spaces>
<#test-non-curie-uri>
<#test-prefix>
@@ -140,6 +145,12 @@
mf:name "test-eof-at-page-end" ;
mf:result <test-eof-at-page-end.nt> .
+<#test-escapes>
+ a rdft:TestTurtleEval ;
+ mf:action <test-escapes.ttl> ;
+ mf:name "test-escapes" ;
+ mf:result <test-escapes.nt> .
+
<#test-id>
a rdft:TestTurtleEval ;
mf:action <test-id.ttl> ;
@@ -158,12 +169,36 @@
mf:name "test-list-subject" ;
mf:result <test-list-subject.nt> .
+<#test-long-backspace-escape>
+ a rdft:TestTurtleEval ;
+ mf:action <test-long-backspace-escape.ttl> ;
+ mf:name "test-long-backspace-escape" ;
+ mf:result <test-long-backspace-escape.nt> .
+
+<#test-long-delete-escape>
+ a rdft:TestTurtleEval ;
+ mf:action <test-long-delete-escape.ttl> ;
+ mf:name "test-long-delete-escape" ;
+ mf:result <test-long-delete-escape.nt> .
+
+<#test-long-form-feed-escape>
+ a rdft:TestTurtleEval ;
+ mf:action <test-long-form-feed-escape.ttl> ;
+ mf:name "test-long-form-feed-escape" ;
+ mf:result <test-long-form-feed-escape.nt> .
+
<#test-long-utf8>
a rdft:TestTurtleEval ;
mf:action <test-long-utf8.ttl> ;
mf:name "test-long-utf8" ;
mf:result <test-long-utf8.nt> .
+<#test-long-whitespace>
+ a rdft:TestTurtleEval ;
+ mf:action <test-long-whitespace.ttl> ;
+ mf:name "test-long-whitespace" ;
+ mf:result <test-long-whitespace.nt> .
+
<#test-no-spaces>
a rdft:TestTurtleEval ;
mf:action <test-no-spaces.ttl> ;
diff --git a/test/extra/good/test-escapes.nt b/test/extra/good/test-escapes.nt
new file mode 100644
index 00000000..2780d976
--- /dev/null
+++ b/test/extra/good/test-escapes.nt
@@ -0,0 +1,2 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "\\\r\n\t" .
+<http://example.org/eg#s> <http://example.org/eg#p> <http://example.org/\u005C> .
diff --git a/test/extra/good/test-escapes.ttl b/test/extra/good/test-escapes.ttl
new file mode 100644
index 00000000..b8fcce7a
--- /dev/null
+++ b/test/extra/good/test-escapes.ttl
@@ -0,0 +1,4 @@
+<http://example.org/eg#s>
+ <http://example.org/eg#p> """\\
+ """ ,
+ <http://example.org/\u005C> .
diff --git a/test/extra/good/test-long-backspace-escape.nt b/test/extra/good/test-long-backspace-escape.nt
new file mode 100644
index 00000000..74e8e277
--- /dev/null
+++ b/test/extra/good/test-long-backspace-escape.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "long\n\u0008\n" .
diff --git a/test/extra/good/test-long-backspace-escape.ttl b/test/extra/good/test-long-backspace-escape.ttl
new file mode 100644
index 00000000..c4b604cb
--- /dev/null
+++ b/test/extra/good/test-long-backspace-escape.ttl
@@ -0,0 +1,4 @@
+<http://example.org/eg#s>
+ <http://example.org/eg#p> """long
+\b
+""" .
diff --git a/test/extra/good/test-long-delete-escape.nt b/test/extra/good/test-long-delete-escape.nt
new file mode 100644
index 00000000..25ed9ab3
--- /dev/null
+++ b/test/extra/good/test-long-delete-escape.nt
@@ -0,0 +1 @@
+<http://example.org/eg#s> <http://example.org/eg#p> "long\n\u007F\n" .
diff --git a/test/extra/good/test-long-delete-escape.ttl b/test/extra/good/test-long-delete-escape.ttl
new file mode 100644
index 00000000..11bc2b21
--- /dev/null
+++ b/test/extra/good/test-long-delete-escape.ttl
@@ -0,0 +1,4 @@
+<http://example.org/eg#s>
+ <http://example.org/eg#p> """long
+\u007F
+""" .
diff --git a/test/extra/good/test-long-form-feed-escape.nt b/test/extra/good/test-long-form-feed-escape.nt
new file mode 100644
index 00000000..d16c6da9
--- /dev/null
+++ b/test/extra/good/test-long-form-feed-escape.nt
@@ -0,0 +1 @@
+<http://example.org/thing> <http://example.org/label> "long\n\u000C\n" .
diff --git a/test/extra/good/test-long-form-feed-escape.ttl b/test/extra/good/test-long-form-feed-escape.ttl
new file mode 100644
index 00000000..f62ec19e
--- /dev/null
+++ b/test/extra/good/test-long-form-feed-escape.ttl
@@ -0,0 +1,4 @@
+<http://example.org/thing>
+ <http://example.org/label> """long
+
+""" .
diff --git a/test/extra/good/test-long-whitespace.nt b/test/extra/good/test-long-whitespace.nt
new file mode 100644
index 00000000..09664b37
--- /dev/null
+++ b/test/extra/good/test-long-whitespace.nt
@@ -0,0 +1,2 @@
+<http://example.org/eg#a> <http://example.org/eg#b> "\nthis \ris a \U00015678long\t\nliteral\uABCD\n" .
+<http://example.org/eg#d> <http://example.org/eg#e> "\tThis \uABCDis\r \U00015678another\n\none\n" .
diff --git a/test/extra/good/test-long-whitespace.ttl b/test/extra/good/test-long-whitespace.ttl
new file mode 100644
index 00000000..9c3f946c
--- /dev/null
+++ b/test/extra/good/test-long-whitespace.ttl
@@ -0,0 +1,11 @@
+<http://example.org/eg#a>
+ <http://example.org/eg#b> """
+this is a 𕙸long
+literalꯍ
+""" .
+
+<http://example.org/eg#d>
+ <http://example.org/eg#e> """ This ꯍis 𕙸another
+
+one
+""" .