New BC test
authorMaciej Seroka <maciejs@symbian.org>
Fri, 09 Oct 2009 14:18:52 +0100 (2009-10-09)
changeset 630 1fa00c60da46
parent 629 4526dcb1317a
child 631 4762134f02d0
New BC test
common/tools/ats/bctest/locationsrv/locaddedit/locaddedit.pl
common/tools/ats/bctest/locationsrv/locaddedit/locaddedit.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locaddedit/locaddedit.pl	Fri Oct 09 14:18:52 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 "locaddedittest.zip";
+rmtree "temp";
+mkpath "temp/locaddedittest/general/testframework";
+mkpath "temp/locaddedittest/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("locaddedit.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/bcapplmkaddedit.dll",					"temp/locaddedittest/winscw_udeb/bcapplmkaddedit.dll") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/TestFramework_locaddedit.ini",		"temp/locaddedittest/general/testframework/TestFramework_locaddedit.ini") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/ui_lmkaddedit.cfg",				"temp/locaddedittest/general/testframework/ui_lmkaddedit.cfg") or die "failed : $!";
+copy($epoc . "winscw/c/testframework/tcLmkAddEdit.cfg",					"temp/locaddedittest/general/testframework/tcLmkAddEdit.cfg") or die "failed : $!";
+
+system("7z a -tzip locaddedittest.zip ./temp/*");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locaddedit/locaddedit.xml	Fri Oct 09 14:18:52 2009 +0100
@@ -0,0 +1,87 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Landmarks Application Editor BC Tests</name>
+	<target>
+        <device rank="master" alias="emulator_udeb">
+            <property name="HARNESS" value="ATSINTERFACE" />
+        </device>
+	</target>
+	<plan id="" name="Landmarks Application Editor BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="Landmarks Application Editor Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="Landmarks Add Edit" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="Landmarks Add Edit" 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="BCAppLmkAddEdit.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="bcapplmkaddedit.dll"/>
+							<param dst="c:\sys\bin\bcapplmkaddedit.dll"/>
+							<param component-path="locaddedittest" />
+						</params>
+					</step>
+					<step id="" name="TestFramework_locaddedit.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/TestFramework_locaddedit.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="locaddedittest" />
+						</params>
+					</step>
+					<step id="" name="UI_LmkAddEdit.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/ui_lmkaddedit.cfg"/>
+							<param dst="c:\testframework\ui_lmkaddedit.cfg"/>
+							<param component-path="locaddedittest" />
+						</params>
+					</step>
+					<step id="" name="tcLmkAddEdit.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/tclmkaddedit.cfg"/>
+							<param dst="c:\testframework\tclmkaddedit.cfg"/>
+							<param component-path="locaddedittest" />
+						</params>
+					</step>
+					<step id="" name="tcLmkAddEdit (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config c:\testframework\tclmkaddedit.cfg"/>
+							<param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="tcLmkAddEdit (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>locaddedittest/winscw_udeb/bcapplmkaddedit.dll</file>
+		<file>locaddedittest/general/testframework/TestFramework_locaddedit.ini</file>
+		<file>locaddedittest/general/testframework/ui_lmkaddedit.cfg</file>
+		<file>locaddedittest/general/testframework/tcLmkAddEdit.cfg</file>
+	</files>
+</test>