omadmadapters/syncmldm12/tsrc/conf/syncmldm12test.cfg
changeset 30 d3981f4fe6a4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/omadmadapters/syncmldm12/tsrc/conf/syncmldm12test.cfg	Fri Jun 11 13:29:40 2010 +0300
@@ -0,0 +1,125 @@
+[Test]
+title DDF
+create syncmldm12test foobar jee
+foobar DDFStructure
+delete foobar
+[Endtest] 
+
+[Test]
+title StartAtomic
+create syncmldm12test foobar
+foobar StartAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title CommitAtomic
+create syncmldm12test foobar
+foobar CommitAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title RollbackAtomic
+create syncmldm12test foobar
+foobar RollbackAtomic
+delete foobar
+[Endtest]
+
+[Test]
+title AddDmAcc
+create syncmldm12test foobar
+foobar AddNode DMAcc/DMId099
+foobar UpdateLeaf DMAcc/DMId099/Name name99
+foobar UpdateLeaf DMAcc/DMId099/ServerID server99
+foobar UpdateLeaf DMAcc/DMId099/AppAddr/Addr001/Addr http://a.com
+foobar UpdateLeaf DMAcc/DMId099/AppAuth/AppAuthCli/AAuthName user99
+foobar CompleteCommands
+delete foobar
+[Endtest]
+
+[Test]
+title UpdateLeafDmAcc
+create syncmldm12test foobar
+foobar UpdateLeaf DMAcc/DMId099/Name newname99
+delete foobar
+[Endtest]
+
+[Test]
+title FetchNodeDmAcc
+create syncmldm12test foobar
+foobar FetchNode DMAcc/DMId099
+delete foobar
+[Endtest]
+
+[Test]
+title FetchLeafDmAcc
+create syncmldm12test foobar
+foobar FetchLeaf DMAcc/DMId099/Name
+delete foobar
+[Endtest]
+
+[Test]
+title DeleteDmAcc
+create syncmldm12test foobar
+foobar DeleteNode DMAcc/DMId099
+delete foobar
+[Endtest]
+
+[Test]
+title AddDmAccAllInfo
+create syncmldm12test foobar
+foobar AddNode DMAcc/DMId090  	 
+foobar AddNode DMAcc/DMId090/AAuthPref 	 
+foobar AddNode DMAcc/DMId090/AppAddr 	 
+foobar AddNode DMAcc/DMId090/AppAddr/Addr001 	 
+foobar UpdateLeaf DMAcc/DMId090/AppAddr/Addr001/Addr 	https://b.com/abc
+foobar UpdateLeaf DMAcc/DMId090/AppAddr/Addr001/AddrType 	URI
+foobar AddNode DMAcc/DMId090/AppAddr/Addr001/Port 	 
+foobar AddNode DMAcc/DMId090/AppAddr/Addr001/Port/Port001 	 
+foobar UpdateLeaf DMAcc/DMId090/AppAddr/Addr001/Port/Port001/PortNbr 	443
+foobar AddNode DMAcc/DMId090/AppAuth 	 
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthCli 	 
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthCli/AAuthData 	 
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthCli/AAuthLevel 	CLCRED
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthCli/AAuthName 	userx
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthSrv 	 
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthSrv/AAuthData 	 
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthSrv/AAuthLevel 	SRVCRED
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthSrv/AAuthName 	userx
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthTransport 	 
+foobar AddNode DMAcc/DMId090/AppAuth/AppAuthTransport/AAuthData 	 
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthTransport/AAuthLevel 	HTTP
+foobar UpdateLeaf DMAcc/DMId090/AppAuth/AppAuthTransport/AAuthName 		user
+foobar UpdateLeaf DMAcc/DMId090/AppID 	w7
+foobar UpdateLeaf DMAcc/DMId090/Name 	InteliSync
+foobar UpdateLeaf DMAcc/DMId090/PrefConRef 	AP/APId000 
+foobar UpdateLeaf DMAcc/DMId090/ServerID 	userx
+foobar CompleteCommands
+delete foobar
+[Endtest]
+
+[Test]
+title FetchAllLeafDmAcc
+create syncmldm12test foobarfoobar FetchLeaf DMAcc/DMId090/AppAddr/Addr001/Addr
+foobar FetchLeaf DMAcc/DMId090/AppAddr/Addr001/AddrType
+foobar FetchLeaf DMAcc/DMId090/AppAddr/Addr001/Port/Port001/PortNbr
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthCli/AAuthLevel
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthCli/AAuthName 
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthSrv/AAuthLevel
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthSrv/AAuthName 
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthTransport/AAuthLevel 
+foobar FetchLeaf DMAcc/DMId090/AppAuth/AppAuthTransport/AAuthName 
+foobar FetchLeaf DMAcc/DMId090/AppID 
+foobar FetchLeaf DMAcc/DMId090/Name 
+foobar FetchLeaf DMAcc/DMId090/PrefConRef 
+foobar FetchLeaf DMAcc/DMId090/ServerID 
+delete foobar
+[Endtest]
+
+[Test]
+title DeleteDmAcc
+create syncmldm12test foobar
+foobar DeleteNode DMAcc/DMId090
+delete foobar
+[Endtest]