# HG changeset patch # User Maciej Seroka # Date 1255947486 -3600 # Node ID c027e7c6431ee57a61168958aaeffdabdb5bb303 # Parent b28792fa78e5cec87aec93e3906da16df7b7488e Added new BC test diff -r b28792fa78e5 -r c027e7c6431e common/tools/ats/bctest/connsetui/connsetui.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/connsetui/connsetui.pl Mon Oct 19 11:18:06 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 +# +# Description: +# Script to build ATS test drop for Connection Settings UI BC tests + + +use strict; +use File::Copy; +use File::Path; + +unlink "connsetuitest.zip"; +rmtree "temp"; +mkpath "temp/connsetuitest/general/testframework"; +mkpath "temp/connsetuitest/winscw_udeb"; + +my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; +copy("connsetui.xml", "temp/test.xml"); + +copy($epoc . "release/winscw/udeb/BCConnSettingsUITest.dll", "temp/connsetuitest/winscw_udeb/BCConnSettingsUITest.dll") or die "failed : $!"; +copy($epoc . "winscw/c/testframework/TestFramework_connsetui.ini", "temp/connsetuitest/general/testframework/TestFramework_connsetui.ini") or die "failed : $!"; +copy($epoc . "winscw/c/testframework/UI_ConnSet.cfg", "temp/connsetuitest/general/testframework/UI_ConnSet.cfg") or die "failed : $!"; +copy($epoc . "winscw/c/testframework/tcConnSet.cfg", "temp/connsetuitest/general/testframework/tcConnSet.cfg") or die "failed : $!"; + +system("7z a -tzip connsetuitest.zip ./temp/*"); diff -r b28792fa78e5 -r c027e7c6431e common/tools/ats/bctest/connsetui/connsetui.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/connsetui/connsetui.xml Mon Oct 19 11:18:06 2009 +0100 @@ -0,0 +1,87 @@ + + + 1 + admin + 10 + + Connection Settings UI BC Tests + + + + + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + connsetuitest/winscw_udeb/bcconnsettingsuitest.dll + connsetuitest/general/testframework/testframework_connsetui.ini + connsetuitest/general/testframework/ui_connset.cfg + connsetuitest/general/testframework/tcConnSet.cfg + +