# HG changeset patch # User Louis Henry Nayegon # Date 1252502366 -3600 # Node ID a55099e554ff1c2a90f6f8705a18f0e9e094266f # Parent da6494a8952fea1b425b29ffe18c465d188e974f Add contacts/phonebook tests Add stif winscw udeb platform diff -r da6494a8952f -r a55099e554ff common/tools/ats/bctest/contacts/phonebook/phonebook.pl --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.pl Wed Sep 09 14:19:26 2009 +0100 @@ -0,0 +1,95 @@ +#!/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: +# Louis Henry Nayegon +# +# Description: +# Script to build ATS test drop multimedia svs tests + + +use strict; +use File::Copy; +use File::Path; + +unlink "phonebooktest.zip"; +##rmtree "temp"; +mkpath "temp/phonebooktest/general/testframework"; +mkpath "temp/phonebooktest/winscw_udeb"; + +my $epoc=$ENV{'EPOCROOT'} . "epoc32/"; +copy("contacts.xml", "temp/test.xml"); + +copy($epoc . "release/winscw/udeb/bctestpbkdataaddedit.dll", "temp/phonebooktest/winscw_udeb/bctestpbkdataaddedit.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkdataaddedit.ini", "temp/phonebooktest/general/testframework/testframework_pbkdataaddedit.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkdataaddedit.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkdataaddedit.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkdataaddedit.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkdataaddedit.cfg"); + +copy($epoc . "release/winscw/udeb/mtrpbkviewresourcefile.dll", "temp/phonebooktest/winscw_udeb/mtrpbkviewresourcefile.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkvrsc.ini", "temp/phonebooktest/general/testframework/testframework_pbkvrsc.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkvrsc.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkvrsc.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkvrsc.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkvrsc.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkidlefinder.dll", "temp/phonebooktest/winscw_udeb/mtpbkidlefinder.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkifinder.ini", "temp/phonebooktest/general/testframework/testframework_pbkifinder.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkifinder.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkifinder.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkifinder.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkifinder.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkiconinfo.dll", "temp/phonebooktest/winscw_udeb/mtpbkiconinfo.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkinfo.ini", "temp/phonebooktest/general/testframework/testframework_pbkinfo.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkinfo.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkinfo.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkinfo.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkinfo.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkiconid.dll", "temp/phonebooktest/winscw_udeb/mtpbkiconid.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkicon.ini", "temp/phonebooktest/general/testframework/testframework_pbkicon.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkicon.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkicon.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkicon.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkicon.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkfields.dll", "temp/phonebooktest/winscw_udeb/mtpbkfields.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkfeilds.ini", "temp/phonebooktest/general/testframework/testframework_pbkfeilds.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkfeilds.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkfeilds.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkfeilds.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkfeilds.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkfielddata.dll", "temp/phonebooktest/winscw_udeb/mtpbkfielddata.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkfdata.ini", "temp/phonebooktest/general/testframework/testframework_pbkfdata.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkfdata.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkfdata.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkfdata.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkfdata.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkcontactiter.dll", "temp/phonebooktest/winscw_udeb/mtpbkcontactiter.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkiter.ini", "temp/phonebooktest/general/testframework/testframework_pbkiter.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkiter.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkiter.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkiter.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkiter.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkcontactitemfield.dll", "temp/phonebooktest/winscw_udeb/mtpbkcontactitemfield.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkcif.ini", "temp/phonebooktest/general/testframework/testframework_pbkcif.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkcif.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkcif.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkcif.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkcif.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkcontactengine.dll", "temp/phonebooktest/winscw_udeb/mtpbkcontactengine.dll"); +copy($epoc . "winscw/c/testframework/testframework_cengine.ini", "temp/phonebooktest/general/testframework/testframework_cengine.ini"); +copy($epoc . "winscw/c/testframework/tcbctestcengine.cfg", "temp/phonebooktest/general/testframework/tcbctestcengine.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestcengine.cfg", "temp/phonebooktest/general/testframework/ui_bctestcengine.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkfieldsinfo.dll", "temp/phonebooktest/winscw_udeb/mtpbkfieldsinfo.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkfinfo.ini", "temp/phonebooktest/general/testframework/testframework_pbkfinfo.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkfinfo.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkfinfo.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkfinfo.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkfinfo.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkcontactitem.dll", "temp/phonebooktest/winscw_udeb/mtpbkcontactitem.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbkcitem.ini", "temp/phonebooktest/general/testframework/testframework_pbkcitem.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbkcitem.cfg", "temp/phonebooktest/general/testframework/tcbctestpbkcitem.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkcitem.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkcitem.cfg"); + +copy($epoc . "release/winscw/udeb/mtpbkcontactchangenotifier.dll", "temp/phonebooktest/winscw_udeb/mtpbkcontactchangenotifier.dll"); +copy($epoc . "winscw/c/testframework/testframework_pbknotifier.ini", "temp/phonebooktest/general/testframework/testframework_pbknotifier.ini"); +copy($epoc . "winscw/c/testframework/tcbctestpbknotifier.cfg", "temp/phonebooktest/general/testframework/tcbctestpbknotifier.cfg"); +copy($epoc . "winscw/c/testframework/ui_bctestpbkpbknotifier.cfg", "temp/phonebooktest/general/testframework/ui_bctestpbkpbknotifier.cfg"); + +system("7z a -tzip phonebooktest.zip ./temp/*"); diff -r da6494a8952f -r a55099e554ff common/tools/ats/bctest/contacts/phonebook/phonebook.xml --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/bctest/contacts/phonebook/phonebook.xml Wed Sep 09 14:19:26 2009 +0100 @@ -0,0 +1,858 @@ + + + 1 + admin + 10 + + Contacts Phonebook BC Tests + + + + + + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + makedir + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + install + + + + + + + + + execute + + + + + + + + + fetch-log + + + + + + + + + + phonebooktest/winscw_udeb/bctestpbkdataaddedit.dll + phonebooktest/general/testframework/testframework_pbkdataaddedit.ini + phonebooktest/general/testframework/tcbctestpbkdataaddedit.cfg + phonebooktest/general/testframework/ui_bctestpbkdataaddedit.cfg + + phonebooktest/winscw_udeb/mtrpbkviewresourcefile.dll + phonebooktest/general/testframework/testframework_pbkvrsc.ini + phonebooktest/general/testframework/tcbctestpbkvrsc.cfg + phonebooktest/general/testframework/ui_bctestpbkvrsc.cfg + + phonebooktest/winscw_udeb/mtpbkidlefinder.dll + phonebooktest/general/testframework/testframework_pbkifinder.ini + phonebooktest/general/testframework/tcbctestpbkifinder.cfg + phonebooktest/general/testframework/ui_bctestpbkifinder.cfg + + phonebooktest/winscw_udeb/mtpbkiconinfo.dll + phonebooktest/general/testframework/testframework_pbkinfo.ini + phonebooktest/general/testframework/tcbctestpbkinfo.cfg + phonebooktest/general/testframework/ui_tcbctestpbkinfo.cfg + + phonebooktest/winscw_udeb/mtpbkiconid.dll + phonebooktest/general/testframework/testframework_pbkicon.ini + phonebooktest/general/testframework/tcbctestpbkicon.cfg + phonebooktest/general/testframework/ui_tcbctestpbkicon.cfg + + phonebooktest/winscw_udeb/mtpbkfields.dll + phonebooktest/general/testframework/testframework_pbkfeilds.ini + phonebooktest/general/testframework/tcbctestpbkfeilds.cfg + phonebooktest/general/testframework/ui_bctestpbkfeilds.cfg + + phonebooktest/winscw_udeb/mtpbkfielddata.dll + phonebooktest/general/testframework/testframework_pbkfdata.ini + phonebooktest/general/testframework/tcbctestpbkfdata.cfg + phonebooktest/general/testframework/ui_tcbctestpbkfdata.cfg + + phonebooktest/winscw_udeb/mtpbkcontactiter.dll + phonebooktest/general/testframework/testframework_pbkiter.ini + phonebooktest/general/testframework/tcbctestpbkiter.cfg + phonebooktest/general/testframework/ui_bctestpbkiter.cfg + + phonebooktest/winscw_udeb/mtpbkcontactitemfield.dll + phonebooktest/general/testframework/testframework_pbkcif.ini + phonebooktest/general/testframework/tcbctestpbkcif.cfg + phonebooktest/general/testframework/ui_bctestpbkcif.cfg + + phonebooktest/winscw_udeb/mtpbkcontactengine.dll + phonebooktest/general/testframework/testframework_cengine.ini + phonebooktest/general/testframework/tcbctestcengine.cfg + phonebooktest/general/testframework/ui_bctestcengine.cfg + + phonebooktest/winscw_udeb/mtpbkfieldsinfo.dll + phonebooktest/general/testframework/testframework_pbkfinfo.ini + phonebooktest/general/testframework/tcbctestpbkfinfo.cfg + phonebooktest/general/testframework/ui_bctestpbkfinfo.cfg + + phonebooktest/winscw_udeb/mtpbkcontactitem.dll + phonebooktest/general/testframework/testframework_pbkcitem.ini + phonebooktest/general/testframework/tcbctestpbkcitem.cfg + phonebooktest/general/testframework/ui_bctestpbkcitem.cfg + + phonebooktest/winscw_udeb/mtpbkcontactchangenotifier.dll + phonebooktest/general/testframework/testframework_pbknotifier.ini + phonebooktest/general/testframework/tcbctestpbknotifier.cfg + phonebooktest/general/testframework/ui_bctestpbkpbknotifier.cfg + + diff -r da6494a8952f -r a55099e554ff common/tools/ats/devices/localhost/emulator_stif.properties --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/common/tools/ats/devices/localhost/emulator_stif.properties Wed Sep 09 14:19:26 2009 +0100 @@ -0,0 +1,13 @@ +NAME=emulator_udeb stif +CATEGORY=hardware +TYPE=winscw +CONNECTION=emulator +TEMPDIR=T:\\ +CLASS=RTestableDevice +HARNESS=ATSINTERFACE + +#reinstall files after reboot +REINSTALL=false +PLATFORM=winscw +BUILD=udeb +IMAGE=winscw_smoketest