[tracker/rss-enclosures] functional-tests: add properties in basic ontology to test new changes



commit 0ab44aeae161201f8118c2a1364345800cd1edce
Author: Ivan Frade <ivan frade nokia com>
Date:   Tue Nov 9 17:38:15 2010 +0200

    functional-tests: add properties in basic ontology to test new changes

 .../test-ontologies/add-class/91-test.ontology     |   11 +++++++++++
 .../add-domainIndex/91-test.ontology               |   13 +++++++++++++
 .../test-ontologies/add-prop/91-test.ontology      |   11 +++++++++++
 .../test-ontologies/basic-future/91-test.ontology  |   11 +++++++++++
 .../test-ontologies/basic/91-test.ontology         |   11 +++++++++++
 .../test-ontologies/cardinality/91-test.ontology   |   11 +++++++++++
 .../test-ontologies/indexed/91-test.ontology       |   11 +++++++++++
 .../test-ontologies/notify/91-test.ontology        |   11 +++++++++++
 .../property-range-int-to-string/91-test.ontology  |   11 +++++++++++
 .../property-range-string-to-date/91-test.ontology |   11 +++++++++++
 .../superclass-remove/91-test.ontology             |   15 ++++++++++++++-
 11 files changed, 126 insertions(+), 1 deletions(-)
---
diff --git a/tests/functional-tests/test-ontologies/add-class/91-test.ontology b/tests/functional-tests/test-ontologies/add-class/91-test.ontology
index d07ed80..f957db4 100644
--- a/tests/functional-tests/test-ontologies/add-class/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/add-class/91-test.ontology
@@ -60,6 +60,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/add-domainIndex/91-test.ontology b/tests/functional-tests/test-ontologies/add-domainIndex/91-test.ontology
index cf07d4f..49bfefa 100644
--- a/tests/functional-tests/test-ontologies/add-domainIndex/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/add-domainIndex/91-test.ontology
@@ -61,7 +61,20 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     tracker:domainIndex test:a_string ;
     rdfs:subClassOf test:A .
+# ************************
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
+# ****** TEST CHANGE *****
 test:C a rdfs:Class ;
     tracker:domainIndex test:a_n_cardinality ;
     rdfs:subClassOf test:A .
diff --git a/tests/functional-tests/test-ontologies/add-prop/91-test.ontology b/tests/functional-tests/test-ontologies/add-prop/91-test.ontology
index a8fde9f..e043473 100644
--- a/tests/functional-tests/test-ontologies/add-prop/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/add-prop/91-test.ontology
@@ -60,6 +60,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/basic-future/91-test.ontology b/tests/functional-tests/test-ontologies/basic-future/91-test.ontology
index 6d45f55..d965cb3 100644
--- a/tests/functional-tests/test-ontologies/basic-future/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/basic-future/91-test.ontology
@@ -60,6 +60,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/basic/91-test.ontology b/tests/functional-tests/test-ontologies/basic/91-test.ontology
index a83b2c5..118248c 100644
--- a/tests/functional-tests/test-ontologies/basic/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/basic/91-test.ontology
@@ -60,6 +60,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/cardinality/91-test.ontology b/tests/functional-tests/test-ontologies/cardinality/91-test.ontology
index 67d8c22..f3ebbd5 100644
--- a/tests/functional-tests/test-ontologies/cardinality/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/cardinality/91-test.ontology
@@ -62,6 +62,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/indexed/91-test.ontology b/tests/functional-tests/test-ontologies/indexed/91-test.ontology
index 77c9fc5..90a9061 100644
--- a/tests/functional-tests/test-ontologies/indexed/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/indexed/91-test.ontology
@@ -64,6 +64,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/notify/91-test.ontology b/tests/functional-tests/test-ontologies/notify/91-test.ontology
index e8ac793..b93f3e6 100644
--- a/tests/functional-tests/test-ontologies/notify/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/notify/91-test.ontology
@@ -65,6 +65,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/property-range-int-to-string/91-test.ontology b/tests/functional-tests/test-ontologies/property-range-int-to-string/91-test.ontology
index c44145c..d77aa28 100644
--- a/tests/functional-tests/test-ontologies/property-range-int-to-string/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/property-range-int-to-string/91-test.ontology
@@ -62,6 +62,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/property-range-string-to-date/91-test.ontology b/tests/functional-tests/test-ontologies/property-range-string-to-date/91-test.ontology
index cb83360..a5edcfa 100644
--- a/tests/functional-tests/test-ontologies/property-range-string-to-date/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/property-range-string-to-date/91-test.ontology
@@ -62,6 +62,17 @@ test:a_superprop_n a rdf:Property ;
 test:B a rdfs:Class ;
     rdfs:subClassOf test:A .
 
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
+
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .
 
diff --git a/tests/functional-tests/test-ontologies/superclass-remove/91-test.ontology b/tests/functional-tests/test-ontologies/superclass-remove/91-test.ontology
index 752c898..3e8644e 100644
--- a/tests/functional-tests/test-ontologies/superclass-remove/91-test.ontology
+++ b/tests/functional-tests/test-ontologies/superclass-remove/91-test.ontology
@@ -12,7 +12,7 @@
 #
 #
 #       A (with props for string and int, string n-cardinality, )
-#        \
+#      / \
 #     B   C
 #
 test: a tracker:Namespace, tracker:Ontology ;
@@ -57,8 +57,21 @@ test:a_superprop_n a rdf:Property ;
     rdfs:range xsd:string ;
     nrl:maxCardinality 1 .
 
+# ***** TEST CHANGE *****
 test:B a rdfs:Class .
 # Not subClassOf here
+# ***********************
+
+test:b_property a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string ;
+    nrl:maxCardinality 1 .
+
+test:b_property_n a rdf:Property ;
+    rdfs:comment "A plain property in B class";
+    rdfs:domain test:B ;
+    rdfs:range xsd:string .
 
 test:C a rdfs:Class ;
     rdfs:subClassOf test:A .



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]