cryptoservices/filebasedcertificateandkeystores/test/tcertapps/scripts/apipolicing.ini
author andy.simpson <andrews@symbian.org>
Tue, 15 Dec 2009 14:32:14 +0000
changeset 28 9a43d0ab4b83
parent 8 35751d3474b7
child 33 cf642210ecb7
permissions -rw-r--r--
Added tag PDK_3.0.d for changeset f9c11be8c0b3

[SEC-TCERTAPPS-APIPOLICING-4-001]
<actionbody>
	<testexe>t_certapps.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteDeviceData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Initialise</actionname>
		<actiontype>InitManager</actiontype>
		<actionbody>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Add applications</actionname>
		<actiontype>AddApp</actiontype>
		<actionbody>
			<uid>24601</uid><appname>My application 1</appname>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Getting the application list</actionname>
		<actiontype>GetApplications</actiontype>
		<actionbody>
			<uid>24601</uid><appname>My application 1</appname>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Add applications</actionname>
		<actiontype>AddApp</actiontype>
		<actionbody>
			<uid>24601</uid><appname>My application 1</appname>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Getting the application list</actionname>
		<actiontype>GetApplications</actiontype>
		<actionbody>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Destroy the manager</actionname>
		<actiontype>DestroyManager</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTAPPS-APIPOLICING-5-001]
<actionbody>
	<testexe>t_certapps.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	</policy>

	<preactions>
	<action>
		<actionname>Initialise</actionname>
		<actiontype>InitManager</actiontype>
		<actionbody>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Getting the application list</actionname>
		<actiontype>GetApplications</actiontype>
		<actionbody>
			<uid>24601</uid><appname>My application 1</appname>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	</failactions>

	<postactions>
	<action>
		<actionname>Destroy the manager</actionname>
		<actiontype>DestroyManager</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>

[SEC-TCERTAPPS-APIPOLICING-6-001]
<actionbody>
	<testexe>t_certapps.exe</testexe>
	<excludedcapabilities>
	<capability>TCB</capability>
	</excludedcapabilities>
	<policy>
	<capability>WriteDeviceData</capability>
	</policy>

	<preactions>
	<action>
		<actionname>Initialise</actionname>
		<actiontype>InitManager</actiontype>
		<actionbody>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</preactions>

	<passactions>
	<action>
		<actionname>Remove application UID 24601</actionname>
		<actiontype>RemoveApp</actiontype>
		<actionbody>
			<uid>24601</uid>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>

	<action>
		<actionname>Getting the application list</actionname>
		<actiontype>GetApplications</actiontype>
		<actionbody>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</passactions>

	<failactions>
	<action>
		<actionname>Remove application UID 24601</actionname>
		<actiontype>RemoveApp</actiontype>
		<actionbody>
			<uid>24601</uid>
		</actionbody>
		<actionresult>
			<return>KErrPermissionDenied</return>
		</actionresult>
	</action>

	<action>
		<actionname>Getting the application list</actionname>
		<actiontype>GetApplications</actiontype>
		<actionbody>
			<uid>24601</uid><appname>My application 1</appname>
			<uid>642828</uid><appname>My application 2</appname>
			<uid>12345</uid><appname>My application 3</appname>
			<uid>10</uid><appname>My application 4</appname>
			<uid>12</uid><appname>My application 5</appname>
		</actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</failactions>

	<postactions>
	<action>
		<actionname>Destroy the manager</actionname>
		<actiontype>DestroyManager</actiontype>
		<actionbody></actionbody>
		<actionresult>
			<return>KErrNone</return>
		</actionresult>
	</action>
	</postactions>
</actionbody>