From d9015f088eb9fe9b2eeea2c2508bd0e0d94f709f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 30 Mar 2013 02:23:50 +0000 Subject: Add some missing tests from latest W3C test suite. git-svn-id: http://svn.drobilla.net/serd/trunk@443 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- tests/tests-ttl/HYPHEN_MINUS_in_localName.nt | 1 + tests/tests-ttl/HYPHEN_MINUS_in_localName.ttl | 2 ++ tests/tests-ttl/IRIREF_datatype.nt | 1 + tests/tests-ttl/IRIREF_datatype.ttl | 1 + tests/tests-ttl/IRI_spo.nt | 1 + tests/tests-ttl/IRI_subject.ttl | 1 + tests/tests-ttl/IRI_with_all_punctuation.nt | 1 + tests/tests-ttl/IRI_with_all_punctuation.ttl | 1 + .../IRI_with_eight_digit_numeric_escape.ttl | 1 + .../IRI_with_four_digit_numeric_escape.ttl | 1 + tests/tests-ttl/LITERAL1.nt | 1 + tests/tests-ttl/LITERAL1.ttl | 1 + tests/tests-ttl/LITERAL2.ttl | 1 + tests/tests-ttl/LITERAL_LONG1.ttl | 1 + tests/tests-ttl/LITERAL_LONG1_with_1_squote.nt | 1 + tests/tests-ttl/LITERAL_LONG1_with_1_squote.ttl | 1 + tests/tests-ttl/LITERAL_LONG1_with_2_squotes.nt | 1 + tests/tests-ttl/LITERAL_LONG1_with_2_squotes.ttl | 1 + tests/tests-ttl/LITERAL_LONG2.ttl | 1 + tests/tests-ttl/LITERAL_LONG2_with_1_squote.nt | 1 + tests/tests-ttl/LITERAL_LONG2_with_1_squote.ttl | 1 + tests/tests-ttl/LITERAL_LONG2_with_2_squotes.nt | 1 + tests/tests-ttl/LITERAL_LONG2_with_2_squotes.ttl | 1 + .../LITERAL_LONG2_with_REVERSE_SOLIDUS.nt | 1 + .../LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl | 3 ++ tests/tests-ttl/anonymous_blank_node_object.nt | 1 + tests/tests-ttl/anonymous_blank_node_object.ttl | 1 + tests/tests-ttl/anonymous_blank_node_subject.nt | 1 + tests/tests-ttl/anonymous_blank_node_subject.ttl | 1 + tests/tests-ttl/bareword_a_predicate.nt | 1 + tests/tests-ttl/bareword_a_predicate.ttl | 1 + tests/tests-ttl/bareword_decimal.nt | 1 + tests/tests-ttl/bareword_decimal.ttl | 1 + tests/tests-ttl/bareword_double.nt | 1 + tests/tests-ttl/bareword_double.ttl | 1 + tests/tests-ttl/bareword_integer.ttl | 1 + tests/tests-ttl/blankNodePropertyList_as_object.nt | 2 ++ .../tests-ttl/blankNodePropertyList_as_object.ttl | 1 + .../tests-ttl/blankNodePropertyList_as_subject.nt | 2 ++ .../tests-ttl/blankNodePropertyList_as_subject.ttl | 1 + .../blankNodePropertyList_containing_collection.nt | 3 ++ ...blankNodePropertyList_containing_collection.ttl | 1 + .../blankNodePropertyList_with_multiple_triples.nt | 3 ++ ...blankNodePropertyList_with_multiple_triples.ttl | 1 + tests/tests-ttl/collection_object.nt | 3 ++ tests/tests-ttl/collection_object.ttl | 1 + tests/tests-ttl/collection_subject.nt | 3 ++ tests/tests-ttl/collection_subject.ttl | 1 + tests/tests-ttl/default_namespace_IRI.ttl | 2 ++ tests/tests-ttl/double_lower_case_e.nt | 1 + tests/tests-ttl/double_lower_case_e.ttl | 1 + tests/tests-ttl/empty_collection.nt | 1 + tests/tests-ttl/empty_collection.ttl | 1 + tests/tests-ttl/first.nt | 7 +++++ tests/tests-ttl/first.ttl | 1 + tests/tests-ttl/labeled_blank_node_object.nt | 1 + tests/tests-ttl/labeled_blank_node_object.ttl | 1 + tests/tests-ttl/labeled_blank_node_subject.nt | 1 + tests/tests-ttl/labeled_blank_node_subject.ttl | 1 + .../labeled_blank_node_with_leading_digit.nt | 1 + .../labeled_blank_node_with_leading_digit.ttl | 1 + .../labeled_blank_node_with_leading_underscore.nt | 1 + .../labeled_blank_node_with_leading_underscore.ttl | 1 + .../labeled_blank_node_with_non_leading_extras.ttl | 1 + tests/tests-ttl/langtagged_LONG.ttl | 1 + tests/tests-ttl/langtagged_non_LONG.nt | 1 + tests/tests-ttl/langtagged_non_LONG.ttl | 1 + tests/tests-ttl/lantag_with_subtag.nt | 1 + tests/tests-ttl/lantag_with_subtag.ttl | 1 + tests/tests-ttl/last.nt | 7 +++++ tests/tests-ttl/last.ttl | 1 + tests/tests-ttl/literal_false.nt | 1 + tests/tests-ttl/literal_false.ttl | 1 + tests/tests-ttl/literal_true.nt | 1 + tests/tests-ttl/literal_true.ttl | 1 + tests/tests-ttl/literal_with_BACKSPACE.nt | 1 + tests/tests-ttl/literal_with_BACKSPACE.ttl | 1 + tests/tests-ttl/literal_with_CARRIAGE_RETURN.nt | 1 + tests/tests-ttl/literal_with_CARRIAGE_RETURN.ttl | 1 + .../tests-ttl/literal_with_CHARACTER_TABULATION.nt | 1 + .../literal_with_CHARACTER_TABULATION.ttl | 1 + tests/tests-ttl/literal_with_FORM_FEED.nt | 1 + tests/tests-ttl/literal_with_FORM_FEED.ttl | 1 + tests/tests-ttl/literal_with_LINE_FEED.nt | 1 + tests/tests-ttl/literal_with_LINE_FEED.ttl | 2 ++ tests/tests-ttl/literal_with_REVERSE_SOLIDUS.nt | 1 + tests/tests-ttl/literal_with_REVERSE_SOLIDUS.ttl | 1 + tests/tests-ttl/literal_with_escaped_BACKSPACE.ttl | 1 + .../literal_with_escaped_CARRIAGE_RETURN.ttl | 1 + .../literal_with_escaped_CHARACTER_TABULATION.ttl | 1 + tests/tests-ttl/literal_with_escaped_FORM_FEED.ttl | 1 + tests/tests-ttl/literal_with_escaped_LINE_FEED.ttl | 1 + tests/tests-ttl/literal_with_numeric_escape4.nt | 1 + tests/tests-ttl/literal_with_numeric_escape4.ttl | 1 + tests/tests-ttl/literal_with_numeric_escape8.ttl | 1 + tests/tests-ttl/localName_with_leading_digit.nt | 1 + tests/tests-ttl/localName_with_leading_digit.ttl | 2 ++ .../tests-ttl/localName_with_leading_underscore.nt | 1 + .../localName_with_leading_underscore.ttl | 2 ++ tests/tests-ttl/localname_with_COLON.nt | 1 + tests/tests-ttl/localname_with_COLON.ttl | 2 ++ tests/tests-ttl/manifest.ttl | 32 ++++++++++++++++++++++ tests/tests-ttl/negative_numeric.nt | 1 + tests/tests-ttl/negative_numeric.ttl | 1 + tests/tests-ttl/nested_blankNodePropertyLists.nt | 3 ++ tests/tests-ttl/nested_blankNodePropertyLists.ttl | 1 + tests/tests-ttl/nested_collection.nt | 5 ++++ tests/tests-ttl/nested_collection.ttl | 1 + tests/tests-ttl/numeric_with_leading_0.nt | 1 + tests/tests-ttl/numeric_with_leading_0.ttl | 1 + tests/tests-ttl/objectList_with_two_objects.nt | 2 ++ tests/tests-ttl/objectList_with_two_objects.ttl | 1 + tests/tests-ttl/old_style_base.ttl | 2 ++ tests/tests-ttl/old_style_prefix.ttl | 2 ++ tests/tests-ttl/percent_escaped_localName.nt | 1 + tests/tests-ttl/percent_escaped_localName.ttl | 2 ++ tests/tests-ttl/positive_numeric.nt | 1 + tests/tests-ttl/positive_numeric.ttl | 1 + .../predicateObjectList_with_two_objectLists.nt | 2 ++ .../predicateObjectList_with_two_objectLists.ttl | 1 + tests/tests-ttl/prefix_only_IRI.ttl | 2 ++ tests/tests-ttl/prefix_reassigned_and_used.nt | 1 + tests/tests-ttl/prefix_reassigned_and_used.ttl | 3 ++ tests/tests-ttl/prefixed_IRI_object.ttl | 2 ++ tests/tests-ttl/prefixed_IRI_predicate.ttl | 2 ++ tests/tests-ttl/prefixed_name_datatype.ttl | 2 ++ tests/tests-ttl/repeated_semis_at_end.ttl | 1 + tests/tests-ttl/repeated_semis_not_at_end.nt | 1 + tests/tests-ttl/repeated_semis_not_at_end.ttl | 1 + tests/tests-ttl/sole_blankNodePropertyList.nt | 1 + tests/tests-ttl/sole_blankNodePropertyList.ttl | 1 + ...ntax-bad-LITERAL2_with_langtag_and_datatype.ttl | 1 + .../turtle-syntax-bad-blank-label-dot-end.ttl | 2 ++ .../tests-ttl/turtle-syntax-bad-ln-dash-start.ttl | 2 ++ .../turtle-syntax-bad-ln-escape-start.ttl | 2 ++ tests/tests-ttl/turtle-syntax-bad-ln-escape.ttl | 2 ++ .../turtle-syntax-bad-missing-ns-dot-end.ttl | 1 + .../turtle-syntax-bad-missing-ns-dot-start.ttl | 1 + tests/tests-ttl/turtle-syntax-bad-ns-dot-end.ttl | 2 ++ tests/tests-ttl/turtle-syntax-bad-ns-dot-start.ttl | 2 ++ .../turtle-syntax-bad-number-dot-in-anon.ttl | 6 ++++ tests/tests-ttl/turtle-syntax-blank-label.ttl | 4 +++ tests/tests-ttl/turtle-syntax-ln-colons.ttl | 6 ++++ tests/tests-ttl/turtle-syntax-ln-dots.ttl | 4 +++ tests/tests-ttl/turtle-syntax-ns-dots.ttl | 2 ++ tests/tests-ttl/two_LITERAL_LONG2s.nt | 2 ++ tests/tests-ttl/two_LITERAL_LONG2s.ttl | 4 +++ tests/tests-ttl/underscore_in_localName.nt | 1 + tests/tests-ttl/underscore_in_localName.ttl | 2 ++ 149 files changed, 255 insertions(+) create mode 100644 tests/tests-ttl/HYPHEN_MINUS_in_localName.nt create mode 100644 tests/tests-ttl/HYPHEN_MINUS_in_localName.ttl create mode 100644 tests/tests-ttl/IRIREF_datatype.nt create mode 100644 tests/tests-ttl/IRIREF_datatype.ttl create mode 100644 tests/tests-ttl/IRI_spo.nt create mode 100644 tests/tests-ttl/IRI_subject.ttl create mode 100644 tests/tests-ttl/IRI_with_all_punctuation.nt create mode 100644 tests/tests-ttl/IRI_with_all_punctuation.ttl create mode 100644 tests/tests-ttl/IRI_with_eight_digit_numeric_escape.ttl create mode 100644 tests/tests-ttl/IRI_with_four_digit_numeric_escape.ttl create mode 100644 tests/tests-ttl/LITERAL1.nt create mode 100644 tests/tests-ttl/LITERAL1.ttl create mode 100644 tests/tests-ttl/LITERAL2.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG1.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG1_with_1_squote.nt create mode 100644 tests/tests-ttl/LITERAL_LONG1_with_1_squote.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG1_with_2_squotes.nt create mode 100644 tests/tests-ttl/LITERAL_LONG1_with_2_squotes.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG2.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_1_squote.nt create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_1_squote.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_2_squotes.nt create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_2_squotes.ttl create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt create mode 100644 tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl create mode 100644 tests/tests-ttl/anonymous_blank_node_object.nt create mode 100644 tests/tests-ttl/anonymous_blank_node_object.ttl create mode 100644 tests/tests-ttl/anonymous_blank_node_subject.nt create mode 100644 tests/tests-ttl/anonymous_blank_node_subject.ttl create mode 100644 tests/tests-ttl/bareword_a_predicate.nt create mode 100644 tests/tests-ttl/bareword_a_predicate.ttl create mode 100644 tests/tests-ttl/bareword_decimal.nt create mode 100644 tests/tests-ttl/bareword_decimal.ttl create mode 100644 tests/tests-ttl/bareword_double.nt create mode 100644 tests/tests-ttl/bareword_double.ttl create mode 100644 tests/tests-ttl/bareword_integer.ttl create mode 100644 tests/tests-ttl/blankNodePropertyList_as_object.nt create mode 100644 tests/tests-ttl/blankNodePropertyList_as_object.ttl create mode 100644 tests/tests-ttl/blankNodePropertyList_as_subject.nt create mode 100644 tests/tests-ttl/blankNodePropertyList_as_subject.ttl create mode 100644 tests/tests-ttl/blankNodePropertyList_containing_collection.nt create mode 100644 tests/tests-ttl/blankNodePropertyList_containing_collection.ttl create mode 100644 tests/tests-ttl/blankNodePropertyList_with_multiple_triples.nt create mode 100644 tests/tests-ttl/blankNodePropertyList_with_multiple_triples.ttl create mode 100644 tests/tests-ttl/collection_object.nt create mode 100644 tests/tests-ttl/collection_object.ttl create mode 100644 tests/tests-ttl/collection_subject.nt create mode 100644 tests/tests-ttl/collection_subject.ttl create mode 100644 tests/tests-ttl/default_namespace_IRI.ttl create mode 100644 tests/tests-ttl/double_lower_case_e.nt create mode 100644 tests/tests-ttl/double_lower_case_e.ttl create mode 100644 tests/tests-ttl/empty_collection.nt create mode 100644 tests/tests-ttl/empty_collection.ttl create mode 100644 tests/tests-ttl/first.nt create mode 100644 tests/tests-ttl/first.ttl create mode 100644 tests/tests-ttl/labeled_blank_node_object.nt create mode 100644 tests/tests-ttl/labeled_blank_node_object.ttl create mode 100644 tests/tests-ttl/labeled_blank_node_subject.nt create mode 100644 tests/tests-ttl/labeled_blank_node_subject.ttl create mode 100644 tests/tests-ttl/labeled_blank_node_with_leading_digit.nt create mode 100644 tests/tests-ttl/labeled_blank_node_with_leading_digit.ttl create mode 100644 tests/tests-ttl/labeled_blank_node_with_leading_underscore.nt create mode 100644 tests/tests-ttl/labeled_blank_node_with_leading_underscore.ttl create mode 100644 tests/tests-ttl/labeled_blank_node_with_non_leading_extras.ttl create mode 100644 tests/tests-ttl/langtagged_LONG.ttl create mode 100644 tests/tests-ttl/langtagged_non_LONG.nt create mode 100644 tests/tests-ttl/langtagged_non_LONG.ttl create mode 100644 tests/tests-ttl/lantag_with_subtag.nt create mode 100644 tests/tests-ttl/lantag_with_subtag.ttl create mode 100644 tests/tests-ttl/last.nt create mode 100644 tests/tests-ttl/last.ttl create mode 100644 tests/tests-ttl/literal_false.nt create mode 100644 tests/tests-ttl/literal_false.ttl create mode 100644 tests/tests-ttl/literal_true.nt create mode 100644 tests/tests-ttl/literal_true.ttl create mode 100644 tests/tests-ttl/literal_with_BACKSPACE.nt create mode 100644 tests/tests-ttl/literal_with_BACKSPACE.ttl create mode 100644 tests/tests-ttl/literal_with_CARRIAGE_RETURN.nt create mode 100644 tests/tests-ttl/literal_with_CARRIAGE_RETURN.ttl create mode 100644 tests/tests-ttl/literal_with_CHARACTER_TABULATION.nt create mode 100644 tests/tests-ttl/literal_with_CHARACTER_TABULATION.ttl create mode 100644 tests/tests-ttl/literal_with_FORM_FEED.nt create mode 100644 tests/tests-ttl/literal_with_FORM_FEED.ttl create mode 100644 tests/tests-ttl/literal_with_LINE_FEED.nt create mode 100644 tests/tests-ttl/literal_with_LINE_FEED.ttl create mode 100644 tests/tests-ttl/literal_with_REVERSE_SOLIDUS.nt create mode 100644 tests/tests-ttl/literal_with_REVERSE_SOLIDUS.ttl create mode 100644 tests/tests-ttl/literal_with_escaped_BACKSPACE.ttl create mode 100644 tests/tests-ttl/literal_with_escaped_CARRIAGE_RETURN.ttl create mode 100644 tests/tests-ttl/literal_with_escaped_CHARACTER_TABULATION.ttl create mode 100644 tests/tests-ttl/literal_with_escaped_FORM_FEED.ttl create mode 100644 tests/tests-ttl/literal_with_escaped_LINE_FEED.ttl create mode 100644 tests/tests-ttl/literal_with_numeric_escape4.nt create mode 100644 tests/tests-ttl/literal_with_numeric_escape4.ttl create mode 100644 tests/tests-ttl/literal_with_numeric_escape8.ttl create mode 100644 tests/tests-ttl/localName_with_leading_digit.nt create mode 100644 tests/tests-ttl/localName_with_leading_digit.ttl create mode 100644 tests/tests-ttl/localName_with_leading_underscore.nt create mode 100644 tests/tests-ttl/localName_with_leading_underscore.ttl create mode 100644 tests/tests-ttl/localname_with_COLON.nt create mode 100644 tests/tests-ttl/localname_with_COLON.ttl create mode 100644 tests/tests-ttl/negative_numeric.nt create mode 100644 tests/tests-ttl/negative_numeric.ttl create mode 100644 tests/tests-ttl/nested_blankNodePropertyLists.nt create mode 100644 tests/tests-ttl/nested_blankNodePropertyLists.ttl create mode 100644 tests/tests-ttl/nested_collection.nt create mode 100644 tests/tests-ttl/nested_collection.ttl create mode 100644 tests/tests-ttl/numeric_with_leading_0.nt create mode 100644 tests/tests-ttl/numeric_with_leading_0.ttl create mode 100644 tests/tests-ttl/objectList_with_two_objects.nt create mode 100644 tests/tests-ttl/objectList_with_two_objects.ttl create mode 100644 tests/tests-ttl/old_style_base.ttl create mode 100644 tests/tests-ttl/old_style_prefix.ttl create mode 100644 tests/tests-ttl/percent_escaped_localName.nt create mode 100644 tests/tests-ttl/percent_escaped_localName.ttl create mode 100644 tests/tests-ttl/positive_numeric.nt create mode 100644 tests/tests-ttl/positive_numeric.ttl create mode 100644 tests/tests-ttl/predicateObjectList_with_two_objectLists.nt create mode 100644 tests/tests-ttl/predicateObjectList_with_two_objectLists.ttl create mode 100644 tests/tests-ttl/prefix_only_IRI.ttl create mode 100644 tests/tests-ttl/prefix_reassigned_and_used.nt create mode 100644 tests/tests-ttl/prefix_reassigned_and_used.ttl create mode 100644 tests/tests-ttl/prefixed_IRI_object.ttl create mode 100644 tests/tests-ttl/prefixed_IRI_predicate.ttl create mode 100644 tests/tests-ttl/prefixed_name_datatype.ttl create mode 100644 tests/tests-ttl/repeated_semis_at_end.ttl create mode 100644 tests/tests-ttl/repeated_semis_not_at_end.nt create mode 100644 tests/tests-ttl/repeated_semis_not_at_end.ttl create mode 100644 tests/tests-ttl/sole_blankNodePropertyList.nt create mode 100644 tests/tests-ttl/sole_blankNodePropertyList.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-blank-label-dot-end.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-ln-dash-start.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-ln-escape-start.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-ln-escape.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-end.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-start.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-ns-dot-end.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-ns-dot-start.ttl create mode 100644 tests/tests-ttl/turtle-syntax-bad-number-dot-in-anon.ttl create mode 100644 tests/tests-ttl/turtle-syntax-blank-label.ttl create mode 100644 tests/tests-ttl/turtle-syntax-ln-colons.ttl create mode 100644 tests/tests-ttl/turtle-syntax-ln-dots.ttl create mode 100644 tests/tests-ttl/turtle-syntax-ns-dots.ttl create mode 100644 tests/tests-ttl/two_LITERAL_LONG2s.nt create mode 100644 tests/tests-ttl/two_LITERAL_LONG2s.ttl create mode 100644 tests/tests-ttl/underscore_in_localName.nt create mode 100644 tests/tests-ttl/underscore_in_localName.ttl diff --git a/tests/tests-ttl/HYPHEN_MINUS_in_localName.nt b/tests/tests-ttl/HYPHEN_MINUS_in_localName.nt new file mode 100644 index 00000000..25546b38 --- /dev/null +++ b/tests/tests-ttl/HYPHEN_MINUS_in_localName.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/HYPHEN_MINUS_in_localName.ttl b/tests/tests-ttl/HYPHEN_MINUS_in_localName.ttl new file mode 100644 index 00000000..0340b8c8 --- /dev/null +++ b/tests/tests-ttl/HYPHEN_MINUS_in_localName.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s- . diff --git a/tests/tests-ttl/IRIREF_datatype.nt b/tests/tests-ttl/IRIREF_datatype.nt new file mode 100644 index 00000000..c333a5f6 --- /dev/null +++ b/tests/tests-ttl/IRIREF_datatype.nt @@ -0,0 +1 @@ + "1"^^ . diff --git a/tests/tests-ttl/IRIREF_datatype.ttl b/tests/tests-ttl/IRIREF_datatype.ttl new file mode 100644 index 00000000..c333a5f6 --- /dev/null +++ b/tests/tests-ttl/IRIREF_datatype.ttl @@ -0,0 +1 @@ + "1"^^ . diff --git a/tests/tests-ttl/IRI_spo.nt b/tests/tests-ttl/IRI_spo.nt new file mode 100644 index 00000000..01125e50 --- /dev/null +++ b/tests/tests-ttl/IRI_spo.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/IRI_subject.ttl b/tests/tests-ttl/IRI_subject.ttl new file mode 100644 index 00000000..01125e50 --- /dev/null +++ b/tests/tests-ttl/IRI_subject.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/IRI_with_all_punctuation.nt b/tests/tests-ttl/IRI_with_all_punctuation.nt new file mode 100644 index 00000000..94158773 --- /dev/null +++ b/tests/tests-ttl/IRI_with_all_punctuation.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/IRI_with_all_punctuation.ttl b/tests/tests-ttl/IRI_with_all_punctuation.ttl new file mode 100644 index 00000000..94158773 --- /dev/null +++ b/tests/tests-ttl/IRI_with_all_punctuation.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/IRI_with_eight_digit_numeric_escape.ttl b/tests/tests-ttl/IRI_with_eight_digit_numeric_escape.ttl new file mode 100644 index 00000000..434034e7 --- /dev/null +++ b/tests/tests-ttl/IRI_with_eight_digit_numeric_escape.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/IRI_with_four_digit_numeric_escape.ttl b/tests/tests-ttl/IRI_with_four_digit_numeric_escape.ttl new file mode 100644 index 00000000..4163636e --- /dev/null +++ b/tests/tests-ttl/IRI_with_four_digit_numeric_escape.ttl @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/LITERAL1.nt b/tests/tests-ttl/LITERAL1.nt new file mode 100644 index 00000000..3aba89e4 --- /dev/null +++ b/tests/tests-ttl/LITERAL1.nt @@ -0,0 +1 @@ + "x" . diff --git a/tests/tests-ttl/LITERAL1.ttl b/tests/tests-ttl/LITERAL1.ttl new file mode 100644 index 00000000..725a2403 --- /dev/null +++ b/tests/tests-ttl/LITERAL1.ttl @@ -0,0 +1 @@ + 'x' . diff --git a/tests/tests-ttl/LITERAL2.ttl b/tests/tests-ttl/LITERAL2.ttl new file mode 100644 index 00000000..3aba89e4 --- /dev/null +++ b/tests/tests-ttl/LITERAL2.ttl @@ -0,0 +1 @@ + "x" . diff --git a/tests/tests-ttl/LITERAL_LONG1.ttl b/tests/tests-ttl/LITERAL_LONG1.ttl new file mode 100644 index 00000000..ab6baa93 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG1.ttl @@ -0,0 +1 @@ + '''x''' . diff --git a/tests/tests-ttl/LITERAL_LONG1_with_1_squote.nt b/tests/tests-ttl/LITERAL_LONG1_with_1_squote.nt new file mode 100644 index 00000000..acf7f58f --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG1_with_1_squote.nt @@ -0,0 +1 @@ + "x'y" . diff --git a/tests/tests-ttl/LITERAL_LONG1_with_1_squote.ttl b/tests/tests-ttl/LITERAL_LONG1_with_1_squote.ttl new file mode 100644 index 00000000..3b93046b --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG1_with_1_squote.ttl @@ -0,0 +1 @@ + '''x'y''' . diff --git a/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.nt b/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.nt new file mode 100644 index 00000000..8ddc52e8 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.nt @@ -0,0 +1 @@ + "x''y" . diff --git a/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.ttl b/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.ttl new file mode 100644 index 00000000..1219bad3 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG1_with_2_squotes.ttl @@ -0,0 +1 @@ + '''x''y''' . diff --git a/tests/tests-ttl/LITERAL_LONG2.ttl b/tests/tests-ttl/LITERAL_LONG2.ttl new file mode 100644 index 00000000..e37bf4a3 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2.ttl @@ -0,0 +1 @@ + """x""" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_1_squote.nt b/tests/tests-ttl/LITERAL_LONG2_with_1_squote.nt new file mode 100644 index 00000000..05a1fd3a --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_1_squote.nt @@ -0,0 +1 @@ + "x\"y" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_1_squote.ttl b/tests/tests-ttl/LITERAL_LONG2_with_1_squote.ttl new file mode 100644 index 00000000..80e389b8 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_1_squote.ttl @@ -0,0 +1 @@ + """x"y""" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.nt b/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.nt new file mode 100644 index 00000000..3e69dc10 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.nt @@ -0,0 +1 @@ + "x\"\"y" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.ttl b/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.ttl new file mode 100644 index 00000000..2f14f5b3 --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_2_squotes.ttl @@ -0,0 +1 @@ + """x""y""" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt b/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt new file mode 100644 index 00000000..586e364d --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.nt @@ -0,0 +1 @@ + "test-\\" . diff --git a/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl b/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl new file mode 100644 index 00000000..2206e33b --- /dev/null +++ b/tests/tests-ttl/LITERAL_LONG2_with_REVERSE_SOLIDUS.ttl @@ -0,0 +1,3 @@ +@prefix : . + +:s :p1 """test-\\""" . diff --git a/tests/tests-ttl/anonymous_blank_node_object.nt b/tests/tests-ttl/anonymous_blank_node_object.nt new file mode 100644 index 00000000..89e88f63 --- /dev/null +++ b/tests/tests-ttl/anonymous_blank_node_object.nt @@ -0,0 +1 @@ + _:b1 . diff --git a/tests/tests-ttl/anonymous_blank_node_object.ttl b/tests/tests-ttl/anonymous_blank_node_object.ttl new file mode 100644 index 00000000..0b2ce436 --- /dev/null +++ b/tests/tests-ttl/anonymous_blank_node_object.ttl @@ -0,0 +1 @@ + [] . diff --git a/tests/tests-ttl/anonymous_blank_node_subject.nt b/tests/tests-ttl/anonymous_blank_node_subject.nt new file mode 100644 index 00000000..b48df9a7 --- /dev/null +++ b/tests/tests-ttl/anonymous_blank_node_subject.nt @@ -0,0 +1 @@ +_:b1 . diff --git a/tests/tests-ttl/anonymous_blank_node_subject.ttl b/tests/tests-ttl/anonymous_blank_node_subject.ttl new file mode 100644 index 00000000..17b378c2 --- /dev/null +++ b/tests/tests-ttl/anonymous_blank_node_subject.ttl @@ -0,0 +1 @@ +[] . diff --git a/tests/tests-ttl/bareword_a_predicate.nt b/tests/tests-ttl/bareword_a_predicate.nt new file mode 100644 index 00000000..afe14252 --- /dev/null +++ b/tests/tests-ttl/bareword_a_predicate.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/bareword_a_predicate.ttl b/tests/tests-ttl/bareword_a_predicate.ttl new file mode 100644 index 00000000..66fa0d0c --- /dev/null +++ b/tests/tests-ttl/bareword_a_predicate.ttl @@ -0,0 +1 @@ + a . diff --git a/tests/tests-ttl/bareword_decimal.nt b/tests/tests-ttl/bareword_decimal.nt new file mode 100644 index 00000000..e177a9c6 --- /dev/null +++ b/tests/tests-ttl/bareword_decimal.nt @@ -0,0 +1 @@ + "1.0"^^ . diff --git a/tests/tests-ttl/bareword_decimal.ttl b/tests/tests-ttl/bareword_decimal.ttl new file mode 100644 index 00000000..20955d51 --- /dev/null +++ b/tests/tests-ttl/bareword_decimal.ttl @@ -0,0 +1 @@ + 1.0 . diff --git a/tests/tests-ttl/bareword_double.nt b/tests/tests-ttl/bareword_double.nt new file mode 100644 index 00000000..dd8be2fd --- /dev/null +++ b/tests/tests-ttl/bareword_double.nt @@ -0,0 +1 @@ + "1E0"^^ . diff --git a/tests/tests-ttl/bareword_double.ttl b/tests/tests-ttl/bareword_double.ttl new file mode 100644 index 00000000..7ce25b11 --- /dev/null +++ b/tests/tests-ttl/bareword_double.ttl @@ -0,0 +1 @@ + 1E0 . diff --git a/tests/tests-ttl/bareword_integer.ttl b/tests/tests-ttl/bareword_integer.ttl new file mode 100644 index 00000000..087e71b6 --- /dev/null +++ b/tests/tests-ttl/bareword_integer.ttl @@ -0,0 +1 @@ + 1 . diff --git a/tests/tests-ttl/blankNodePropertyList_as_object.nt b/tests/tests-ttl/blankNodePropertyList_as_object.nt new file mode 100644 index 00000000..528bd844 --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_as_object.nt @@ -0,0 +1,2 @@ + _:b1 . +_:b1 . diff --git a/tests/tests-ttl/blankNodePropertyList_as_object.ttl b/tests/tests-ttl/blankNodePropertyList_as_object.ttl new file mode 100644 index 00000000..aa85a746 --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_as_object.ttl @@ -0,0 +1 @@ + [ ] . diff --git a/tests/tests-ttl/blankNodePropertyList_as_subject.nt b/tests/tests-ttl/blankNodePropertyList_as_subject.nt new file mode 100644 index 00000000..f0768879 --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_as_subject.nt @@ -0,0 +1,2 @@ +_:b1 . +_:b1 . diff --git a/tests/tests-ttl/blankNodePropertyList_as_subject.ttl b/tests/tests-ttl/blankNodePropertyList_as_subject.ttl new file mode 100644 index 00000000..cb2e52aa --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_as_subject.ttl @@ -0,0 +1 @@ +[ ] . diff --git a/tests/tests-ttl/blankNodePropertyList_containing_collection.nt b/tests/tests-ttl/blankNodePropertyList_containing_collection.nt new file mode 100644 index 00000000..e590826b --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_containing_collection.nt @@ -0,0 +1,3 @@ +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . diff --git a/tests/tests-ttl/blankNodePropertyList_containing_collection.ttl b/tests/tests-ttl/blankNodePropertyList_containing_collection.ttl new file mode 100644 index 00000000..bf164c83 --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_containing_collection.ttl @@ -0,0 +1 @@ +[ (1) ] . diff --git a/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.nt b/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.nt new file mode 100644 index 00000000..8f3fc507 --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.nt @@ -0,0 +1,3 @@ +_:b1 . +_:b1 . +_:b1 . diff --git a/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.ttl b/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.ttl new file mode 100644 index 00000000..6153c13d --- /dev/null +++ b/tests/tests-ttl/blankNodePropertyList_with_multiple_triples.ttl @@ -0,0 +1 @@ +[ ; ] . diff --git a/tests/tests-ttl/collection_object.nt b/tests/tests-ttl/collection_object.nt new file mode 100644 index 00000000..391162e0 --- /dev/null +++ b/tests/tests-ttl/collection_object.nt @@ -0,0 +1,3 @@ + _:b1 . +_:b1 "1"^^ . +_:b1 . diff --git a/tests/tests-ttl/collection_object.ttl b/tests/tests-ttl/collection_object.ttl new file mode 100644 index 00000000..6af34715 --- /dev/null +++ b/tests/tests-ttl/collection_object.ttl @@ -0,0 +1 @@ + (1) . diff --git a/tests/tests-ttl/collection_subject.nt b/tests/tests-ttl/collection_subject.nt new file mode 100644 index 00000000..502768c8 --- /dev/null +++ b/tests/tests-ttl/collection_subject.nt @@ -0,0 +1,3 @@ +_:b1 "1"^^ . +_:b1 . +_:b1 . diff --git a/tests/tests-ttl/collection_subject.ttl b/tests/tests-ttl/collection_subject.ttl new file mode 100644 index 00000000..00a4c0bc --- /dev/null +++ b/tests/tests-ttl/collection_subject.ttl @@ -0,0 +1 @@ +(1) . diff --git a/tests/tests-ttl/default_namespace_IRI.ttl b/tests/tests-ttl/default_namespace_IRI.ttl new file mode 100644 index 00000000..f1f83fd5 --- /dev/null +++ b/tests/tests-ttl/default_namespace_IRI.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s . diff --git a/tests/tests-ttl/double_lower_case_e.nt b/tests/tests-ttl/double_lower_case_e.nt new file mode 100644 index 00000000..49a792b9 --- /dev/null +++ b/tests/tests-ttl/double_lower_case_e.nt @@ -0,0 +1 @@ + "1e0"^^ . diff --git a/tests/tests-ttl/double_lower_case_e.ttl b/tests/tests-ttl/double_lower_case_e.ttl new file mode 100644 index 00000000..5f4552bf --- /dev/null +++ b/tests/tests-ttl/double_lower_case_e.ttl @@ -0,0 +1 @@ + 1e0 . diff --git a/tests/tests-ttl/empty_collection.nt b/tests/tests-ttl/empty_collection.nt new file mode 100644 index 00000000..82726a3f --- /dev/null +++ b/tests/tests-ttl/empty_collection.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/empty_collection.ttl b/tests/tests-ttl/empty_collection.ttl new file mode 100644 index 00000000..02f9cc07 --- /dev/null +++ b/tests/tests-ttl/empty_collection.ttl @@ -0,0 +1 @@ + () . diff --git a/tests/tests-ttl/first.nt b/tests/tests-ttl/first.nt new file mode 100644 index 00000000..d50539f6 --- /dev/null +++ b/tests/tests-ttl/first.nt @@ -0,0 +1,7 @@ + _:b1 . +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . +_:b1 _:b3 . +_:b3 "2"^^ . +_:b3 . diff --git a/tests/tests-ttl/first.ttl b/tests/tests-ttl/first.ttl new file mode 100644 index 00000000..44f496cb --- /dev/null +++ b/tests/tests-ttl/first.ttl @@ -0,0 +1 @@ + ((1) 2) . diff --git a/tests/tests-ttl/labeled_blank_node_object.nt b/tests/tests-ttl/labeled_blank_node_object.nt new file mode 100644 index 00000000..2645d4ee --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_object.nt @@ -0,0 +1 @@ + _:o . diff --git a/tests/tests-ttl/labeled_blank_node_object.ttl b/tests/tests-ttl/labeled_blank_node_object.ttl new file mode 100644 index 00000000..2645d4ee --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_object.ttl @@ -0,0 +1 @@ + _:o . diff --git a/tests/tests-ttl/labeled_blank_node_subject.nt b/tests/tests-ttl/labeled_blank_node_subject.nt new file mode 100644 index 00000000..d0c7f458 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_subject.nt @@ -0,0 +1 @@ +_:s . diff --git a/tests/tests-ttl/labeled_blank_node_subject.ttl b/tests/tests-ttl/labeled_blank_node_subject.ttl new file mode 100644 index 00000000..d0c7f458 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_subject.ttl @@ -0,0 +1 @@ +_:s . diff --git a/tests/tests-ttl/labeled_blank_node_with_leading_digit.nt b/tests/tests-ttl/labeled_blank_node_with_leading_digit.nt new file mode 100644 index 00000000..7244d806 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_with_leading_digit.nt @@ -0,0 +1 @@ + _:0 . diff --git a/tests/tests-ttl/labeled_blank_node_with_leading_digit.ttl b/tests/tests-ttl/labeled_blank_node_with_leading_digit.ttl new file mode 100644 index 00000000..7244d806 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_with_leading_digit.ttl @@ -0,0 +1 @@ + _:0 . diff --git a/tests/tests-ttl/labeled_blank_node_with_leading_underscore.nt b/tests/tests-ttl/labeled_blank_node_with_leading_underscore.nt new file mode 100644 index 00000000..15d9ffc8 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_with_leading_underscore.nt @@ -0,0 +1 @@ + _:_ . diff --git a/tests/tests-ttl/labeled_blank_node_with_leading_underscore.ttl b/tests/tests-ttl/labeled_blank_node_with_leading_underscore.ttl new file mode 100644 index 00000000..15d9ffc8 --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_with_leading_underscore.ttl @@ -0,0 +1 @@ + _:_ . diff --git a/tests/tests-ttl/labeled_blank_node_with_non_leading_extras.ttl b/tests/tests-ttl/labeled_blank_node_with_non_leading_extras.ttl new file mode 100644 index 00000000..5ae09b7c --- /dev/null +++ b/tests/tests-ttl/labeled_blank_node_with_non_leading_extras.ttl @@ -0,0 +1 @@ + _:a·̀ͯ‿.⁀ . diff --git a/tests/tests-ttl/langtagged_LONG.ttl b/tests/tests-ttl/langtagged_LONG.ttl new file mode 100644 index 00000000..2baefe5d --- /dev/null +++ b/tests/tests-ttl/langtagged_LONG.ttl @@ -0,0 +1 @@ + """chat"""@en . diff --git a/tests/tests-ttl/langtagged_non_LONG.nt b/tests/tests-ttl/langtagged_non_LONG.nt new file mode 100644 index 00000000..1bddb04e --- /dev/null +++ b/tests/tests-ttl/langtagged_non_LONG.nt @@ -0,0 +1 @@ + "chat"@en . diff --git a/tests/tests-ttl/langtagged_non_LONG.ttl b/tests/tests-ttl/langtagged_non_LONG.ttl new file mode 100644 index 00000000..1bddb04e --- /dev/null +++ b/tests/tests-ttl/langtagged_non_LONG.ttl @@ -0,0 +1 @@ + "chat"@en . diff --git a/tests/tests-ttl/lantag_with_subtag.nt b/tests/tests-ttl/lantag_with_subtag.nt new file mode 100644 index 00000000..46c9d53a --- /dev/null +++ b/tests/tests-ttl/lantag_with_subtag.nt @@ -0,0 +1 @@ + "chat"@en-us . diff --git a/tests/tests-ttl/lantag_with_subtag.ttl b/tests/tests-ttl/lantag_with_subtag.ttl new file mode 100644 index 00000000..46c9d53a --- /dev/null +++ b/tests/tests-ttl/lantag_with_subtag.ttl @@ -0,0 +1 @@ + "chat"@en-us . diff --git a/tests/tests-ttl/last.nt b/tests/tests-ttl/last.nt new file mode 100644 index 00000000..27c21b3d --- /dev/null +++ b/tests/tests-ttl/last.nt @@ -0,0 +1,7 @@ + _:b1 . +_:b1 "1"^^ . +_:b1 _:b2 . +_:b2 _:b3 . +_:b3 "2"^^ . +_:b3 . +_:b2 . diff --git a/tests/tests-ttl/last.ttl b/tests/tests-ttl/last.ttl new file mode 100644 index 00000000..1254c261 --- /dev/null +++ b/tests/tests-ttl/last.ttl @@ -0,0 +1 @@ + (1 (2)) . diff --git a/tests/tests-ttl/literal_false.nt b/tests/tests-ttl/literal_false.nt new file mode 100644 index 00000000..5bbbae84 --- /dev/null +++ b/tests/tests-ttl/literal_false.nt @@ -0,0 +1 @@ + "false"^^ . diff --git a/tests/tests-ttl/literal_false.ttl b/tests/tests-ttl/literal_false.ttl new file mode 100644 index 00000000..6a32e362 --- /dev/null +++ b/tests/tests-ttl/literal_false.ttl @@ -0,0 +1 @@ + false . diff --git a/tests/tests-ttl/literal_true.nt b/tests/tests-ttl/literal_true.nt new file mode 100644 index 00000000..054b229f --- /dev/null +++ b/tests/tests-ttl/literal_true.nt @@ -0,0 +1 @@ + "true"^^ . diff --git a/tests/tests-ttl/literal_true.ttl b/tests/tests-ttl/literal_true.ttl new file mode 100644 index 00000000..6c5bb742 --- /dev/null +++ b/tests/tests-ttl/literal_true.ttl @@ -0,0 +1 @@ + true . diff --git a/tests/tests-ttl/literal_with_BACKSPACE.nt b/tests/tests-ttl/literal_with_BACKSPACE.nt new file mode 100644 index 00000000..7dba113b --- /dev/null +++ b/tests/tests-ttl/literal_with_BACKSPACE.nt @@ -0,0 +1 @@ + "\u0008" . diff --git a/tests/tests-ttl/literal_with_BACKSPACE.ttl b/tests/tests-ttl/literal_with_BACKSPACE.ttl new file mode 100644 index 00000000..17b2880f --- /dev/null +++ b/tests/tests-ttl/literal_with_BACKSPACE.ttl @@ -0,0 +1 @@ + '' . diff --git a/tests/tests-ttl/literal_with_CARRIAGE_RETURN.nt b/tests/tests-ttl/literal_with_CARRIAGE_RETURN.nt new file mode 100644 index 00000000..91b85c89 --- /dev/null +++ b/tests/tests-ttl/literal_with_CARRIAGE_RETURN.nt @@ -0,0 +1 @@ + "\r" . diff --git a/tests/tests-ttl/literal_with_CARRIAGE_RETURN.ttl b/tests/tests-ttl/literal_with_CARRIAGE_RETURN.ttl new file mode 100644 index 00000000..3cd1d89c --- /dev/null +++ b/tests/tests-ttl/literal_with_CARRIAGE_RETURN.ttl @@ -0,0 +1 @@ + ''' ''' . diff --git a/tests/tests-ttl/literal_with_CHARACTER_TABULATION.nt b/tests/tests-ttl/literal_with_CHARACTER_TABULATION.nt new file mode 100644 index 00000000..a6a9d9f0 --- /dev/null +++ b/tests/tests-ttl/literal_with_CHARACTER_TABULATION.nt @@ -0,0 +1 @@ + "\t" . diff --git a/tests/tests-ttl/literal_with_CHARACTER_TABULATION.ttl b/tests/tests-ttl/literal_with_CHARACTER_TABULATION.ttl new file mode 100644 index 00000000..37fbd9d1 --- /dev/null +++ b/tests/tests-ttl/literal_with_CHARACTER_TABULATION.ttl @@ -0,0 +1 @@ + ' ' . diff --git a/tests/tests-ttl/literal_with_FORM_FEED.nt b/tests/tests-ttl/literal_with_FORM_FEED.nt new file mode 100644 index 00000000..2a4490b3 --- /dev/null +++ b/tests/tests-ttl/literal_with_FORM_FEED.nt @@ -0,0 +1 @@ + "\u000C" . diff --git a/tests/tests-ttl/literal_with_FORM_FEED.ttl b/tests/tests-ttl/literal_with_FORM_FEED.ttl new file mode 100644 index 00000000..76d6ee77 --- /dev/null +++ b/tests/tests-ttl/literal_with_FORM_FEED.ttl @@ -0,0 +1 @@ + ' ' . diff --git a/tests/tests-ttl/literal_with_LINE_FEED.nt b/tests/tests-ttl/literal_with_LINE_FEED.nt new file mode 100644 index 00000000..462f97ac --- /dev/null +++ b/tests/tests-ttl/literal_with_LINE_FEED.nt @@ -0,0 +1 @@ + "\n" . diff --git a/tests/tests-ttl/literal_with_LINE_FEED.ttl b/tests/tests-ttl/literal_with_LINE_FEED.ttl new file mode 100644 index 00000000..50cc8a8b --- /dev/null +++ b/tests/tests-ttl/literal_with_LINE_FEED.ttl @@ -0,0 +1,2 @@ + ''' +''' . diff --git a/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.nt b/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.nt new file mode 100644 index 00000000..ebc846ed --- /dev/null +++ b/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.nt @@ -0,0 +1 @@ + "\\" . diff --git a/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.ttl b/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.ttl new file mode 100644 index 00000000..380a3d04 --- /dev/null +++ b/tests/tests-ttl/literal_with_REVERSE_SOLIDUS.ttl @@ -0,0 +1 @@ + '\\' . diff --git a/tests/tests-ttl/literal_with_escaped_BACKSPACE.ttl b/tests/tests-ttl/literal_with_escaped_BACKSPACE.ttl new file mode 100644 index 00000000..5284b9b6 --- /dev/null +++ b/tests/tests-ttl/literal_with_escaped_BACKSPACE.ttl @@ -0,0 +1 @@ + '\b' . diff --git a/tests/tests-ttl/literal_with_escaped_CARRIAGE_RETURN.ttl b/tests/tests-ttl/literal_with_escaped_CARRIAGE_RETURN.ttl new file mode 100644 index 00000000..a28e7c0b --- /dev/null +++ b/tests/tests-ttl/literal_with_escaped_CARRIAGE_RETURN.ttl @@ -0,0 +1 @@ + '\r' . diff --git a/tests/tests-ttl/literal_with_escaped_CHARACTER_TABULATION.ttl b/tests/tests-ttl/literal_with_escaped_CHARACTER_TABULATION.ttl new file mode 100644 index 00000000..67966f78 --- /dev/null +++ b/tests/tests-ttl/literal_with_escaped_CHARACTER_TABULATION.ttl @@ -0,0 +1 @@ + '\t' . diff --git a/tests/tests-ttl/literal_with_escaped_FORM_FEED.ttl b/tests/tests-ttl/literal_with_escaped_FORM_FEED.ttl new file mode 100644 index 00000000..21acace9 --- /dev/null +++ b/tests/tests-ttl/literal_with_escaped_FORM_FEED.ttl @@ -0,0 +1 @@ + '\f' . diff --git a/tests/tests-ttl/literal_with_escaped_LINE_FEED.ttl b/tests/tests-ttl/literal_with_escaped_LINE_FEED.ttl new file mode 100644 index 00000000..b53f49ec --- /dev/null +++ b/tests/tests-ttl/literal_with_escaped_LINE_FEED.ttl @@ -0,0 +1 @@ + '\n' . diff --git a/tests/tests-ttl/literal_with_numeric_escape4.nt b/tests/tests-ttl/literal_with_numeric_escape4.nt new file mode 100644 index 00000000..0b35a89a --- /dev/null +++ b/tests/tests-ttl/literal_with_numeric_escape4.nt @@ -0,0 +1 @@ + "o" . diff --git a/tests/tests-ttl/literal_with_numeric_escape4.ttl b/tests/tests-ttl/literal_with_numeric_escape4.ttl new file mode 100644 index 00000000..2b4e0175 --- /dev/null +++ b/tests/tests-ttl/literal_with_numeric_escape4.ttl @@ -0,0 +1 @@ + '\u006F' . diff --git a/tests/tests-ttl/literal_with_numeric_escape8.ttl b/tests/tests-ttl/literal_with_numeric_escape8.ttl new file mode 100644 index 00000000..8d0e4ef2 --- /dev/null +++ b/tests/tests-ttl/literal_with_numeric_escape8.ttl @@ -0,0 +1 @@ + '\U0000006F' . diff --git a/tests/tests-ttl/localName_with_leading_digit.nt b/tests/tests-ttl/localName_with_leading_digit.nt new file mode 100644 index 00000000..a9e101e5 --- /dev/null +++ b/tests/tests-ttl/localName_with_leading_digit.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/localName_with_leading_digit.ttl b/tests/tests-ttl/localName_with_leading_digit.ttl new file mode 100644 index 00000000..65da2499 --- /dev/null +++ b/tests/tests-ttl/localName_with_leading_digit.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:0 . diff --git a/tests/tests-ttl/localName_with_leading_underscore.nt b/tests/tests-ttl/localName_with_leading_underscore.nt new file mode 100644 index 00000000..e042a7b9 --- /dev/null +++ b/tests/tests-ttl/localName_with_leading_underscore.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/localName_with_leading_underscore.ttl b/tests/tests-ttl/localName_with_leading_underscore.ttl new file mode 100644 index 00000000..762ace98 --- /dev/null +++ b/tests/tests-ttl/localName_with_leading_underscore.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:_ . diff --git a/tests/tests-ttl/localname_with_COLON.nt b/tests/tests-ttl/localname_with_COLON.nt new file mode 100644 index 00000000..eb966ca3 --- /dev/null +++ b/tests/tests-ttl/localname_with_COLON.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/localname_with_COLON.ttl b/tests/tests-ttl/localname_with_COLON.ttl new file mode 100644 index 00000000..1d45f20f --- /dev/null +++ b/tests/tests-ttl/localname_with_COLON.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s: . diff --git a/tests/tests-ttl/manifest.ttl b/tests/tests-ttl/manifest.ttl index 3aee41ae..195edc9e 100644 --- a/tests/tests-ttl/manifest.ttl +++ b/tests/tests-ttl/manifest.ttl @@ -58,8 +58,12 @@ <#blankNodePropertyList_as_object> <#blankNodePropertyList_with_multiple_triples> <#nested_blankNodePropertyLists> + <#blankNodePropertyList_containing_collection> + <#collection_subject> + <#collection_object> <#empty_collection> <#nested_collection> + <#first> <#last> <#LITERAL1> <#LITERAL_LONG1> @@ -504,6 +508,27 @@ mf:result ; . +<#blankNodePropertyList_containing_collection> rdf:type rdft:TestTurtleEval ; + mf:name "blankNodePropertyList_containing_collection" ; + rdfs:comment "blankNodePropertyList containing collection [ ( … ) ]" ; + mf:action ; + mf:result ; + . + +<#collection_subject> rdf:type rdft:TestTurtleEval ; + mf:name "collection_subject" ; + rdfs:comment "collection subject" ; + mf:action ; + mf:result ; + . + +<#collection_object> rdf:type rdft:TestTurtleEval ; + mf:name "collection_object" ; + rdfs:comment "collection object" ; + mf:action ; + mf:result ; + . + <#empty_collection> rdf:type rdft:TestTurtleEval ; mf:name "empty_collection" ; rdfs:comment "empty collection ()" ; @@ -518,6 +543,13 @@ mf:result ; . +<#first> rdf:type rdft:TestTurtleEval ; + mf:name "first" ; + rdfs:comment "first, not last, non-empty nested collection" ; + mf:action ; + mf:result ; + . + <#last> rdf:type rdft:TestTurtleEval ; mf:name "last" ; rdfs:comment "last, not first, non-empty nested collection" ; diff --git a/tests/tests-ttl/negative_numeric.nt b/tests/tests-ttl/negative_numeric.nt new file mode 100644 index 00000000..4baf628d --- /dev/null +++ b/tests/tests-ttl/negative_numeric.nt @@ -0,0 +1 @@ + "-1"^^ . diff --git a/tests/tests-ttl/negative_numeric.ttl b/tests/tests-ttl/negative_numeric.ttl new file mode 100644 index 00000000..a6a7f57b --- /dev/null +++ b/tests/tests-ttl/negative_numeric.ttl @@ -0,0 +1 @@ + -1 . diff --git a/tests/tests-ttl/nested_blankNodePropertyLists.nt b/tests/tests-ttl/nested_blankNodePropertyLists.nt new file mode 100644 index 00000000..5284c007 --- /dev/null +++ b/tests/tests-ttl/nested_blankNodePropertyLists.nt @@ -0,0 +1,3 @@ +_:b1 _:b2 . +_:b2 . +_:b1 . diff --git a/tests/tests-ttl/nested_blankNodePropertyLists.ttl b/tests/tests-ttl/nested_blankNodePropertyLists.ttl new file mode 100644 index 00000000..a3e4681c --- /dev/null +++ b/tests/tests-ttl/nested_blankNodePropertyLists.ttl @@ -0,0 +1 @@ +[ [ ] ; ]. diff --git a/tests/tests-ttl/nested_collection.nt b/tests/tests-ttl/nested_collection.nt new file mode 100644 index 00000000..eaea2847 --- /dev/null +++ b/tests/tests-ttl/nested_collection.nt @@ -0,0 +1,5 @@ + _:b1 . +_:b1 _:b2 . +_:b2 "1"^^ . +_:b2 . +_:b1 . diff --git a/tests/tests-ttl/nested_collection.ttl b/tests/tests-ttl/nested_collection.ttl new file mode 100644 index 00000000..944e7c6b --- /dev/null +++ b/tests/tests-ttl/nested_collection.ttl @@ -0,0 +1 @@ + ((1)) . diff --git a/tests/tests-ttl/numeric_with_leading_0.nt b/tests/tests-ttl/numeric_with_leading_0.nt new file mode 100644 index 00000000..1df5c472 --- /dev/null +++ b/tests/tests-ttl/numeric_with_leading_0.nt @@ -0,0 +1 @@ + "01"^^ . diff --git a/tests/tests-ttl/numeric_with_leading_0.ttl b/tests/tests-ttl/numeric_with_leading_0.ttl new file mode 100644 index 00000000..a5eac209 --- /dev/null +++ b/tests/tests-ttl/numeric_with_leading_0.ttl @@ -0,0 +1 @@ + 01 . diff --git a/tests/tests-ttl/objectList_with_two_objects.nt b/tests/tests-ttl/objectList_with_two_objects.nt new file mode 100644 index 00000000..7f8e9c0f --- /dev/null +++ b/tests/tests-ttl/objectList_with_two_objects.nt @@ -0,0 +1,2 @@ + . + . diff --git a/tests/tests-ttl/objectList_with_two_objects.ttl b/tests/tests-ttl/objectList_with_two_objects.ttl new file mode 100644 index 00000000..b12f02d1 --- /dev/null +++ b/tests/tests-ttl/objectList_with_two_objects.ttl @@ -0,0 +1 @@ + , . diff --git a/tests/tests-ttl/old_style_base.ttl b/tests/tests-ttl/old_style_base.ttl new file mode 100644 index 00000000..f0f4c03c --- /dev/null +++ b/tests/tests-ttl/old_style_base.ttl @@ -0,0 +1,2 @@ +@base . + . diff --git a/tests/tests-ttl/old_style_prefix.ttl b/tests/tests-ttl/old_style_prefix.ttl new file mode 100644 index 00000000..59595672 --- /dev/null +++ b/tests/tests-ttl/old_style_prefix.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s . diff --git a/tests/tests-ttl/percent_escaped_localName.nt b/tests/tests-ttl/percent_escaped_localName.nt new file mode 100644 index 00000000..e0af4b62 --- /dev/null +++ b/tests/tests-ttl/percent_escaped_localName.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/percent_escaped_localName.ttl b/tests/tests-ttl/percent_escaped_localName.ttl new file mode 100644 index 00000000..0564ccab --- /dev/null +++ b/tests/tests-ttl/percent_escaped_localName.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:%25 . diff --git a/tests/tests-ttl/positive_numeric.nt b/tests/tests-ttl/positive_numeric.nt new file mode 100644 index 00000000..96e6086a --- /dev/null +++ b/tests/tests-ttl/positive_numeric.nt @@ -0,0 +1 @@ + "+1"^^ . diff --git a/tests/tests-ttl/positive_numeric.ttl b/tests/tests-ttl/positive_numeric.ttl new file mode 100644 index 00000000..606691d9 --- /dev/null +++ b/tests/tests-ttl/positive_numeric.ttl @@ -0,0 +1 @@ + +1 . diff --git a/tests/tests-ttl/predicateObjectList_with_two_objectLists.nt b/tests/tests-ttl/predicateObjectList_with_two_objectLists.nt new file mode 100644 index 00000000..274182c7 --- /dev/null +++ b/tests/tests-ttl/predicateObjectList_with_two_objectLists.nt @@ -0,0 +1,2 @@ + . + . diff --git a/tests/tests-ttl/predicateObjectList_with_two_objectLists.ttl b/tests/tests-ttl/predicateObjectList_with_two_objectLists.ttl new file mode 100644 index 00000000..337b132f --- /dev/null +++ b/tests/tests-ttl/predicateObjectList_with_two_objectLists.ttl @@ -0,0 +1 @@ + ; . diff --git a/tests/tests-ttl/prefix_only_IRI.ttl b/tests/tests-ttl/prefix_only_IRI.ttl new file mode 100644 index 00000000..9ff66603 --- /dev/null +++ b/tests/tests-ttl/prefix_only_IRI.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p: . diff --git a/tests/tests-ttl/prefix_reassigned_and_used.nt b/tests/tests-ttl/prefix_reassigned_and_used.nt new file mode 100644 index 00000000..68bc9efe --- /dev/null +++ b/tests/tests-ttl/prefix_reassigned_and_used.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/prefix_reassigned_and_used.ttl b/tests/tests-ttl/prefix_reassigned_and_used.ttl new file mode 100644 index 00000000..1f948597 --- /dev/null +++ b/tests/tests-ttl/prefix_reassigned_and_used.ttl @@ -0,0 +1,3 @@ +@prefix p: . +@prefix p: . +p:s . diff --git a/tests/tests-ttl/prefixed_IRI_object.ttl b/tests/tests-ttl/prefixed_IRI_object.ttl new file mode 100644 index 00000000..c2d50362 --- /dev/null +++ b/tests/tests-ttl/prefixed_IRI_object.ttl @@ -0,0 +1,2 @@ +@prefix p: . + p:o . diff --git a/tests/tests-ttl/prefixed_IRI_predicate.ttl b/tests/tests-ttl/prefixed_IRI_predicate.ttl new file mode 100644 index 00000000..2c1e5cc7 --- /dev/null +++ b/tests/tests-ttl/prefixed_IRI_predicate.ttl @@ -0,0 +1,2 @@ +@prefix p: . + p:p . diff --git a/tests/tests-ttl/prefixed_name_datatype.ttl b/tests/tests-ttl/prefixed_name_datatype.ttl new file mode 100644 index 00000000..4a526073 --- /dev/null +++ b/tests/tests-ttl/prefixed_name_datatype.ttl @@ -0,0 +1,2 @@ +@prefix xsd: . + "1"^^xsd:integer . diff --git a/tests/tests-ttl/repeated_semis_at_end.ttl b/tests/tests-ttl/repeated_semis_at_end.ttl new file mode 100644 index 00000000..8a4d9356 --- /dev/null +++ b/tests/tests-ttl/repeated_semis_at_end.ttl @@ -0,0 +1 @@ + ;; . diff --git a/tests/tests-ttl/repeated_semis_not_at_end.nt b/tests/tests-ttl/repeated_semis_not_at_end.nt new file mode 100644 index 00000000..9ac6005f --- /dev/null +++ b/tests/tests-ttl/repeated_semis_not_at_end.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/repeated_semis_not_at_end.ttl b/tests/tests-ttl/repeated_semis_not_at_end.ttl new file mode 100644 index 00000000..3c8144f3 --- /dev/null +++ b/tests/tests-ttl/repeated_semis_not_at_end.ttl @@ -0,0 +1 @@ + ;; . diff --git a/tests/tests-ttl/sole_blankNodePropertyList.nt b/tests/tests-ttl/sole_blankNodePropertyList.nt new file mode 100644 index 00000000..b48df9a7 --- /dev/null +++ b/tests/tests-ttl/sole_blankNodePropertyList.nt @@ -0,0 +1 @@ +_:b1 . diff --git a/tests/tests-ttl/sole_blankNodePropertyList.ttl b/tests/tests-ttl/sole_blankNodePropertyList.ttl new file mode 100644 index 00000000..5cc300f3 --- /dev/null +++ b/tests/tests-ttl/sole_blankNodePropertyList.ttl @@ -0,0 +1 @@ +[ ] . diff --git a/tests/tests-ttl/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl b/tests/tests-ttl/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl new file mode 100644 index 00000000..56180417 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-LITERAL2_with_langtag_and_datatype.ttl @@ -0,0 +1 @@ + "value"@en^^ . diff --git a/tests/tests-ttl/turtle-syntax-bad-blank-label-dot-end.ttl b/tests/tests-ttl/turtle-syntax-bad-blank-label-dot-end.ttl new file mode 100644 index 00000000..613e775f --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-blank-label-dot-end.ttl @@ -0,0 +1,2 @@ +@prefix : . +_:b1. :p :o . diff --git a/tests/tests-ttl/turtle-syntax-bad-ln-dash-start.ttl b/tests/tests-ttl/turtle-syntax-bad-ln-dash-start.ttl new file mode 100644 index 00000000..291bdda3 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-ln-dash-start.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :-o . diff --git a/tests/tests-ttl/turtle-syntax-bad-ln-escape-start.ttl b/tests/tests-ttl/turtle-syntax-bad-ln-escape-start.ttl new file mode 100644 index 00000000..d1661bd7 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-ln-escape-start.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :%2o . diff --git a/tests/tests-ttl/turtle-syntax-bad-ln-escape.ttl b/tests/tests-ttl/turtle-syntax-bad-ln-escape.ttl new file mode 100644 index 00000000..585e28b5 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-ln-escape.ttl @@ -0,0 +1,2 @@ +@prefix : . +:s :p :o%2 . diff --git a/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-end.ttl b/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-end.ttl new file mode 100644 index 00000000..d06f4e69 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-end.ttl @@ -0,0 +1 @@ +valid:s valid:p invalid.:o . diff --git a/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-start.ttl b/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-start.ttl new file mode 100644 index 00000000..23514bcc --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-missing-ns-dot-start.ttl @@ -0,0 +1 @@ +.undefined:s .undefined:p .undefined:o . diff --git a/tests/tests-ttl/turtle-syntax-bad-ns-dot-end.ttl b/tests/tests-ttl/turtle-syntax-bad-ns-dot-end.ttl new file mode 100644 index 00000000..a99fc98d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-ns-dot-end.ttl @@ -0,0 +1,2 @@ +@prefix eg. : . +eg.:s eg.:p eg.:o . diff --git a/tests/tests-ttl/turtle-syntax-bad-ns-dot-start.ttl b/tests/tests-ttl/turtle-syntax-bad-ns-dot-start.ttl new file mode 100644 index 00000000..b3993dd7 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-ns-dot-start.ttl @@ -0,0 +1,2 @@ +@prefix .eg : . +.eg:s .eg:p .eg:o . diff --git a/tests/tests-ttl/turtle-syntax-bad-number-dot-in-anon.ttl b/tests/tests-ttl/turtle-syntax-bad-number-dot-in-anon.ttl new file mode 100644 index 00000000..46d15f9a --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-bad-number-dot-in-anon.ttl @@ -0,0 +1,6 @@ +@prefix : . + +:s + :p [ + :p1 27. + ] . diff --git a/tests/tests-ttl/turtle-syntax-blank-label.ttl b/tests/tests-ttl/turtle-syntax-blank-label.ttl new file mode 100644 index 00000000..3e3e516d --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-blank-label.ttl @@ -0,0 +1,4 @@ +@prefix : . +_:0b :p :o . # Starts with digit +_:_b :p :o . # Starts with underscore +_:b.0 :p :o . # Contains dot, ends with digit diff --git a/tests/tests-ttl/turtle-syntax-ln-colons.ttl b/tests/tests-ttl/turtle-syntax-ln-colons.ttl new file mode 100644 index 00000000..397989db --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-ln-colons.ttl @@ -0,0 +1,6 @@ +@prefix : . +:s:1 :p:1 :o:1 . +:s::2 :p::2 :o::2 . +:3:s :3:p :3 . +::s ::p ::o . +::s: ::p: ::o: . diff --git a/tests/tests-ttl/turtle-syntax-ln-dots.ttl b/tests/tests-ttl/turtle-syntax-ln-dots.ttl new file mode 100644 index 00000000..230381a1 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-ln-dots.ttl @@ -0,0 +1,4 @@ +@prefix : . +:s.1 :p.1 :o.1 . +:s..2 :p..2 :o..2. +:3.s :3.p :3. diff --git a/tests/tests-ttl/turtle-syntax-ns-dots.ttl b/tests/tests-ttl/turtle-syntax-ns-dots.ttl new file mode 100644 index 00000000..78465870 --- /dev/null +++ b/tests/tests-ttl/turtle-syntax-ns-dots.ttl @@ -0,0 +1,2 @@ +@prefix e.g: . +e.g:s e.g:p e.g:o . diff --git a/tests/tests-ttl/two_LITERAL_LONG2s.nt b/tests/tests-ttl/two_LITERAL_LONG2s.nt new file mode 100644 index 00000000..af94fe6a --- /dev/null +++ b/tests/tests-ttl/two_LITERAL_LONG2s.nt @@ -0,0 +1,2 @@ + "first long literal" . + "second long literal" . diff --git a/tests/tests-ttl/two_LITERAL_LONG2s.ttl b/tests/tests-ttl/two_LITERAL_LONG2s.ttl new file mode 100644 index 00000000..ceaad3d4 --- /dev/null +++ b/tests/tests-ttl/two_LITERAL_LONG2s.ttl @@ -0,0 +1,4 @@ +# Test long literal twice to ensure it does not over-quote +@prefix : . +:a :b """first long literal""" . +:c :d """second long literal""" . diff --git a/tests/tests-ttl/underscore_in_localName.nt b/tests/tests-ttl/underscore_in_localName.nt new file mode 100644 index 00000000..f9d0c4f1 --- /dev/null +++ b/tests/tests-ttl/underscore_in_localName.nt @@ -0,0 +1 @@ + . diff --git a/tests/tests-ttl/underscore_in_localName.ttl b/tests/tests-ttl/underscore_in_localName.ttl new file mode 100644 index 00000000..34596fdf --- /dev/null +++ b/tests/tests-ttl/underscore_in_localName.ttl @@ -0,0 +1,2 @@ +@prefix p: . +p:s_ . -- cgit v1.2.1