omadmadapters/syncmlds/tsrc/conf/syncmldstest.cfg
changeset 45 0f9fc722d255
parent 44 137912d1a556
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omadmadapters/syncmlds/tsrc/conf/syncmldstest.cfg	Tue Jul 13 03:48:30 2010 +0530
@@ -0,0 +1,168 @@
+[Test]
+title DDF
+create syncmldstest foobar jee
+foobar DDFStructure
+delete foobar
+[Endtest] 
+
+[Test]
+title StartAtomic
+create syncmldstest foobar
+foobar StartAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title CommitAtomic
+create syncmldstest foobar
+foobar CommitAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title RollbackAtomic
+create syncmldstest foobar
+foobar RollbackAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title AddDSAcc099
+create syncmldstest foobar
+foobar AddNode SyncML/DSAcc/DSId099
+foobar UpdateLeaf SyncML/DSAcc/DSId099/Name name99
+foobar UpdateLeaf SyncML/DSAcc/DSId099/ServerId server99
+foobar UpdateLeaf SyncML/DSAcc/DSId099/Addr Test
+foobar UpdateLeaf SyncML/DSAcc/DSId099/ClientUserName user99
+foobar CompleteCommands
+delete foobar
+[Endtest]
+
+[Test]
+title UpdateName
+create syncmldstest foobar
+foobar UpdateLeaf SyncML/DSAcc/DSId099/Name newname99
+delete foobar
+[Endtest]
+
+[Test]
+title UpdateAddr
+create syncmldstest foobar
+foobar UpdateLeaf SyncML/DSAcc/DSId099/Addr Dummy
+delete foobar
+[Endtest]
+
+[Test]
+title UpdateClientUserName
+create syncmldstest foobar
+foobar UpdateLeaf SyncML/DSAcc/DSId099/ClientUserName dummy99
+delete foobar
+[Endtest]
+
+[Test]
+title FetchNodeDSAcc
+create syncmldstest foobar
+foobar FetchNode SyncML/DSAcc
+delete foobar
+[Endtest]
+
+[Test]
+title FetchLeafDSAccName
+create syncmldstest foobar
+foobar FetchLeaf SyncML/DSAcc/DSId099/Name
+delete foobar
+[Endtest]
+
+[Test]
+title FetchLeafDSAccServerId
+create syncmldstest foobar
+foobar FetchLeaf SyncML/DSAcc/DSId099/ServerId
+delete foobar
+[Endtest]
+
+[Test]
+title FetchLeafDSAccAddr
+create syncmldstest foobar
+foobar FetchLeaf SyncML/DSAcc/DSId099/Addr
+delete foobar
+[Endtest]
+
+[Test]
+title FetchLeafDSAccClientUserName
+create syncmldstest foobar
+foobar FetchLeaf SyncML/DSAcc/DSId099/ClientUserName
+delete foobar
+[Endtest]
+
+[Test]
+title DeleteDSAcc
+create syncmldstest foobar
+foobar DeleteNode SyncML/DSAcc/DSId099
+delete foobar
+[Endtest]
+
+[Test]
+title AddDSAcc090
+create syncmldstest foobar
+foobar AddNode SyncML/DSAcc/DSId090
+foobar UpdateLeaf SyncML/DSAcc/DSId090/Addr NewAcc 
+foobar UpdateLeaf SyncML/DSAcc/DSId090/AddrType 3 
+foobar UpdateLeaf SyncML/DSAcc/DSId090/ClientPW passwd  
+foobar UpdateLeaf SyncML/DSAcc/DSId090/ClientUserName uname  
+foobar AddNode SyncML/DSAcc/DSId090/DB   
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId090   
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId090/CTType text/x-vcalendar 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId090/LDBURI 	 C:\calender	
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId090/RDBURI Calendar 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId091   
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId091/CTType text/x-vcard 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId091/LDBURI   C:\contacts
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId091/RDBURI Contacts 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId092   
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId092/CTType application/vnd.omads-email+xml 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId092/LDBURI   C:\email
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId092/RDBURI Email
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId093   
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId093/CTType text/plain 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId093/LDBURI   C:\notes
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId093/RDBURI Notes 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId094   
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId094/CTType text/x-vBookmark 
+foobar AddNode SyncML/DSAcc/DSId090/DB/CTId094/LDBURI   C:\bookmarks
+foobar UpdateLeaf SyncML/DSAcc/DSId090/DB/CTId094/RDBURI Bookmarks
+foobar UpdateLeaf SyncML/DSAcc/DSId090/Name TestDummy 
+foobar UpdateLeaf SyncML/DSAcc/DSId090/ServerId TestDummy 
+foobar UpdateLeaf SyncML/DSAcc/DSId090/ToNapID  AP/APId000
+foobar CompleteCommands
+delete foobar
+[Endtest]
+
+[Test]
+title FetchAllLeafDsAcc
+create syncmldstest foobar
+foobar FetchLeaf SyncML/DSAcc/DSId090/Addr
+foobar FetchLeaf SyncML/DSAcc/DSId090/AddrType
+foobar FetchLeaf SyncML/DSAcc/DSId090/ClientPW   
+foobar FetchLeaf SyncML/DSAcc/DSId090/ClientUserName   
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId090/CTType
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId090/RDBURI
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId091/CTType
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId091/RDBURI
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId092/CTType
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId092/RDBURI
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId093/CTType
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId093/RDBURI 
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId094/CTType
+foobar FetchLeaf SyncML/DSAcc/DSId090/DB/CTId094/RDBURI
+foobar FetchLeaf SyncML/DSAcc/DSId090/Name 
+foobar FetchLeaf SyncML/DSAcc/DSId090/ServerId
+foobar FetchLeaf SyncML/DSAcc/DSId090/ToNapID 
+delete foobar
+[Endtest]
+
+[Test]
+title DeleteDSAcc90
+create syncmldstest foobar
+foobar DeleteNode SyncML/DSAcc/DSId090
+delete foobar
+[Endtest]