aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-23 18:10:50 +0000
committerDavid Robillard <d@drobilla.net>2011-01-23 18:10:50 +0000
commiteaec2a93dcc9f7de5ed2d98fa3427c6f9c2ba878 (patch)
treeb274528955394c9f1650bd51f32e34bd2ed8da41 /tests
parentbdae0a9015cb399e11525d4296c1a910d038e3dc (diff)
downloadserd-eaec2a93dcc9f7de5ed2d98fa3427c6f9c2ba878.tar.gz
serd-eaec2a93dcc9f7de5ed2d98fa3427c6f9c2ba878.tar.bz2
serd-eaec2a93dcc9f7de5ed2d98fa3427c6f9c2ba878.zip
Gracefully handle failure to emit statement.
Add test cases for 5 and 6-byte UTF-* characters and undefined namespaces. git-svn-id: http://svn.drobilla.net/serd/trunk@48 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests')
-rw-r--r--tests/UTF-8.ttl7
-rw-r--r--tests/bad-ns.ttl1
2 files changed, 7 insertions, 1 deletions
diff --git a/tests/UTF-8.ttl b/tests/UTF-8.ttl
index 4aa347e8..66be456e 100644
--- a/tests/UTF-8.ttl
+++ b/tests/UTF-8.ttl
@@ -212,4 +212,9 @@ Box drawing alignment tests: █
║└─╥─┘║ │╚═╤═╝│ │╘═╪═╛│ │╙─╀─╜│ ┃└─╂─┘┃ ░░▒▒▓▓██ ┊ ┆ ╎ ╏ ┇ ┋ ▏
╚══╩══╝ └──┴──┘ ╰──┴──╯ ╰──┴──╯ ┗━━┻━━┛ ▗▄▖▛▀▜ └╌╌┘ ╎ ┗╍╍┛ ┋ ▁▂▃▄▅▆▇█
▝▀▘▙▄▟
-""" . \ No newline at end of file
+""" .
+<> rdfs:comment """
+ 5 byte character: \U3FFFFFF
+ 6 byte character: \U7FFFFFFF
+""" .
+
diff --git a/tests/bad-ns.ttl b/tests/bad-ns.ttl
new file mode 100644
index 00000000..4410573e
--- /dev/null
+++ b/tests/bad-ns.ttl
@@ -0,0 +1 @@
+<> a badprefix:Thing . \ No newline at end of file