BCTest drop added
authorroyt <tathagatar@symbian.org>
Tue, 15 Sep 2009 15:06:33 +0100
changeset 450 70cf3d9c6e51
parent 448 df315d0a8ab7 (diff)
parent 449 0b42c6ee533c (current diff)
child 451 4a19f67f9ac3
BCTest drop added
--- a/.hgtags	Mon Sep 14 15:43:37 2009 +0100
+++ b/.hgtags	Tue Sep 15 15:06:33 2009 +0100
@@ -1,3 +1,4 @@
 29394d95b3e1a63e73a3f3e31f9bab42cc1437f5 fbf_configs_0.0.a
 36d82a2f1f927cbe91926e19c69fe74d9170b7de PDK_2.0.c
 633b96a83005daab9464a00b8fcbcfa96a247c26 PDK_2.0.d
+cc2965329dd1c545c3cad90c83f2c8cf2bc7e2d6 PDK_2.0.e
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/browser/browser.pl	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,31 @@
+#!/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 Profiles Engine tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "browser.zip";
+##rmtree "temp";
+mkpath "temp/bcbrowser/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("browser.xml", "temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/favouritesbctest.dll",     "temp/bcbrowser/winscw_udeb/favouritesbctest.dll");
+
+system("7z a -tzip browser.zip ./temp/*");
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/browser/browser.xml	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Browser 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="Browser BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="Browser Binary Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="Browser" harness="ATSINTERFACE" enabled="true" passrate="100">
+                <case id="" name="Browser Favourites API" 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="favouritesbctest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="favouritesbctest.dll"/>
+							<param dst="c:\sys\bin\favouritesbctest.dll"/>
+							<param component-path="bcbrowser" />
+						</params>
+					</step>
+					<step id="" name="favouritesbctest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule favouritesbctest"/>
+                            <param result-file="c:\spd_logs\xml\favouritesbctest.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="favouritesbctest (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>bcwebsrv/winscw_udeb/favouritesbctest.dll</file>
+    </files>
+</test>
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/lmdbmanagement/lmdbmanagement.pl	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,34 @@
+#!/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:
+# Maciej Seroka <maciejs@symbian.org>
+#
+# Description:
+# Script to build ATS test drop Landmarks Database Management BC tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "lmdbmanagementtest.zip";
+##rmtree "temp";
+mkpath "temp/lmdbmanagementtest/general/testframework";
+mkpath "temp/lmdbmanagementtest/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("lmdbmanagement.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/testdbmanagementapi.dll",			"temp/lmdbmanagementtest/winscw_udeb/testdbmanagementapi.dll");
+copy($epoc . "winscw/c/testframework/testframework_lmdbmanagement.ini",	"temp/lmdbmanagementtest/general/testframework/testframework_lmdbmanagement.ini");
+copy($epoc . "winscw/c/testframework/testdbmanagementapi.cfg",				"temp/lmdbmanagementtest/general/testframework/testdbmanagementapi.cfg");
+
+system("7z a -tzip lmdbmanagementtest.zip ./temp/*");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/lmdbmanagement/lmdbmanagement.xml	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,80 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Landmarks Database Management 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="Landmarks Database Management BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="Landmarks Database Management Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="Landmarks Database Management" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="Landmarks Database Management" 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="testdbmanagementapi.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="testdbmanagementapi.dll"/>
+							<param dst="c:\sys\bin\testdbmanagementapi.dll"/>
+							<param component-path="lmdbmanagementtest" />
+						</params>
+					</step>
+					<step id="" name="TestFramework_lmdbmanagement.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/TestFramework_lmdbmanagement.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="lmdbmanagementtest" />
+						</params>
+					</step>
+					<step id="" name="testdbmanagementapi.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/testdbmanagementapi.cfg"/>
+							<param dst="c:\testframework\testdbmanagementapi.cfg"/>
+							<param component-path="lmdbmanagementtest" />
+						</params>
+					</step>
+
+
+					<step id="" name="testdbmanagementapi (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testscripter -config c:\testframework\testdbmanagementapi.cfg"/>
+							<param result-file="c:\spd_logs\xml\testscripter.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="testdbmanagementapi (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>lmdbmanagementtest/winscw_udeb/testdbmanagementapi.dll</file>
+		<file>lmdbmanagementtest/general/testframework/testframework_lmdbmanagement.ini</file>
+		<file>lmdbmanagementtest/general/testframework/testdbmanagementapi.cfg</file>
+	</files>
+</test>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/pim/clock/clock.pl	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,36 @@
+#!/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:
+# Louis Henry Nayegon <louisn@symbian.org>
+#
+# Description:
+# Script to build ATS test drop contacts phonebook tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "clocktest.zip";
+##rmtree "temp";
+mkpath "temp/clocktest/general/testframework";
+mkpath "temp/clocktest/general/bcardtest2";
+mkpath "temp/clocktest/winscw_udeb/z/resource/plugins";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("clock.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/bctestclock.dll",					"temp/clocktest/winscw_udeb/bctestclock.dll");
+copy($epoc . "winscw/c/testframework/testframework_pimclock.ini",	"temp/clocktest/general/testframework/testframework_pimclock.ini");
+copy($epoc . "winscw/c/testframework/tcbctestclock.cfg",			"temp/clocktest/general/testframework/tcbctestclock.cfg");
+copy($epoc . "winscw/c/testframework/ui_bctestclock.cfg",			"temp/clocktest/general/testframework/ui_bctestclock.cfg");
+
+system("7z a -tzip clocktest.zip ./temp/*");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/pim/clock/clock.xml	Tue Sep 15 15:06:33 2009 +0100
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>PIM Clock 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="PIM Clock BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="PIM Clock Binary Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="PIM Clock" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="PIM Clock" 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="bctestclock.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="bctestclock.dll"/>
+							<param dst="c:\sys\bin\bctestclock.dll"/>
+							<param component-path="clocktest" />
+						</params>
+					</step>
+					<step id="" name="testframework_pimclock.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/testframework_pimclock.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="clocktest" />
+						</params>
+					</step>
+					<step id="" name="tcbctestclock.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/tcbctestclock.cfg"/>
+							<param dst="c:\testframework\tcbctestclock.cfg"/>
+							<param component-path="clocktest" />
+						</params>
+					</step>
+					<step id="" name="ui_bctestclock.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/ui_bctestclock.cfg"/>
+							<param dst="c:\testframework\ui_bctestclock.cfg"/>
+							<param component-path="clocktest" />
+						</params>
+					</step>
+					<step id="" name="bctestclock (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\testframework\tcbctestclock.cfg"/>
+                            <param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="bctestclock (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>clocktest/winscw_udeb/bctestclock.dll</file>
+		<file>clocktest/general/testframework/testframework_pimclock.ini</file>
+        <file>clocktest/general/testframework/tcbctestclock.cfg</file>
+        <file>clocktest/general/testframework/ui_bctestclock.cfg</file>
+	</files>
+</test>
--- a/common/tools/ats/bctest/websrv/websrv.pl	Mon Sep 14 15:43:37 2009 +0100
+++ b/common/tools/ats/bctest/websrv/websrv.pl	Tue Sep 15 15:06:33 2009 +0100
@@ -10,9 +10,10 @@
 #
 # Contributors:
 # Brendan Donegan <brendand@symbian.org>
+# Maciej Seroka <maciejs@symbian.org>
 #
 # Description:
-# Script to build ATS test drop for BC Profiles Engine tests
+# Script to build ATS test drop for BC Web Services tests
 
 
 use strict;
@@ -29,5 +30,9 @@
 
 copy($epoc . "release/winscw/udeb/CSenServiceConnectionBCTest.dll",     "temp/bcwebsrv/winscw_udeb/CSenServiceConnectionBCTest.dll");
 copy($epoc . "winscw/c/testframework/testframework_connection.ini",     "temp/bcwebsrv/general/testframework/testframework_connection.ini");
+copy($epoc . "release/winscw/udeb/HostletConnectionBCTest.dll",         "temp/bcwebsrv/winscw_udeb/HostletConnectionBCTest.dll");
+copy($epoc . "winscw/c/testframework/TestFramework_hostlet.ini",        "temp/bcwebsrv/general/testframework/TestFramework_hostlet.ini");
+copy($epoc . "release/winscw/udeb/newsoapclassesbctest.dll",            "temp/bcwebsrv/winscw_udeb/newsoapclassesbctest.dll");
+copy($epoc . "winscw/c/testframework/testframework_newsoapclasses.ini", "temp/bcwebsrv/general/testframework/testframework_newsoapclasses.ini");
 
 system("7z a -tzip websrv.zip ./temp/*");
\ No newline at end of file
--- a/common/tools/ats/bctest/websrv/websrv.xml	Mon Sep 14 15:43:37 2009 +0100
+++ b/common/tools/ats/bctest/websrv/websrv.xml	Tue Sep 15 15:06:33 2009 +0100
@@ -59,10 +59,100 @@
 					</step>
                 </case>
             </set>
+			<set id="" name="Hostlet Connection" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="Hostlet Connection API" 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="HostletConnectionBCTest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="HostletConnectionBCTest.dll"/>
+							<param dst="c:\sys\bin\HostletConnectionBCTest.dll"/>
+							<param component-path="bcwebsrv" />
+						</params>
+					</step>
+					<step id="" name="TestFramework_hostlet.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/TestFramework_hostlet.ini"/>
+							<param dst="c:\TestFramework\TestFramework.ini"/>
+							<param component-path="bcwebsrv" />
+						</params>
+					</step>
+					<step id="" name="HostletConnectionBCTest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule HostletConnectionBCTest"/>
+							<param result-file="c:\spd_logs\xml\HostletConnectionBCTest.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="HostletConnectionBCTest (fetch-log)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>fetch-log</command>
+						<params>
+							<param path="c:\logs\testframework\TestReport.txt" /> 
+						</params>
+					</step>
+				</case>
+			</set>
+			<set id="" name="Web Service Messaging" harness="ATSINTERFACE" enabled="true" passrate="100">
+                <case id="" name="New SOAP Classes API" 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="newsoapclassesbctest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="newsoapclassesbctest.dll"/>
+							<param dst="c:\sys\bin\newsoapclassesbctest.dll"/>
+							<param component-path="bcwebsrv" />
+						</params>
+					</step>
+					<step id="" name="testframework_newsoapclasses.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework\testframework_newsoapclasses.ini"/>
+							<param dst="c:\testframework\testframework_newsoapclasses.ini"/>
+							<param component-path="bcwebsrv" />
+						</params>
+					</step>
+					<step id="" name="newsoapclassesbctest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule newsoapclassesbctest"/>
+                            <param result-file="c:\spd_logs\xml\newsoapclasses.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="newsoapclassesbctest (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>bcwebsrv/winscw_udeb/csenserviceconnectionbctest.dll</file>
         <file>bcwebsrv/general/testframework/testframework_connection.ini</file>
+		<file>bcwebsrv/winscw_udeb/hostletconnectionbctest.dll</file>
+		<file>bcwebsrv/general/testframework/testframework_hostlet.ini</file>
+		<file>bcwebsrv/winscw_udeb/newsoapclassesbctest.dll</file>
+		<file>bcwebsrv/general/testframework/testframework_newsoapclasses.ini</file>
 	</files>
 </test>
\ No newline at end of file