merge
authorBrendan Donegan brendand@symbian.org
Thu, 17 Sep 2009 12:39:31 +0100
changeset 465 8cf07278ef12
parent 464 48fbe8fe5076 (diff)
parent 461 874d24067366 (current diff)
child 466 fd52af6b81aa
merge
common/tools/ats/bctest/browser/browser.xml
--- a/common/tools/ats/bctest/browser/browser.xml	Thu Sep 17 12:11:47 2009 +0100
+++ b/common/tools/ats/bctest/browser/browser.xml	Thu Sep 17 12:39:31 2009 +0100
@@ -94,7 +94,7 @@
         </session>
     </plan>
     <files>
-        <file>bcwebsrv/winscw_udeb/favouritesbctest.dll</file>
+        <file>bcbrowser/winscw_udeb/favouritesbctest.dll</file>
 
         <file>bcwebsrv/winscw_udeb/downloadmgrbctest.dll</file>
 		<file>bcwebsrv/general/testframework/testframework_dwmgr.ini</file>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/messaging/messaging.pl	Thu Sep 17 12:39:31 2009 +0100
@@ -0,0 +1,42 @@
+#!/usr/bin/perl
+# Copyright (c) 2009 Symbian Foundation Ltd
+# This component and the accompanying materials are made available
+# under the terms of the License "Eclipse Public License v1.0"
+# which accompanies this distribution, and is available
+# at the URL "http://www.eclipse.org/legal/epl-v10.html".
+#
+# Initial Contributors:
+# Symbian Foundation Ltd - initial contribution.
+#
+# Contributors:
+# Brendan Donegan <brendand@symbian.org>
+#
+# Description:
+# Script to build ATS test drop for BC Web Services tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "messaging.zip";
+##rmtree "temp";
+mkpath "temp/bcmessaging/testframework/general";
+mkpath "temp/bcmessaging/resource/general";
+mkpath "temp/bcmessaging/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("messaging.xml",       "temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/MMSClientMTMBCTester.dll",                "temp/bcmessaging/winscw_udeb/MMSClientMTMBCTester.dll");
+copy($epoc . "winscw/c/testframework/MMSClientMTMBCTester.ini",             "temp/bcmessaging/testframework/general/MMSClientMTMBCTester.ini");
+copy($epoc . "winscw/c/testframework/MMSClientMTMBCTester_TestImage.jpg",   "temp/bcmessaging/testframework/general/MMSClientMTMBCTester_TestImage.jpg");
+copy($epoc . "release/winscw/udeb/PluginBioControlAPITest.dll",             "temp/bcmessaging/winscw_udeb/PluginBioControlAPITest.dll");
+copy($epoc . "winscw/c/testframework/tcTestUIBioCombiner.cfg",              "temp/bcmessaging/testframework/general/tcTestUIBioCombiner.cfg");
+copy($epoc . "winscw/c/testframework/ui_PluginBioControlAPITest.cfg",       "temp/bcmessaging/testframework/general/ui_PluginBioControlAPITest.cfg");
+copy($epoc . "winscw/c/testframework/test.txt",                             "temp/bcmessaging/testframework/general/test.txt");
+copy($epoc . "winscw/c/testframework/PluginBioControlAPITest.rsc",          "temp/bcmessaging/testframework/general/PluginBioControlAPITest.rsc");
+copy($epoc . "data/z/resource/pluginbiocontrolapitest.rsc",                 "temp/bcmessaging/resource/general/pluginbiocontrolapitest.rsc");
+copy($epoc . "data/z/resource/pluginbiocontrolapitest.r01",                 "temp/bcmessaging/resource/general/pluginbiocontrolapitest.r01");
+
+system("7z a -tzip messaging.zip ./temp/*");
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/messaging/messaging.xml	Thu Sep 17 12:39:31 2009 +0100
@@ -0,0 +1,171 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Messaging BC Tests</name>
+	<target>
+        <device rank="master" alias="emulator_udeb">
+            <property name="HARNESS" value="ATSINTERFACE" />
+            <property name="NAME" value="emulator_udeb" />
+        </device>
+	</target>
+	<plan id="" name="Messaging BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="Messaging Binary Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="Messaging" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="MMS Client MTM" 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="MMSClientMTMBCTester.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="MMSClientMTMBCTester.dll"/>
+							<param dst="c:\sys\bin\MMSClientMTMBCTester.dll"/>
+							<param component-path="bcmessaging" />
+						</params>
+					</step>
+					<step id="" name="MMSClientMTMBCTester.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="MMSClientMTMBCTester.ini"/>
+							<param dst="c:\testframework\MMSClientMTMBCTester.ini"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="MMSClientMTMBCTester_TestImage.jpg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="MMSClientMTMBCTester_TestImage.jpg"/>
+							<param dst="c:\testframework\MMSClientMTMBCTester_TestImage.jpg"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="MMSClientMTMBCTester (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule MMSClientMTMBCTester -moduleini C:\TestFramework\MMSClientMTMBCTester.ini"/>
+                            <param result-file="c:\spd_logs\xml\MMSClientMTMBCTester.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="MMSClientMTMBCTester (fetch-log)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>fetch-log</command>
+						<params>
+							<param path="c:\logs\testframework\TestReport.txt" /> 
+						</params>
+					</step>
+				</case>
+                <case id="" name="Messaging Plugin Bio" 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="PluginBioControlAPITest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="PluginBioControlAPITest.dll"/>
+							<param dst="c:\sys\bin\PluginBioControlAPITest.dll"/>
+							<param component-path="bcmessaging" />
+						</params>
+					</step>
+					<step id="" name="tcTestUIBioCombiner.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="tcTestUIBioCombiner.cfg"/>
+							<param dst="c:\testframework\tcTestUIBioCombiner.cfg"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="ui_PluginBioControlAPITest.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="ui_PluginBioControlAPITest.cfg"/>
+							<param dst="c:\testframework\ui_PluginBioControlAPITest.cfg"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="test.txt (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="test.txt"/>
+							<param dst="c:\testframework\test.txt"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="PluginBioControlAPITest.rsc on C (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="PluginBioControlAPITest.rsc"/>
+							<param dst="c:\testframework\PluginBioControlAPITest.rsc"/>
+							<param component-path="bcmessaging\testframework" />
+						</params>
+					</step>
+					<step id="" name="PluginBioControlAPITest.rsc on Z (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="pluginbiocontrolapitest.rsc"/>
+							<param dst="z:\resource\pluginbiocontrolapitest.rsc"/>
+							<param component-path="bcmessaging\resource" />
+						</params>
+					</step>
+					<step id="" name="PluginBioControlAPITest.r01 on Z (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="pluginbiocontrolapitest.r01"/>
+							<param dst="z:\resource\pluginbiocontrolapitest.r01"/>
+							<param component-path="bcmessaging\resource" />
+						</params>
+					</step>  
+					<step id="" name="PluginBioControlAPITest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\TestFramework\tcTestUIBioCombiner.cfg"/>
+                            <param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="PluginBioControlAPITest (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>
+		<file>bcmessaging/winscw_udeb/MMSClientMTMBCTester.dll</file>
+        <file>bcmessaging/testframework/general/MMSClientMTMBCTester.ini</file>
+        <file>bcmessaging/testframework/general/MMSClientMTMBCTester_TestImage.jpg</file>
+        <file>bcmessaging/winscw_udeb/PluginBioControlAPITest.dll</file>
+        <file>bcmessaging/testframework/general/tcTestUIBioCombiner.cfg</file>
+        <file>bcmessaging/testframework/general/ui_PluginBioControlAPITest.cfg</file>
+        <file>bcmessaging/testframework/general/test.txt</file>
+        <file>bcmessaging/testframework/general/PluginBioControlAPITest.rsc</file>
+        <file>bcmessaging/resource/general/pluginbiocontrolapitest.rsc</file>
+        <file>bcmessaging/resource/general/pluginbiocontrolapitest.r01</file>
+	</files>
+</test>
\ No newline at end of file
--- a/common/tools/ats/bctest/websrv/websrv.xml	Thu Sep 17 12:11:47 2009 +0100
+++ b/common/tools/ats/bctest/websrv/websrv.xml	Thu Sep 17 12:39:31 2009 +0100
@@ -133,7 +133,7 @@
 						<params>
 							<param file="atsinterface.exe"/>
 							<param parameters="-testmodule newsoapclassesbctest"/>
-                            <param result-file="c:\spd_logs\xml\newsoapclasses.xml"/>
+                            <param result-file="c:\spd_logs\xml\newsoapclassesbctest.xml"/>
                             <param timeout="3600"/>
 						</params>
 					</step>