From eaec2a93dcc9f7de5ed2d98fa3427c6f9c2ba878 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 23 Jan 2011 18:10:50 +0000 Subject: 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 --- tests/UTF-8.ttl | 7 ++++++- tests/bad-ns.ttl | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 tests/bad-ns.ttl (limited to 'tests') 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 -- cgit v1.2.1