qtmobility/tests/auto/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin_data/insertTpContact.sparql
changeset 4 90517678cc4f
parent 1 2b40d63a9c3d
child 5 453da2cfceef
--- a/qtmobility/tests/auto/ut_qtcontacts_trackerplugin/ut_qtcontacts_trackerplugin_data/insertTpContact.sparql	Fri Apr 16 15:51:22 2010 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,56 +0,0 @@
-#!/bin/bash
-
-if [ -z "$1" ]; then
-echo "usage: $0 <contact-uri> <contact-uid> <im-id> <accountPath> <imPresence> <statusMessage> <protocol> <nameGiven> <nameFamily>"
-exit 1
-fi
-
-echo "create nco:IMAccount"
-tracker-sparql -u -q "
-INSERT 
-{ 
-<telepathy:$4> 
-<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> 
-<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMAccount>
-}
-"
-
-tracker-sparql -u -q "
-INSERT 
-{ 
-<telepathy:$4> 
- nco:imDisplayName '$7' 
-}
-"
-
-echo "create nco:IMContact"
-tracker-sparql -u -q "
-INSERT
-{
-<$1>
-<http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
-<http://www.semanticdesktop.org/ontologies/2007/03/22/nco#IMContact>
-}
-"
-
-echo "create nco:IMContact"
-tracker-sparql --update --query "
-INSERT {
-	    <$1> a nco:IMContact;
-	    nco:contactUID '$2';
-	    nco:imContactId '$3';
-	    nco:imContactNickname '$8$9';
-	    nco:imContactPresence $5;
-	    nco:imContactStatusMessage '$6';
-	    nco:fromIMAccount <telepathy:$4>;
-	    nco:imContactCapability <bogus>
-}
-"
-
-echo "update nco:IMContact"
-tracker-sparql --update --query "INSERT {
-        <$1> a nco:IMContact;
-	    nco:nameGiven '$8';
-        nco:nameFamily '$9'
-}
-"
\ No newline at end of file