From cf44ecc944a18d2a6bef024b18cd30fee5d19d56 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 11 Sep 2017 08:34:21 +0200 Subject: Remove redundant tests --- tests/good/manifest.ttl | 156 ------------------------------------------------ tests/good/test-00.nt | 1 - tests/good/test-00.ttl | 2 - tests/good/test-01.nt | 3 - tests/good/test-01.ttl | 7 --- tests/good/test-02.nt | 3 - tests/good/test-02.ttl | 5 -- tests/good/test-03.nt | 3 - tests/good/test-03.ttl | 5 -- tests/good/test-04.nt | 2 - tests/good/test-04.ttl | 4 -- tests/good/test-05.nt | 4 -- tests/good/test-05.ttl | 4 -- tests/good/test-06.nt | 1 - tests/good/test-06.ttl | 3 - tests/good/test-07.nt | 5 -- tests/good/test-07.ttl | 3 - tests/good/test-08.nt | 1 - tests/good/test-08.ttl | 3 - tests/good/test-09.nt | 4 -- tests/good/test-09.ttl | 10 ---- tests/good/test-10.nt | 5 -- tests/good/test-10.ttl | 5 -- tests/good/test-11.nt | 4 -- tests/good/test-11.ttl | 10 ---- tests/good/test-12.nt | 4 -- tests/good/test-12.ttl | 9 --- tests/good/test-13.nt | 2 - tests/good/test-13.ttl | 7 --- tests/good/test-17.nt | 1 - tests/good/test-17.ttl | 6 -- tests/good/test-19.nt | 1 - tests/good/test-19.ttl | 4 -- tests/good/test-20.nt | 2 - tests/good/test-20.ttl | 6 -- tests/good/test-21.nt | 3 - tests/good/test-21.ttl | 4 -- tests/good/test-22.nt | 3 - tests/good/test-22.ttl | 4 -- tests/good/test-23.nt | 1 - tests/good/test-23.ttl | 3 - tests/good/test-24.nt | 2 - tests/good/test-24.ttl | 3 - tests/good/test-25.nt | 7 --- tests/good/test-25.ttl | 14 ----- tests/good/test-26.nt | 1 - tests/good/test-26.ttl | 4 -- tests/good/test-27.nt | 1 - tests/good/test-27.ttl | 5 -- 49 files changed, 350 deletions(-) delete mode 100644 tests/good/test-00.nt delete mode 100644 tests/good/test-00.ttl delete mode 100644 tests/good/test-01.nt delete mode 100644 tests/good/test-01.ttl delete mode 100644 tests/good/test-02.nt delete mode 100644 tests/good/test-02.ttl delete mode 100644 tests/good/test-03.nt delete mode 100644 tests/good/test-03.ttl delete mode 100644 tests/good/test-04.nt delete mode 100644 tests/good/test-04.ttl delete mode 100644 tests/good/test-05.nt delete mode 100644 tests/good/test-05.ttl delete mode 100644 tests/good/test-06.nt delete mode 100644 tests/good/test-06.ttl delete mode 100644 tests/good/test-07.nt delete mode 100644 tests/good/test-07.ttl delete mode 100644 tests/good/test-08.nt delete mode 100644 tests/good/test-08.ttl delete mode 100644 tests/good/test-09.nt delete mode 100644 tests/good/test-09.ttl delete mode 100644 tests/good/test-10.nt delete mode 100644 tests/good/test-10.ttl delete mode 100644 tests/good/test-11.nt delete mode 100644 tests/good/test-11.ttl delete mode 100644 tests/good/test-12.nt delete mode 100644 tests/good/test-12.ttl delete mode 100644 tests/good/test-13.nt delete mode 100644 tests/good/test-13.ttl delete mode 100644 tests/good/test-17.nt delete mode 100644 tests/good/test-17.ttl delete mode 100644 tests/good/test-19.nt delete mode 100644 tests/good/test-19.ttl delete mode 100644 tests/good/test-20.nt delete mode 100644 tests/good/test-20.ttl delete mode 100644 tests/good/test-21.nt delete mode 100644 tests/good/test-21.ttl delete mode 100644 tests/good/test-22.nt delete mode 100644 tests/good/test-22.ttl delete mode 100644 tests/good/test-23.nt delete mode 100644 tests/good/test-23.ttl delete mode 100644 tests/good/test-24.nt delete mode 100644 tests/good/test-24.ttl delete mode 100644 tests/good/test-25.nt delete mode 100644 tests/good/test-25.ttl delete mode 100644 tests/good/test-26.nt delete mode 100644 tests/good/test-26.ttl delete mode 100644 tests/good/test-27.nt delete mode 100644 tests/good/test-27.ttl (limited to 'tests') diff --git a/tests/good/manifest.ttl b/tests/good/manifest.ttl index 6a2cae26..bf0d4af4 100644 --- a/tests/good/manifest.ttl +++ b/tests/good/manifest.ttl @@ -7,90 +7,6 @@ rdfs:comment "Turtle good syntax test cases (must pass)" ; mf:entries ( - [ mf:name "test-00" ; - rdfs:comment "Blank subject" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-01" ; - rdfs:comment "@prefix and qnames" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-02" ; - rdfs:comment ", operator" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-03" ; - rdfs:comment "; operator" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-04" ; - rdfs:comment "empty [] as subject and object" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-05" ; - rdfs:comment "non-empty [] as subject and object" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-06" ; - rdfs:comment "'a' as predicate" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-07" ; - rdfs:comment "simple collection" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-08" ; - rdfs:comment "empty collection" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-09" ; - rdfs:comment "integer datatyped literal" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-10" ; - rdfs:comment "decimal integer canonicalization" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-11" ; - rdfs:comment "- and _ in names and qnames" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-12" ; - rdfs:comment "tests for rdf:_ and other qnames starting with _" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-13" ; - rdfs:comment "bare : allowed" ; - mf:action [ qt:data ] ; - mf:result - ] - [ mf:name "test-14" ; rdfs:comment "10000 triples, more than the default Bison stack size" ; mf:action [ qt:data ] ; @@ -109,84 +25,12 @@ mf:result ] - [ mf:name "test-17" ; - rdfs:comment "simple long literal" ; - mf:action [ qt:data ] ; - mf:result - ] - [ mf:name "test-18" ; rdfs:comment "long literals with escapes" ; mf:action [ qt:data ] ; mf:result ] - [ mf:name "test-19" ; - rdfs:comment "floating point number" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-20" ; - rdfs:comment "empty literals, normal and long variant" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-21" ; - rdfs:comment "positive integer, decimal and doubles" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-22" ; - rdfs:comment "negative integer, decimal and doubles" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-23" ; - rdfs:comment "long literal ending in double quote" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-24" ; - rdfs:comment "boolean literals" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-25" ; - rdfs:comment "comments" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-26" ; - rdfs:comment "no final mewline" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-27" ; - rdfs:comment "duplicate prefix" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-28" ; - rdfs:comment "decimal data types (serializing test)" ; - mf:action [ qt:data ] ; - mf:result - ] - - [ mf:name "test-29" ; - rdfs:comment "Escaping U+0001 to U+007F in a URI" ; - mf:action [ qt:data ] ; - mf:result - ] - [ mf:name "test-30" ; rdfs:comment "@base" ; mf:action [ qt:data ] ; diff --git a/tests/good/test-00.nt b/tests/good/test-00.nt deleted file mode 100644 index d1d84a2d..00000000 --- a/tests/good/test-00.nt +++ /dev/null @@ -1 +0,0 @@ -_:b1 . diff --git a/tests/good/test-00.ttl b/tests/good/test-00.ttl deleted file mode 100644 index 78da35e6..00000000 --- a/tests/good/test-00.ttl +++ /dev/null @@ -1,2 +0,0 @@ -@prefix : <#> . -[] :x :y . diff --git a/tests/good/test-01.nt b/tests/good/test-01.nt deleted file mode 100644 index 5ccb5bd2..00000000 --- a/tests/good/test-01.nt +++ /dev/null @@ -1,3 +0,0 @@ - . - . - . diff --git a/tests/good/test-01.ttl b/tests/good/test-01.ttl deleted file mode 100644 index 9070d2c4..00000000 --- a/tests/good/test-01.ttl +++ /dev/null @@ -1,7 +0,0 @@ -# Test @prefix and qnames -@prefix : . -@prefix a: . -@prefix b: . -:a :b :c . -a:a a:b a:c . -:a a:a b:a . diff --git a/tests/good/test-02.nt b/tests/good/test-02.nt deleted file mode 100644 index 99732ab3..00000000 --- a/tests/good/test-02.nt +++ /dev/null @@ -1,3 +0,0 @@ - . - . - . diff --git a/tests/good/test-02.ttl b/tests/good/test-02.ttl deleted file mode 100644 index a623f3c1..00000000 --- a/tests/good/test-02.ttl +++ /dev/null @@ -1,5 +0,0 @@ -# Test , operator -@prefix : . -:a :b :c, - :d, - :e . diff --git a/tests/good/test-03.nt b/tests/good/test-03.nt deleted file mode 100644 index d6ce9e8f..00000000 --- a/tests/good/test-03.nt +++ /dev/null @@ -1,3 +0,0 @@ - . - . - . diff --git a/tests/good/test-03.ttl b/tests/good/test-03.ttl deleted file mode 100644 index 9179fa50..00000000 --- a/tests/good/test-03.ttl +++ /dev/null @@ -1,5 +0,0 @@ -# Test ; operator -@prefix : . -:a :b :c ; - :d :e ; - :f :g . diff --git a/tests/good/test-04.nt b/tests/good/test-04.nt deleted file mode 100644 index d5d01526..00000000 --- a/tests/good/test-04.nt +++ /dev/null @@ -1,2 +0,0 @@ -_:b1 . - _:b2 . diff --git a/tests/good/test-04.ttl b/tests/good/test-04.ttl deleted file mode 100644 index c5181479..00000000 --- a/tests/good/test-04.ttl +++ /dev/null @@ -1,4 +0,0 @@ -# Test empty [] operator; not allowed as predicate -@prefix : . -[] :a :b . -:c :d [] . diff --git a/tests/good/test-05.nt b/tests/good/test-05.nt deleted file mode 100644 index d440197f..00000000 --- a/tests/good/test-05.nt +++ /dev/null @@ -1,4 +0,0 @@ -_:b1 . -_:b1 . - _:b2 . -_:b2 . diff --git a/tests/good/test-05.ttl b/tests/good/test-05.ttl deleted file mode 100644 index adcbcabd..00000000 --- a/tests/good/test-05.ttl +++ /dev/null @@ -1,4 +0,0 @@ -# Test non empty [] operator; not allowed as predicate -@prefix : . -[ :a :b ] :c :d . -:e :f [ :g :h ] . diff --git a/tests/good/test-06.nt b/tests/good/test-06.nt deleted file mode 100644 index 49961ea6..00000000 --- a/tests/good/test-06.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-06.ttl b/tests/good/test-06.ttl deleted file mode 100644 index 9c1005cc..00000000 --- a/tests/good/test-06.ttl +++ /dev/null @@ -1,3 +0,0 @@ -# 'a' only allowed as a predicate -@prefix : . -:a a :b . diff --git a/tests/good/test-07.nt b/tests/good/test-07.nt deleted file mode 100644 index e62cede5..00000000 --- a/tests/good/test-07.nt +++ /dev/null @@ -1,5 +0,0 @@ - _:b1 . -_:b1 "apple" . -_:b1 _:b2 . -_:b2 "banana" . -_:b2 . diff --git a/tests/good/test-07.ttl b/tests/good/test-07.ttl deleted file mode 100644 index 84559403..00000000 --- a/tests/good/test-07.ttl +++ /dev/null @@ -1,3 +0,0 @@ -@prefix : . -:a :b ( "apple" "banana" ) . - diff --git a/tests/good/test-08.nt b/tests/good/test-08.nt deleted file mode 100644 index a77939cd..00000000 --- a/tests/good/test-08.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-08.ttl b/tests/good/test-08.ttl deleted file mode 100644 index adce0a20..00000000 --- a/tests/good/test-08.ttl +++ /dev/null @@ -1,3 +0,0 @@ -@prefix : . -:a :b ( ) . - diff --git a/tests/good/test-09.nt b/tests/good/test-09.nt deleted file mode 100644 index c7164085..00000000 --- a/tests/good/test-09.nt +++ /dev/null @@ -1,4 +0,0 @@ -_:hasParent . -_:b1 . -_:b1 _:hasParent . -_:b1 "2"^^ . diff --git a/tests/good/test-09.ttl b/tests/good/test-09.ttl deleted file mode 100644 index 0afe1b0a..00000000 --- a/tests/good/test-09.ttl +++ /dev/null @@ -1,10 +0,0 @@ -# Test integer datatyped literals using an OWL cardinality constraint -@prefix owl: . - -# based on examples in the OWL Reference - -_:hasParent a owl:ObjectProperty . - -[] a owl:Restriction ; - owl:onProperty _:hasParent ; - owl:maxCardinality 2 . diff --git a/tests/good/test-10.nt b/tests/good/test-10.nt deleted file mode 100644 index ff88aa6f..00000000 --- a/tests/good/test-10.nt +++ /dev/null @@ -1,5 +0,0 @@ - "000000"^^ . - "0"^^ . - "000001"^^ . - "2"^^ . - "4"^^ . diff --git a/tests/good/test-10.ttl b/tests/good/test-10.ttl deleted file mode 100644 index 5d36360e..00000000 --- a/tests/good/test-10.ttl +++ /dev/null @@ -1,5 +0,0 @@ - 000000 . - 0 . - 000001 . - 2 . - 4 . diff --git a/tests/good/test-11.nt b/tests/good/test-11.nt deleted file mode 100644 index f936a5b6..00000000 --- a/tests/good/test-11.nt +++ /dev/null @@ -1,4 +0,0 @@ - "a" . - "b" . - "c" . - "d" . diff --git a/tests/good/test-11.ttl b/tests/good/test-11.ttl deleted file mode 100644 index 3de1a43f..00000000 --- a/tests/good/test-11.ttl +++ /dev/null @@ -1,10 +0,0 @@ -# Tests for - and _ in names, qnames -@prefix ex1: . -@prefix ex-2: . -@prefix ex3_: . -@prefix ex4-: . - -ex1:foo-bar ex1:foo_bar "a" . -ex-2:foo-bar ex-2:foo_bar "b" . -ex3_:foo-bar ex3_:foo_bar "c" . -ex4-:foo-bar ex4-:foo_bar "d" . diff --git a/tests/good/test-12.nt b/tests/good/test-12.nt deleted file mode 100644 index 67404a59..00000000 --- a/tests/good/test-12.nt +++ /dev/null @@ -1,4 +0,0 @@ - "1" . - "2" . - "def" . - "678" . diff --git a/tests/good/test-12.ttl b/tests/good/test-12.ttl deleted file mode 100644 index 1fed9f5e..00000000 --- a/tests/good/test-12.ttl +++ /dev/null @@ -1,9 +0,0 @@ -# Tests for rdf:_ and other qnames starting with _ -@prefix rdf: . -@prefix ex: . -@prefix : . - -ex:foo rdf:_1 "1" . -ex:foo rdf:_2 "2" . -ex:foo :_abc "def" . -ex:foo :_345 "678" . diff --git a/tests/good/test-13.nt b/tests/good/test-13.nt deleted file mode 100644 index 195a1af7..00000000 --- a/tests/good/test-13.nt +++ /dev/null @@ -1,2 +0,0 @@ -_:b1 _:b2 . - . diff --git a/tests/good/test-13.ttl b/tests/good/test-13.ttl deleted file mode 100644 index a8be95be..00000000 --- a/tests/good/test-13.ttl +++ /dev/null @@ -1,7 +0,0 @@ -# Test for : allowed -@prefix : . - -[] : [] . - -: : : . - diff --git a/tests/good/test-17.nt b/tests/good/test-17.nt deleted file mode 100644 index 466edbb2..00000000 --- a/tests/good/test-17.nt +++ /dev/null @@ -1 +0,0 @@ - "a long\n\tliteral\nwith\nnewlines" . diff --git a/tests/good/test-17.ttl b/tests/good/test-17.ttl deleted file mode 100644 index 86c453bd..00000000 --- a/tests/good/test-17.ttl +++ /dev/null @@ -1,6 +0,0 @@ -# Test long literal -@prefix : . -:a :b """a long - literal -with -newlines""" . diff --git a/tests/good/test-19.nt b/tests/good/test-19.nt deleted file mode 100644 index 2e2dbe40..00000000 --- a/tests/good/test-19.nt +++ /dev/null @@ -1 +0,0 @@ - "1.0"^^ . diff --git a/tests/good/test-19.ttl b/tests/good/test-19.ttl deleted file mode 100644 index 9de0c07b..00000000 --- a/tests/good/test-19.ttl +++ /dev/null @@ -1,4 +0,0 @@ -@prefix : . - -:a :b 1.0 . - diff --git a/tests/good/test-20.nt b/tests/good/test-20.nt deleted file mode 100644 index fff2da56..00000000 --- a/tests/good/test-20.nt +++ /dev/null @@ -1,2 +0,0 @@ - "" . - "" . diff --git a/tests/good/test-20.ttl b/tests/good/test-20.ttl deleted file mode 100644 index 37a9a4f3..00000000 --- a/tests/good/test-20.ttl +++ /dev/null @@ -1,6 +0,0 @@ -@prefix : . - -:a :b "" . - -:c :d """""" . - diff --git a/tests/good/test-21.nt b/tests/good/test-21.nt deleted file mode 100644 index d5dca690..00000000 --- a/tests/good/test-21.nt +++ /dev/null @@ -1,3 +0,0 @@ - "1.0"^^ . - "1"^^ . - "1.0e0"^^ . diff --git a/tests/good/test-21.ttl b/tests/good/test-21.ttl deleted file mode 100644 index a8e8dc15..00000000 --- a/tests/good/test-21.ttl +++ /dev/null @@ -1,4 +0,0 @@ -@prefix : . -:a :b 1.0 . -:c :d 1 . -:e :f 1.0e0 . diff --git a/tests/good/test-22.nt b/tests/good/test-22.nt deleted file mode 100644 index 3d0f970e..00000000 --- a/tests/good/test-22.nt +++ /dev/null @@ -1,3 +0,0 @@ - "-1.0"^^ . - "-1"^^ . - "-1.0e0"^^ . diff --git a/tests/good/test-22.ttl b/tests/good/test-22.ttl deleted file mode 100644 index 9b1a725a..00000000 --- a/tests/good/test-22.ttl +++ /dev/null @@ -1,4 +0,0 @@ -@prefix : . -:a :b -1.0 . -:c :d -1 . -:e :f -1.0e0 . diff --git a/tests/good/test-23.nt b/tests/good/test-23.nt deleted file mode 100644 index fde31312..00000000 --- a/tests/good/test-23.nt +++ /dev/null @@ -1 +0,0 @@ - "John said: \"Hello World!\"" . diff --git a/tests/good/test-23.ttl b/tests/good/test-23.ttl deleted file mode 100644 index 9f5360af..00000000 --- a/tests/good/test-23.ttl +++ /dev/null @@ -1,3 +0,0 @@ -# Test long literal -@prefix : . -:a :b """John said: "Hello World!\"""" . diff --git a/tests/good/test-24.nt b/tests/good/test-24.nt deleted file mode 100644 index 5a70bff1..00000000 --- a/tests/good/test-24.nt +++ /dev/null @@ -1,2 +0,0 @@ - "true"^^ . - "false"^^ . diff --git a/tests/good/test-24.ttl b/tests/good/test-24.ttl deleted file mode 100644 index 25f3b757..00000000 --- a/tests/good/test-24.ttl +++ /dev/null @@ -1,3 +0,0 @@ -@prefix : . -:a :b true . -:c :d false . diff --git a/tests/good/test-25.nt b/tests/good/test-25.nt deleted file mode 100644 index 1a38415f..00000000 --- a/tests/good/test-25.nt +++ /dev/null @@ -1,7 +0,0 @@ - . - . - . - . - . - . - . diff --git a/tests/good/test-25.ttl b/tests/good/test-25.ttl deleted file mode 100644 index 310349da..00000000 --- a/tests/good/test-25.ttl +++ /dev/null @@ -1,14 +0,0 @@ -# comment test -@prefix : . -:a :b :c . # end of line comment -:d # ignore me - :e # and me - :f # and me - . -:g :h #ignore me - :i, # and me - :j . # and me - -:k :l :m ; #ignore me - :n :o ; # and me - :p :q . # and me diff --git a/tests/good/test-26.nt b/tests/good/test-26.nt deleted file mode 100644 index ad105cf4..00000000 --- a/tests/good/test-26.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-26.ttl b/tests/good/test-26.ttl deleted file mode 100644 index 0667c6b4..00000000 --- a/tests/good/test-26.ttl +++ /dev/null @@ -1,4 +0,0 @@ -# comment line with no final newline test -@prefix : . -:a :b :c . -#foo diff --git a/tests/good/test-27.nt b/tests/good/test-27.nt deleted file mode 100644 index 7da0635b..00000000 --- a/tests/good/test-27.nt +++ /dev/null @@ -1 +0,0 @@ - . diff --git a/tests/good/test-27.ttl b/tests/good/test-27.ttl deleted file mode 100644 index 569023c8..00000000 --- a/tests/good/test-27.ttl +++ /dev/null @@ -1,5 +0,0 @@ -@prefix foo: . -@prefix foo: . - -foo:blah foo:blah foo:blah . - -- cgit v1.2.1