Added central_repository_notification_handler to SystemSW BC test suite
authorMaciej Seroka <maciejs@symbian.org>
Thu, 26 Aug 2010 12:39:14 +0100
changeset 1202 32ae1f6f1c35
parent 1201 56d8180e08cf
child 1203 0f78fc0a8217
Added central_repository_notification_handler to SystemSW BC test suite
common/tools/ats/bctest/systemsw/group.txt
common/tools/ats/bctest/systemsw/systemsw.pl
common/tools/ats/bctest/systemsw/systemsw.xml
--- a/common/tools/ats/bctest/systemsw/group.txt	Wed Aug 25 16:49:00 2010 +0100
+++ b/common/tools/ats/bctest/systemsw/group.txt	Thu Aug 26 12:39:14 2010 +0100
@@ -11,3 +11,4 @@
 sf/os/devicesrv/resourcemgmt/tsrc/public/basic/group
 sf/os/devicesrv/devicesrv_pub/version_info_api/tsrc/bc/platformvertest/group
 sf/os/devicesrv/devicesrv_pub/accessory_monitoring_api/tsrc/bc/accmonapibctests/group
+sftools/ana/compatanamdw/apicompatanamdw/bcdrivers/os/devicesrv/SystemSW/central_repository_notification_handler_api/group
\ No newline at end of file
--- a/common/tools/ats/bctest/systemsw/systemsw.pl	Wed Aug 25 16:49:00 2010 +0100
+++ b/common/tools/ats/bctest/systemsw/systemsw.pl	Thu Aug 26 12:39:14 2010 +0100
@@ -29,7 +29,7 @@
 copy($epoc . "release/winscw/udeb/featuremanagertest.dll",		"temp/systemswtest/winscw_udeb/featuremanagertest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/finditemenginetest.dll",		"temp/systemswtest/winscw_udeb/finditemenginetest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/light.dll",					"temp/systemswtest/winscw_udeb/light.dll") or die "failed : $!";
-copy($epoc . "release/winscw/udeb/networkstatustest.dll",		"temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!";
+-copy($epoc . "release/winscw/udeb/networkstatustest.dll",		"temp/systemswtest/winscw_udeb/networkstatustest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/phoneparsertest.dll",			"temp/systemswtest/winscw_udeb/phoneparsertest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/platformenvtest.dll",			"temp/systemswtest/winscw_udeb/platformenvtest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/powerstatetest.dll",			"temp/systemswtest/winscw_udeb/powerstatetest.dll") or die "failed : $!";
@@ -39,5 +39,7 @@
 ##copy($epoc . "release/winscw/udeb/vibractrltest.dll",			"temp/systemswtest/winscw_udeb/vibractrltest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/platformvertest.dll",			"temp/systemswtest/winscw_udeb/platformvertest.dll") or die "failed : $!";
 copy($epoc . "release/winscw/udeb/accmonapibctests.dll",		"temp/systemswtest/winscw_udeb/accmonapibctests.dll") or die "failed : $!";
+#Added on 26 Aug 2010
+copy($epoc . "release/winscw/udeb/cenrepnotifyhandlertest.dll",	"temp/systemswtest/winscw_udeb/cenrepnotifyhandlertest.dll") or die "failed : $!";
 
 system("7z a -tzip systemswtest.zip ./temp/*");
--- a/common/tools/ats/bctest/systemsw/systemsw.xml	Wed Aug 25 16:49:00 2010 +0100
+++ b/common/tools/ats/bctest/systemsw/systemsw.xml	Thu Aug 26 12:39:14 2010 +0100
@@ -406,6 +406,38 @@
 						</params>
 					</step>
 				</case>
+				<case id="" name="Central Repository Notification Handler API" harness="ATSINTERFACE" enabled="true" passrate="100">
+                    <step id="" name="SPD_Logs XML (makedir)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+                        <command>makedir</command>
+                        <params>
+                            <param dir="c:\spd_logs\xml" /> 
+                        </params>
+                    </step>
+                    <step id="" name="cenrepnotifyhandlertest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="cenrepnotifyhandlertest.dll"/>
+							<param dst="c:\sys\bin\cenrepnotifyhandlertest.dll"/>
+							<param component-path="systemswtest" />
+						</params>
+					</step>
+					<step id="" name="cenrepnotifyhandlertest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule cenrepnotifyhandlertest"/>
+                            <param result-file="c:\spd_logs\xml\cenrepnotifyhandlertest.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="cenrepnotifyhandlertest (fetch-log)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>fetch-log</command>
+						<params>
+							<param path="c:\logs\testframework\TestReport.txt" /> 
+						</params>
+					</step>
+				</case>
 			</set>
 		</session>
 	</plan>
@@ -422,5 +454,6 @@
 		<file>systemswtest/winscw_udeb/hwresmantest.dll</file>
 		<file>systemswtest/winscw_udeb/platformvertest.dll</file>
 		<file>systemswtest/winscw_udeb/accmonapibctests.dll</file>
+		<file>systemswtest/winscw_udeb/cenrepnotifyhandlertest.dll</file>
 	</files>
 </test>