[tracker] functional-tests: Avoid requiring --enable-maemo



commit 8cee03eec8366bd7cdd2d6a7ff69f9d163ed45d4
Author: Sam Thursfield <sam thursfield codethink co uk>
Date:   Thu Jan 9 10:40:58 2014 +0000

    functional-tests: Avoid requiring --enable-maemo

 tests/functional-tests/02-sparql-bugs.py |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/tests/functional-tests/02-sparql-bugs.py b/tests/functional-tests/02-sparql-bugs.py
index f2488e7..c0e4928 100755
--- a/tests/functional-tests/02-sparql-bugs.py
+++ b/tests/functional-tests/02-sparql-bugs.py
@@ -45,7 +45,7 @@ class TrackerStoreSparqlBugsTests (CommonTrackerStoreTest):
                 INSERT {
                     <contact:affiliation> a nco:Affiliation ;
                              nco:hasPhoneNumber
-                                  [ a nco:PhoneNumber ; maemo:localPhoneNumber "98653" ] .
+                                  [ a nco:PhoneNumber ; nco:phoneNumber "98653" ] .
                     <contact:test> a nco:PersonContact ;
                              nco:hasAffiliation <contact:affiliation> .
                 }
@@ -59,20 +59,20 @@ class TrackerStoreSparqlBugsTests (CommonTrackerStoreTest):
                    {
                      ?_contact nco:hasAffiliation ?a .
                      ?a nco:hasPhoneNumber ?p1 .
-                     ?p1 maemo:localPhoneNumber ?n
+                     ?p1 nco:phoneNumber ?n
                    } UNION {
                      ?_contact nco:hasPhoneNumber ?p2 .
-                     ?p2 maemo:localPhoneNumber ?n
+                     ?p2 nco:phoneNumber ?n
                    } .
                   FILTER (
                     EXISTS {
                         {
                           ?_contact nco:hasPhoneNumber ?auto81 .
-                          ?auto81 maemo:localPhoneNumber ?auto80
+                          ?auto81 nco:phoneNumber ?auto80
                         } UNION {
                           ?_contact nco:hasAffiliation ?auto83 .
                           ?auto83 nco:hasPhoneNumber ?auto84 .
-                          ?auto84 maemo:localPhoneNumber ?auto80
+                          ?auto84 nco:phoneNumber ?auto80
                         }
                         FILTER (?auto80 = '98653')
                      }
@@ -86,10 +86,10 @@ class TrackerStoreSparqlBugsTests (CommonTrackerStoreTest):
                     {
                         ?_contact nco:hasAffiliation ?a .
                         ?a nco:hasPhoneNumber ?p1 .
-                        ?p1 maemo:localPhoneNumber ?n
+                        ?p1 nco:phoneNumber ?n
                     } UNION {
                         ?_contact nco:hasPhoneNumber ?p2 .
-                        ?p2 maemo:localPhoneNumber ?n
+                        ?p2 nco:phoneNumber ?n
                     } .
                     FILTER(?n = '98653')
                 }
@@ -101,16 +101,16 @@ class TrackerStoreSparqlBugsTests (CommonTrackerStoreTest):
                     {
                         ?_contact nco:hasAffiliation ?a .
                         ?a nco:hasPhoneNumber ?p1 .
-                        ?p1 maemo:localPhoneNumber ?n
+                        ?p1 nco:phoneNumber ?n
                     } UNION {
                         ?_contact nco:hasPhoneNumber ?p2 .
-                        ?p2 maemo:localPhoneNumber ?n
+                        ?p2 nco:phoneNumber ?n
                     } .
                     FILTER(
                         EXISTS {
                             ?_contact nco:hasAffiliation ?auto83 .
                             ?auto83 nco:hasPhoneNumber ?auto84 .
-                            ?auto84 maemo:localPhoneNumber ?auto80 
+                            ?auto84 nco:phoneNumber ?auto80
                             FILTER(?auto80 = "98653")
                         }
                     )


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