New BC tests
authorMaciej Seroka <maciejs@symbian.org>
Mon, 14 Sep 2009 09:55:46 +0100
changeset 437 ce8efcf88343
parent 436 9dcc6e7393f7
child 438 6832752a1de3
New BC tests
common/tools/ats/bctest/locationsrv/locblid/locblid.pl
common/tools/ats/bctest/locationsrv/locblid/locblid.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locblid/locblid.pl	Mon Sep 14 09:55:46 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 BLID Application Satellite Info BC tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "locblidtest.zip";
+##rmtree "temp";
+mkpath "temp/locblidtest/general/testframework";
+mkpath "temp/locblidtest/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("locblid.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/BCBlidTest.dll",					"temp/locblidtest/winscw_udeb/BCBlidTest.dll");
+copy($epoc . "winscw/c/testframework/testframework_locblid.ini",	"temp/locblidtest/general/testframework/testframework_locblid.ini");
+copy($epoc . "winscw/c/testframework/tcLmkBlid.cfg",				"temp/locblidtest/general/testframework/tcLmkBlid.cfg");
+copy($epoc . "winscw/c/testframework/UI_BCBLid.cfg",				"temp/locblidtest/general/testframework/UI_BCBLid.cfg");
+
+system("7z a -tzip locblidtest.zip ./temp/*");
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/locationsrv/locblid/locblid.xml	Mon Sep 14 09:55:46 2009 +0100
@@ -0,0 +1,88 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>Basic Location Info Display (BLID) Application Satellite Info 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="Basic Location Info Display BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="BLID Application Satellite Info Binary Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+			<set id="" name="BLID Application" harness="ATSINTERFACE" enabled="true" passrate="100">
+				<case id="" name="BLID Application" 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="BCBlidTest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="BCBlidTest.dll"/>
+							<param dst="c:\sys\bin\BCBlidTest.dll"/>
+							<param component-path="locblidtest" />
+						</params>
+					</step>
+					<step id="" name="testframework_testframework_locblid.ini (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/testframework_locblid.ini"/>
+							<param dst="c:\testframework\testframework.ini"/>
+							<param component-path="locblidtest" />
+						</params>
+					</step>
+					<step id="" name="tcLmkBlid.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/tcLmkBlid.cfg"/>
+							<param dst="c:\testframework\tcLmkBlid.cfg"/>
+							<param component-path="locblidtest" />
+						</params>
+					</step>
+					<step id="" name="UI_BCBLid.cfg (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="data"/>
+							<param src="testframework/UI_BCBLid.cfg"/>
+							<param dst="c:\testframework\UI_BCBLid.cfg"/>
+							<param component-path="locblidtest" />
+						</params>
+					</step>						
+					<step id="" name="tcLmkBlid (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule testcombiner -config C:\testframework\tcLmkBlid.cfg"/>
+							<param result-file="c:\spd_logs\xml\testcombiner.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="tcLmkBlid (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>locblidtest/winscw_udeb/BCBlidTest.dll</file>
+		<file>locblidtest/general/testframework/testframework_locblid.ini</file>
+		<file>locblidtest/general/testframework/UI_BCBLid.cfg</file>
+		<file>locblidtest/general/testframework/tcLmkBlid.cfg</file>
+	</files>
+</test>