Added smoke test for Media management
authorMaciej Seroka <maciejs@symbian.org>
Wed, 20 Jan 2010 13:35:35 +0000
changeset 851 82a4f1e453fb
parent 850 0e8b8d588322
child 852 41f42b520ea7
Added smoke test for Media management
common/tools/ats/smoketest/Group/bld.inf
common/tools/ats/smoketest/Group/smoketest.pl
common/tools/ats/smoketest/Group/smoketest.xml
--- a/common/tools/ats/smoketest/Group/bld.inf	Wed Jan 20 10:27:12 2010 +0000
+++ b/common/tools/ats/smoketest/Group/bld.inf	Wed Jan 20 13:35:35 2010 +0000
@@ -34,3 +34,4 @@
 #include "../localisation/apparchitecture/group/BLD.INF"
 #include "../graphics/wserv/group/bld.inf"
 #include "../http/group/bld.inf"
+#include "../mediamgmt/group/Bld.inf"
\ No newline at end of file
--- a/common/tools/ats/smoketest/Group/smoketest.pl	Wed Jan 20 10:27:12 2010 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.pl	Wed Jan 20 13:35:35 2010 +0000
@@ -136,5 +136,8 @@
 copy($epoc . "winscw/c/smoketest/InputMethodSmokeTestModule.cfg",   "temp/smoketest/general/InputMethodSmokeTestModule.cfg");
 copy($epoc . "release/winscw/udeb/IMApiTest.dll",					"temp/smoketest/winscw_udeb/IMApiTest.dll");
 copy($epoc . "data/c/smoketest/imapitest.ini",						"temp/smoketest/general/imapitest.ini");
+copy($epoc . "release/winscw/udeb/MediaMgmtSmokeTestModule.dll",	"temp/smoketest/winscw_udeb/MediaMgmtSmokeTestModule.dll");
+copy($epoc . "winscw/c/smoketest/UI_MediaMgmtSmokeTestModule.cfg",  "temp/smoketest/general/UI_MediaMgmtSmokeTestModule.cfg");
+copy($epoc . "winscw/c/smoketest/MediaMgmtSmokeTestModule.cfg",   	"temp/smoketest/general/MediaMgmtSmokeTestModule.cfg");
 
 system("7z a -tzip smoketest.zip ./temp/*");
--- a/common/tools/ats/smoketest/Group/smoketest.xml	Wed Jan 20 10:27:12 2010 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.xml	Wed Jan 20 13:35:35 2010 +0000
@@ -995,7 +995,6 @@
 							<param component-path="smoketest" />
 						</params>
 					</step>
-					
 					<step id="" name="IMApiTest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
 						<command>install</command>
 						<params>
@@ -1014,6 +1013,33 @@
 							<param component-path="smoketest" />
 						</params>
 					</step>
+					<step id="" name="MediaMgmtSmokeTestModule.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="MediaMgmtSmokeTestModule.dll"/>
+							<param dst="c:\sys\bin\MediaMgmtSmokeTestModule.dll"/>
+							<param component-path="smoketest" />
+						</params>
+					</step>
+                    <step id="" name="UI_MediaMgmtSmokeTestModule.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="UI_MediaMgmtSmokeTestModule.cfg"/>
+							<param dst="c:\smoketest\UI_MediaMgmtSmokeTestModule.cfg"/>
+							<param component-path="smoketest" />
+						</params>
+					</step>
+                    <step id="" name="MediaMgmtSmokeTestModule.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="MediaMgmtSmokeTestModule.cfg"/>
+							<param dst="c:\smoketest\MediaMgmtSmokeTestModule.cfg"/>
+							<param component-path="smoketest" />
+						</params>
+					</step>
 					<step id="" name="ProfileSmokeTestModule (execute)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="true">
 						<command>execute</command>
 						<params>
@@ -1068,7 +1094,16 @@
 							<param timeout="600"/>
 						</params>
 					</step>
-                </case>
+					<step id="" name="MediaMgmtSmokeTestModule (execute)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="true">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config c:\smoketest\MediaMgmtSmokeTestModule.cfg"/>
+							<param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+							<param timeout="600"/>
+						</params>
+					</step>
+				</case>
             </set>
 		</session>
 	</plan>
@@ -1182,7 +1217,10 @@
 		<file>smoketest/wallpaper/general/symbian_01_320x480.jpg</file>
         <file>smoketest/winscw_udeb/InputMethodSmokeTestModule.dll</file>
         <file>smoketest/general/InputMethodSmokeTestModule.cfg</file>
-		<file>smoketest/winscw_udeb/IMApiTest.dll</file>		
+		<file>smoketest/winscw_udeb/IMApiTest.dll</file>	
 		<file>smoketest/general/imapitest.ini</file>
+		<file>smoketest/winscw_udeb/MediaMgmtSmokeTestModule.dll</file>
+		<file>smoketest/general/UI_MediaMgmtSmokeTestModule.cfg</file>
+		<file>smoketest/general/MediaMgmtSmokeTestModule.cfg</file>
 	</files>
 </test>