Added Core Telephony BC tests
authorbrendand
Tue, 20 Oct 2009 17:10:41 +0100
changeset 702 993c4cb88372
parent 701 332cfa36b186
child 705 70c33499045d
Added Core Telephony BC tests
common/tools/ats/bctest/coretelephony/coretelephony.pl
common/tools/ats/bctest/coretelephony/coretelephony.xml
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/coretelephony/coretelephony.pl	Tue Oct 20 17:10:41 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 RTC Core Telephony tests
+
+
+use strict;
+use File::Copy;
+use File::Path;
+
+unlink "coretelephony.zip";
+rmtree "temp";
+mkpath "temp/rtcct/winscw_udeb";
+
+my $epoc=$ENV{'EPOCROOT'} . "epoc32/";
+copy("coretelephony.xml",	"temp/test.xml");
+
+copy($epoc . "release/winscw/udeb/BCLogEngineTest.dll",                     "temp/rtcct/winscw_udeb/BCLogEngineTest.dll") or die "failed : $!";
+
+system("7z a -tzip coretelephony.zip ./temp/*");
\ No newline at end of file
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/common/tools/ats/bctest/coretelephony/coretelephony.xml	Tue Oct 20 17:10:41 2009 +0100
@@ -0,0 +1,57 @@
+<?xml version="1.0"?>
+<test>
+	<id>1</id>
+	<owner>admin</owner>
+	<priority>10</priority>
+	<buildid></buildid>
+	<name>RTC Core Telephony BC Tests</name>
+	<target>
+        <device rank="master" alias="emulator_udeb">
+            <property name="HARNESS" value="ATSINTERFACE" />
+        </device>
+	</target>
+	<plan id="" name="RTC Core Telephony BC WINSCW UDEB" harness="ATSINTERFACE" enabled="true" passrate="100">
+		<target>
+			<device rank="master" alias="emulator_udeb"/>
+		</target>
+		<session id="" name="RTC Core Telephony Binary Compatibility Tests" harness="ATSINTERFACE" enabled="true" passrate="100">
+            <set id="" name="RTC Core Telephony" harness="ATSINTERFACE" enabled="true" passrate="100">
+                <case id="" name="Core Telephony Log Engine 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="BCLogEngineTest.dll (install)" harness="ATSINTERFACE" enabled="true" passrate="100" significant="false">
+						<command>install</command>
+						<params>
+							<param type="binary"/>
+							<param src="BCLogEngineTest.dll"/>
+							<param dst="c:\sys\bin\BCLogEngineTest.dll"/>
+							<param component-path="rtcct" />
+						</params>
+					</step>
+					<step id="" name="BCLogEngineTest (execute)" harness="ATSINTERFACE" enabled="true" passrate="100">
+						<command>execute</command>
+						<params>
+							<param file="atsinterface.exe"/>
+							<param parameters="-testmodule BCLogEngineTest"/>
+                            <param result-file="c:\spd_logs\xml\BCLogEngineTest.xml"/>
+                            <param timeout="3600"/>
+						</params>
+					</step>
+					<step id="" name="BCLogEngineTest (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>rtcct/winscw_udeb/BCLogEngineTest.dll</file>
+	</files>
+</test>
\ No newline at end of file