Added Pbk UI Utils tests
authorBrendan Donegan brendand@symbian.org
Wed, 09 Sep 2009 14:49:46 +0100
changeset 420 af52aba22450
parent 419 96fd976080f0
child 421 cbb6880bbf68
Added Pbk UI Utils tests
common/tools/ats/bctest/contacts/phonebook/phonebook.pl
common/tools/ats/bctest/contacts/phonebook/phonebook.xml
--- a/common/tools/ats/bctest/contacts/phonebook/phonebook.pl	Wed Sep 09 14:21:08 2009 +0100
+++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.pl	Wed Sep 09 14:49:46 2009 +0100
@@ -92,4 +92,9 @@
 copy($epoc . "winscw/c/testframework/tcbctestpbknotifier.cfg",			"temp/phonebooktest/general/testframework/tcbctestpbknotifier.cfg");
 copy($epoc . "winscw/c/testframework/ui_bctestpbkpbknotifier.cfg",		"temp/phonebooktest/general/testframework/ui_bctestpbkpbknotifier.cfg");
 
+copy($epoc . "release/winscw/udeb/bctestpbkuiutil.dll",                 "temp/phonebooktest/winscw_udeb/bctestpbkuiutil.dll");
+copy($epoc . "winscw/c/testframework/testframework_pbkuiutil.ini",      "temp/phonebooktest/general/testframework/testframework_pbkuiutil.ini");
+copy($epoc . "winscw/c/testframework/tcbctestpbkuiutil.cfg",            "temp/phonebooktest/general/testframework/tcbctestpbkuiutil.cfg");
+copy($epoc . "winscw/c/testframework/ui_bctestpbkuiutil.cfg",           "temp/phonebooktest/general/testframework/ui_bctestpbkuiutil.cfg");
+
 system("7z a -tzip phonebooktest.zip ./temp/*");
--- a/common/tools/ats/bctest/contacts/phonebook/phonebook.xml	Wed Sep 09 14:21:08 2009 +0100
+++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.xml	Wed Sep 09 14:49:46 2009 +0100
@@ -787,6 +787,67 @@
 					</step>                
                 </case>
             </set>
+            <set id="" name="Phonebook UI Utilities" harness="ATSINTERFACE" enabled="true" passrate="100">
+                <case id="" name="Phonebook UI Utilities" 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="bctestpbkuiutil.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="bctestpbkuiutil.dll"/>
+							<param dst="c:\sys\bin\bctestpbkuiutil.dll"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="testframework_pbkuiutil.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\testframework_pbkuiutil.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="tcbctestpbkuiutil.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\tcbctestpbkuiutil.cfg"/>
+							<param dst="c:\testframework\tcbctestpbkuiutil.cfg"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="ui_bctestpbkuiutil.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\ui_bctestpbkuiutil.cfg"/>
+							<param dst="c:\testframework\ui_bctestpbkuiutil.cfg"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="bctestpbkuiutil (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\TestFramework\tcbctestpbkuiutil.cfg"/>
+                            <param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="bctestpbkuiutil (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>
 	<files>
@@ -854,5 +915,10 @@
 		<file>phonebooktest/general/testframework/testframework_pbknotifier.ini</file>
         <file>phonebooktest/general/testframework/tcbctestpbknotifier.cfg</file>
         <file>phonebooktest/general/testframework/ui_bctestpbkpbknotifier.cfg</file>
+        
+		<file>phonebooktest/winscw_udeb/bctestpbkuiutil.dll</file>
+		<file>phonebooktest/general/testframework/testframework_pbkuiutil.ini</file>
+        <file>phonebooktest/general/testframework/tcbctestpbkuiutil.cfg</file>
+        <file>phonebooktest/general/testframework/ui_bctestpbkuiutil.cfg</file>
 	</files>
 </test>