Test: Fixed up the app install smoke tests so that both now pass
authorbrendand
Fri, 13 Nov 2009 09:33:02 +0000
changeset 757 7ec1750944ef
parent 750 debbafbce638
child 758 dd806856a8f6
Test: Fixed up the app install smoke tests so that both now pass
common/tools/ats/smoketest/Group/smoketest.pl
common/tools/ats/smoketest/Group/smoketest.xml
common/tools/ats/smoketest/appinstall/conf/AppInstallSmokeTestModule.cfg
common/tools/ats/smoketest/appinstall/data/sistest.sisx
common/tools/ats/smoketest/appinstall/data/sistest_winscw.sisx
common/tools/ats/smoketest/appinstall/group/Bld.inf
--- a/common/tools/ats/smoketest/Group/smoketest.pl	Thu Nov 12 16:06:26 2009 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.pl	Fri Nov 13 09:33:02 2009 +0000
@@ -11,6 +11,7 @@
 mkpath "temp/smoketest/sms/general";
 mkpath "temp/smoketest/emailmessage/general";
 mkpath "temp/smoketest/emailsettings/general";
+mkpath "temp/smoketest/appinstall/general";
 
 my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
 copy("smoketest.xml",												"temp/test.xml");
@@ -59,6 +60,7 @@
 copy($epoc . "winscw/c/smoketest/ProfileSmokeTestModule.cfg",       "temp/smoketest/general/ProfileSmokeTestModule.cfg");
 copy($epoc . "release/winscw/udeb/AppInstallSmokeTestModule.dll",   "temp/smoketest/winscw_udeb/AppInstallSmokeTestModule.dll");
 copy($epoc . "winscw/c/smoketest/AppInstallSmokeTestModule.cfg",    "temp/smoketest/general/AppInstallSmokeTestModule.cfg");
+copy($epoc . "winscw/c/smoketest/appinstall/sistest_winscw.sisx",   "temp/smoketest/appinstall/general/sistest_winscw.sisx");
 copy($epoc . "release/winscw/udeb/TestNpdApi.dll",					"temp/smoketest/winscw_udeb/TestNpdApi.dll");
 copy($epoc . "data/c/smoketest/smoketest_notepad.cfg",				"temp/smoketest/general/smoketest_notepad.cfg");
 copy($epoc . "data/c/smoketest/ui_TestNpdApi.cfg",					"temp/smoketest/general/ui_TestNpdApi.cfg");
--- a/common/tools/ats/smoketest/Group/smoketest.xml	Thu Nov 12 16:06:26 2009 +0000
+++ b/common/tools/ats/smoketest/Group/smoketest.xml	Fri Nov 13 09:33:02 2009 +0000
@@ -383,6 +383,15 @@
 							<param component-path="smoketest" />
 						</params>
 					</step>
+                    <step id="" name="sistest_winscw.sisx (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="sistest_winscw.sisx"/>
+							<param dst="c:\smoketest\appinstall\sistest_winscw.sisx"/>
+							<param component-path="smoketest\appinstall" />
+						</params>
+					</step>
 					<step id="" name="testsdkskins.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
 						<command>install</command>
 						<params>
@@ -495,6 +504,7 @@
 		<file>smoketest/general/ui_TestNpdApi.cfg</file>
         <file>smoketest/winscw_udeb/AppInstallSmokeTestModule.dll</file>
         <file>smoketest/general/AppInstallSmokeTestModule.cfg</file>
+        <file>smoketest/appinstall/general/sistest_winscw.sisx</file>
 		<file>smoketest/winscw_udeb/testsdkskins.dll</file>		
 		<file>smoketest/general/smoketest_uiresources.cfg</file>
 		<file>smoketest/general/ui_testsdkskinsu.cfg</file>
--- a/common/tools/ats/smoketest/appinstall/conf/AppInstallSmokeTestModule.cfg	Thu Nov 12 16:06:26 2009 +0000
+++ b/common/tools/ats/smoketest/appinstall/conf/AppInstallSmokeTestModule.cfg	Fri Nov 13 09:33:02 2009 +0000
@@ -1,14 +1,14 @@
 [Test]
 title Install Application
 create AppInstallSmokeTestModule installer
-installer InstallApp c:\testing\data\sistest_winscw.sisx
+installer InstallApp c:\smoketest\appinstall\sistest_winscw.sisx
 delete installer
 [Endtest]
 
 [Test]
 title Uninstall Application
 create AppInstallSmokeTestModule uninstaller
-uninstaller UninstallApp 1A
+uninstaller UninstallApp E4F8641B
 delete uninstaller
 [Endtest]
 
Binary file common/tools/ats/smoketest/appinstall/data/sistest.sisx has changed
Binary file common/tools/ats/smoketest/appinstall/data/sistest_winscw.sisx has changed
--- a/common/tools/ats/smoketest/appinstall/group/Bld.inf	Thu Nov 12 16:06:26 2009 +0000
+++ b/common/tools/ats/smoketest/appinstall/group/Bld.inf	Fri Nov 13 09:33:02 2009 +0000
@@ -25,6 +25,7 @@
 // NOTE: If using ARS requirements all export operations should be done under this.
 // 'abld test export'
 ../conf/AppInstallSmokeTestModule.cfg	c:/smoketest/AppInstallSmokeTestModule.cfg
+../data/sistest_winscw.sisx				c:/smoketest/appinstall/sistest_winscw.sisx
 
 PRJ_EXPORTS
 // Specify the source file followed by its destination here