Added vcard import export tests
authorBrendan Donegan brendand@symbian.org
Wed, 09 Sep 2009 15:37:38 +0100
changeset 423 9a74f183b8df
parent 421 cbb6880bbf68
child 424 557ee0e10870
Added vcard import export 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 15:22:19 2009 +0100
+++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.pl	Wed Sep 09 15:37:38 2009 +0100
@@ -97,4 +97,9 @@
 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");
 
+copy($epoc . "release/winscw/udeb/bctestpbkvcardimportexport.dll",              "temp/phonebooktest/winscw_udeb/bctestpbkvcardimportexport.dll");
+copy($epoc . "winscw/c/testframework/testframework_pbkvcardimportexport.ini",   "temp/phonebooktest/general/testframework/testframework_pbkvcardimportexport.ini");
+copy($epoc . "winscw/c/testframework/tcbctestpbkvcardimportexport.cfg",         "temp/phonebooktest/general/testframework/tcbctestpbkvcardimportexport.cfg");
+copy($epoc . "winscw/c/testframework/ui_bctestpbkvcardimportexport.cfg",        "temp/phonebooktest/general/testframework/ui_bctestpbkvcardimportexport.cfg");
+
 system("7z a -tzip phonebooktest.zip ./temp/*");
--- a/common/tools/ats/bctest/contacts/phonebook/phonebook.xml	Wed Sep 09 15:22:19 2009 +0100
+++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.xml	Wed Sep 09 15:37:38 2009 +0100
@@ -787,7 +787,7 @@
 					</step>                
                 </case>
             </set>
-            <set id="" name="Phonebook UI Utilities" harness="ATSINTERFACE" enabled="true" passrate="100">
+            <set id="" name="Phonebook UI" 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>
@@ -848,6 +848,67 @@
 					</step>                
                 </case>
             </set>
+            <set id="" name="Phonebook VCard" harness="ATSINTERFACE" enabled="true" passrate="100">
+                <case id="" name="Phonebook VCard Import/Export" 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="bctestpbkvcardimportexport.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="bctestpbkvcardimportexport.dll"/>
+							<param dst="c:\sys\bin\bctestpbkvcardimportexport.dll"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="testframework_pbkvcardimportexport.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\testframework_pbkvcardimportexport.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="tcbctestpbkvcardimportexport.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\tcbctestpbkvcardimportexport.cfg"/>
+							<param dst="c:\testframework\tcbctestpbkvcardimportexport.cfg"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="ui_bctestpbkvcardimportexport.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\ui_bctestpbkvcardimportexport.cfg"/>
+							<param dst="c:\testframework\ui_bctestpbkvcardimportexport.cfg"/>
+							<param component-path="phonebooktest" />
+						</params>
+					</step>
+					<step id="" name="bctestpbkvcardimportexport (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\TestFramework\tcbctestpbkvcardimportexport.cfg"/>
+                            <param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="bctestpbkvcardimportexport (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>
@@ -920,5 +981,10 @@
 		<file>phonebooktest/general/testframework/testframework_pbkuiutil.ini</file>
         <file>phonebooktest/general/testframework/tcbctestpbkuiutil.cfg</file>
         <file>phonebooktest/general/testframework/ui_bctestpbkuiutil.cfg</file>
+        
+		<file>phonebooktest/winscw_udeb/bctestpbkvcardimportexport.dll</file>
+		<file>phonebooktest/general/testframework/testframework_pbkvcardimportexport.ini</file>
+        <file>phonebooktest/general/testframework/tcbctestpbkvcardimportexport.cfg</file>
+        <file>phonebooktest/general/testframework/ui_bctestpbkvcardimportexport.cfg</file>
 	</files>
 </test>