New BC test added
authorMaciej Seroka <maciejs@symbian.org>
Mon, 12 Oct 2009 11:15:54 +0100
changeset 642 5202cdc42f67
parent 641 3a6cba6e7541
child 643 e981400ef2ee
New BC test added
common/tools/ats/bctest/locationsrv/locdbci/locdbci.pl
common/tools/ats/bctest/locationsrv/locdbci/locdbci.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locdbci/locdbci.pl	Mon Oct 12 11:15:54 2009 +0100
@@ -0,0 +1,35 @@
+#!/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 Application Editor BC tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "locdbcitest.zip";
+rmtree "temp";
+mkpath "temp/locdbcitest/general/testframework";
+mkpath "temp/locdbcitest/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("locdbci.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/landmarksitemiddbcombiinfo.dll",					"temp/locdbcitest/winscw_udeb/landmarksitemiddbcombiinfo.dll") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/testframework_locdbci.ini",		"temp/locdbcitest/general/testframework/testframework_locdbci.ini") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/ui_lmkitemiddbcombiinfo.cfg",				"temp/locdbcitest/general/testframework/ui_lmkitemiddbcombiinfo.cfg") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/tclmkitemiddbcombiinfo.cfg",					"temp/locdbcitest/general/testframework/tclmkitemiddbcombiinfo.cfg") or die "failed : $!";
+
+system("7z a -tzip locdbcitest.zip ./temp/*");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locdbci/locdbci.xml	Mon Oct 12 11:15:54 2009 +0100
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Landmarks Item Id Db Combi Info BC Tests</name>
+	<target>
+        <device rank="master" alias="emulator_udeb">
+            <property name="HARNESS" value="ATSINTERFACE" />
+        </device>
+	</target>
+	<plan id="" name="Landmarks Item Id Db Info BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="Landmarks Item Id Db Info Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="Landmarks Item Id Db" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="Landmarks Item Id Db" 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="LandmarksItemIdDbCombiInfo.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="landmarksitemiddbcombiinfo.dll"/>
+							<param dst="c:\sys\bin\landmarksitemiddbcombiinfo.dll"/>
+							<param component-path="locdbcitest" />
+						</params>
+					</step>
+					<step id="" name="TestFramework_locdbci.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/testframework_locdbci.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="locdbcitest" />
+						</params>
+					</step>
+					<step id="" name="UI_LmkItemIdDbCombiInfo.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/ui_lmkitemiddbcombiinfo.cfg"/>
+							<param dst="c:\testframework\ui_lmkitemiddbcombiinfo.cfg"/>
+							<param component-path="locdbcitest" />
+						</params>
+					</step>
+					<step id="" name="tcLmkItemIdDbCombiInfo.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/tclmkitemiddbcombiinfo.cfg"/>
+							<param dst="c:\testframework\tclmkitemiddbcombiinfo.cfg"/>
+							<param component-path="locdbcitest" />
+						</params>
+					</step>
+					<step id="" name="tcLmkItemIdDbCombiInfo (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\TestFramework\tcLmkItemIdDbCombiInfo.cfg"/>
+							<param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="1200"/>
+						</params>
+					</step>
+					<step id="" name="tcLmkItemIdDbCombiInfo (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>locdbcitest/winscw_udeb/landmarksitemiddbcombiinfo.dll</file>
+		<file>locdbcitest/general/testframework/testframework_locdbci.ini</file>
+		<file>locdbcitest/general/testframework/ui_lmkitemiddbcombiinfo.cfg</file>
+		<file>locdbcitest/general/testframework/tclmkitemiddbcombiinfo.cfg</file>
+	</files>
+</test>