cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent2.txt
changeset 0 2c201484c85f
child 8 35751d3474b7
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cryptoservices/certificateandkeymgmt/tcertstore/scripts/certstoreconcurrent2.txt	Wed Jul 08 11:25:26 2009 +0100
@@ -0,0 +1,415 @@
+<action>
+	<actionname>Switch on concurrency testing</actionname>
+	<actiontype>testconcurrent</actiontype>
+	<actionbody>
+		<KConcurrentTesting>ETrue</KConcurrentTesting>
+	</actionbody>
+	<actionresult>
+		<result>ETrue</result>
+	</actionresult>
+</action>
+<action>
+	<actionname>Opening a certificate store manager</actionname>
+	<actiontype>init</actiontype>
+	<actionbody>
+		<mode>write</mode>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get the list of certificates</actionname>
+	<actiontype>listcacert</actiontype>
+	<actionbody>
+		<uid></uid>
+		<formatflags></formatflags>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get the list of certificates</actionname>
+	<actiontype>listcacert</actiontype>
+	<actionbody>
+		<uid></uid>
+		<formatflags></formatflags>
+	</actionbody>
+	<actionresult>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get the list of certificates</actionname>
+	<actiontype>listcacert</actiontype>
+	<actionbody>
+		<uid></uid>
+		<formatflags></formatflags>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the writable certificate store manager</actionname>
+	<actiontype>delete</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
+	<actiontype>initappmanager</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Adding client A1</actionname>
+	<actiontype>addclient</actiontype>
+	<actionbody>
+		<name>A1</name>
+		<uid>1</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Adding client A2</actionname>
+	<actiontype>addclient</actiontype>
+	<actionbody>
+		<name>A2</name>
+		<uid>2</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Adding client A3</actionname>
+	<actiontype>addclient</actiontype>
+	<actionbody>
+		<name>A3</name>
+		<uid>3</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Adding client A4</actionname>
+	<actiontype>addclient</actiontype>
+	<actionbody>
+		<name>A4</name>
+		<uid>4</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
+	<actiontype>deleteappmanager</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Opening a certificate store manager</actionname>
+	<actiontype>init</actiontype>
+	<actionbody>
+		<mode>write</mode>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Add the certificate CAW1</actionname>
+	<actiontype>addcert</actiontype>
+	<actionbody>
+		<format>WTLS</format>
+		<label>CAW1</label>
+		<issuerkey></issuerkey>
+		<subjectkey></subjectkey>
+		<certstore>0</certstore>
+		<certfile>c:\unifiedcertstore2\CAW1.cer</certfile>
+		<certowner>CA</certowner>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Add the certificate CAW2</actionname>
+	<actiontype>addcert</actiontype>
+	<actionbody>
+		<format>WTLS</format>
+		<label>CAW2</label>
+		<issuerkey></issuerkey>
+		<subjectkey></subjectkey>
+		<certstore>0</certstore>
+		<certfile>c:\unifiedcertstore2\CAW2.cer</certfile>
+		<certowner>CA</certowner>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>Add the certificate CAW3</actionname>
+	<actiontype>addcert</actiontype>
+	<actionbody>
+		<format>WTLS</format>
+		<label>CAW3</label>
+		<issuerkey></issuerkey>
+		<subjectkey></subjectkey>
+		<certstore>0</certstore>
+		<certfile>c:\unifiedcertstore2\CAW3.cer</certfile>
+		<certowner>CA</certowner>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Set trusters to the CAW2 certificate</actionname>
+	<actiontype>setapplications</actiontype>
+	<actionbody>
+		<label>CAW2</label>
+		<uid>1 2 3</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Set the trust for CAW2</actionname>
+	<actiontype>settrust</actiontype>
+	<actionbody>
+		<label>CAW2</label>
+		<trust>1</trust>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Set trusters to the CAW3 certificate</actionname>
+	<actiontype>setapplications</actiontype>
+	<actionbody>
+		<label>CAW3</label>
+		<uid>1 2</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Set the trust for CAW3</actionname>
+	<actiontype>settrust</actiontype>
+	<actionbody>
+		<label>CAW3</label>
+		<trust>1</trust>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Get applications for CAW1</actionname>
+	<actiontype>getapplications</actiontype>
+	<actionbody>
+		<label>CAW1</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<uid></uid>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Get the trust for CAW1</actionname>
+	<actiontype>gettrusters</actiontype>
+	<actionbody>
+		<label>CAW1</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<trust>0</trust>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get applications for CAW2</actionname>
+	<actiontype>getapplications</actiontype>
+	<actionbody>
+		<label>CAW2</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<uid>1 2 3</uid>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get the trust for CAW2</actionname>
+	<actiontype>gettrusters</actiontype>
+	<actionbody>
+		<label>CAW2</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<trust>1</trust>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Get applications for CAW3</actionname>
+	<actiontype>getapplications</actiontype>
+	<actionbody>
+		<label>CAW3</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<uid>1 2</uid>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>Get the trust for CAW3</actionname>
+	<actiontype>gettrusters</actiontype>
+	<actionbody>
+		<label>CAW3</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<trust>1</trust>
+	</actionresult>
+</action>
+<action>
+	<actionname>Get the list of certificates</actionname>
+	<actiontype>listcacert</actiontype>
+	<actionbody>
+		<uid></uid>
+		<formatflags></formatflags>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+		<CCTCertInfo><label>CAW1</label></CCTCertInfo>
+		<CCTCertInfo><label>CAW2</label></CCTCertInfo>
+		<CCTCertInfo><label>CAW3</label></CCTCertInfo>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the certificate CAW1</actionname>
+	<actiontype>deletecert</actiontype>
+	<actionbody>
+		<certtype>CA</certtype>
+		<label>CAW1</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the certificate CAW2</actionname>
+	<actiontype>deletecert</actiontype>
+	<actionbody>
+		<certtype>CA</certtype>
+		<label>CAW2</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the certificate CAW3</actionname>
+	<actiontype>deletecert</actiontype>
+	<actionbody>
+		<certtype>CA</certtype>
+		<label>CAW3</label>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the writable certificate store manager</actionname>
+	<actiontype>delete</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Opening a CertificateAppInfoManager</actionname>
+	<actiontype>initappmanager</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Deleting the client A1</actionname>
+	<actiontype>removeclient</actiontype>
+	<actionbody>
+		<uid>1</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Deleting the client A2</actionname>
+	<actiontype>removeclient</actiontype>
+	<actionbody>
+		<uid>2</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Deleting the client A3</actionname>
+	<actiontype>removeclient</actiontype>
+	<actionbody>
+		<uid>3</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+
+<action>
+	<actionname>No Test, Deleting the client A4</actionname>
+	<actiontype>removeclient</actiontype>
+	<actionbody>
+		<uid>4</uid>
+	</actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>
+<action>
+	<actionname>No Test, Deleting the CertificateAppInfoManager</actionname>
+	<actiontype>deleteappmanager</actiontype>
+	<actionbody></actionbody>
+	<actionresult>
+		<return>KErrNone</return>
+	</actionresult>
+</action>