# HG changeset patch # User Maciej Seroka # Date 1284383953 -3600 # Node ID 29a90d2412a467974e3c2716012434e19cf15f6a # Parent 6b9970ac90ac6658e818d76e2566276d06c90286 Fixed Smoketest on Syborg diff -r 6b9970ac90ac -r 29a90d2412a4 Group/ats4_smoketest_syborg.xml --- a/Group/ats4_smoketest_syborg.xml Fri Sep 10 16:33:25 2010 +0100 +++ b/Group/ats4_smoketest_syborg.xml Mon Sep 13 14:19:13 2010 +0100 @@ -18,6 +18,34 @@ + FileUploadTask + + + + + + + FileUploadTask + + + + + + + FileUploadTask + + + + + + + FileUploadTask + + + + + + CreateDirTask @@ -28,25 +56,6 @@ NonTestExecuteTask - - - - - - - ExecutableTestCaseTask - - - - - - - - - - NonTestExecuteTask - - @@ -246,6 +255,16 @@ + + + NonTestExecuteTask + + + + + + + ExecutableTestCaseTask @@ -303,6 +322,28 @@ + + + + ExecutableTestCaseTask + + + + + + + + FileDownloadTask diff -r 6b9970ac90ac -r 29a90d2412a4 Group/smoketest.pl --- a/Group/smoketest.pl Fri Sep 10 16:33:25 2010 +0100 +++ b/Group/smoketest.pl Mon Sep 13 14:19:13 2010 +0100 @@ -202,8 +202,22 @@ copy($epoc . "release/winscw/udeb/tst_smoke_qtgestures.exe", "temp/smoketest/winscw_udeb/tst_smoke_qtgestures.exe"); } elsif ($target eq "SYBORG") { # Build ATS test drop for Syborg. + mkpath "temp/smoketest/general"; + mkpath "temp/smoketest/emailmessage/general"; + mkpath "temp/smoketest/emailsettings/general"; + mkpath "temp/smoketest/web/general"; + if (lc($ats_version) eq "ats3") { copy("smoketest_syborg.xml", "temp/test.xml"); } # Use ATS3 test plan. if (lc($ats_version) eq "ats4") { copy("ats4_smoketest_syborg.xml", "temp/test.xml"); } # Use ATS4 test plan. + copy($epoc . "data/z/smoketest/smoketest_apploader_syborg.ini", "temp/smoketest/general/smoketest_apploader.ini"); + copy($epoc . "data/z/smoketest/MachineName.txt", "temp/smoketest/general/MachineName.txt"); + copy($epoc . "data/z/smoketest/emailmessage/20KBody_syborg.txt", "temp/smoketest/emailmessage/general/20KBody.txt"); + copy($epoc . "data/z/smoketest/emailsettings/popsettings_test908.txt", "temp/smoketest/emailsettings/general/popsettings_test908.txt"); + copy($epoc . "data/c/smoketest/ui_TestNpdApi.cfg", "temp/smoketest/general/ui_TestNpdApi.cfg"); + copy($epoc . "data/c/smoketest/ui_testsdkskinsu.cfg", "temp/smoketest/general/ui_testsdkskinsu.cfg"); + copy($epoc . "data/c/smoketest/ui_testsdkskinswu.cfg", "temp/smoketest/general/ui_testsdkskinswu.cfg"); + copy($epoc . "winscw/c/smoketest/UI_MediaMgmtSmokeTestModule.cfg", "temp/smoketest/general/UI_MediaMgmtSmokeTestModule.cfg"); + copy($epoc . "data/c/smoketest/web/loadtest2.html", "temp/smoketest/web/general/loadtest2.html"); } system("7z a -tzip smoketest.zip ./temp/*"); diff -r 6b9970ac90ac -r 29a90d2412a4 appinstall/group/Bld.inf --- a/appinstall/group/Bld.inf Fri Sep 10 16:33:25 2010 +0100 +++ b/appinstall/group/Bld.inf Mon Sep 13 14:19:13 2010 +0100 @@ -26,6 +26,7 @@ // NOTE: If using ARS requirements all export operations should be done under this. // 'abld test export' ../conf/AppInstallSmokeTestModule.cfg c:/smoketest/AppInstallSmokeTestModule.cfg +../conf/AppInstallSmokeTestModule_z.cfg c:/smoketest/AppInstallSmokeTestModule_z.cfg ../data/sistest_winscw.sisx c:/smoketest/appinstall/sistest_winscw.sisx PRJ_TESTMMPFILES diff -r 6b9970ac90ac -r 29a90d2412a4 apploader/Group/bld.inf --- a/apploader/Group/bld.inf Fri Sep 10 16:33:25 2010 +0100 +++ b/apploader/Group/bld.inf Mon Sep 13 14:19:13 2010 +0100 @@ -21,6 +21,7 @@ ..\scripts\setup_smoketest_apploader.script z:\smoketest\setup_smoketest_apploader.script ..\scripts\smoketest_apploader.script z:\smoketest\smoketest_apploader.script ..\testdata\smoketest_apploader.ini z:\smoketest\smoketest_apploader.ini +..\testdata\smoketest_apploader_syborg.ini z:\smoketest\smoketest_apploader_syborg.ini PRJ_TESTMMPFILES smoketest_apploader.mmp diff -r 6b9970ac90ac -r 29a90d2412a4 apploader/testdata/smoketest_apploader_syborg.ini --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/apploader/testdata/smoketest_apploader_syborg.ini Mon Sep 13 14:19:13 2010 +0100 @@ -0,0 +1,54 @@ +[SMOKE_APP_LAUNCH_0001] +program =Smoketest_System.exe + +[SMOKE_APP_END_0001] +program =Z:\sys\bin\Smoketest_System.exe + +[SMOKE_APP_RUNNING_0002] +program =Telephone + +[SMOKE_APP_RUNNING_0003] +program =Clock + +[SMOKE_APP_RUNNING_0004] +program =Messaging + +[SMOKE_APP_LAUNCH_0005] +program =NSmlDSSync.exe + +[SMOKE_APP_END_0005] +program =Sync + +[SMOKE_APP_RUNNING_0006] +program =Calendar + +[SMOKE_APP_RUNNING_0007] +program =Contacts + +[SMOKE_APP_KEYEVENTS_0008] +delay1 =2000 +key1 =EKeyDevice0 +delay2 =1000 +key2 =EKeyDevice0 +delay3 =1000 +key3 =EKeyDevice0 +delay4 =1000 +key4 =EKeyDevice0 + +[SMOKE_APP_LAUNCH_0009] +program =eshell.exe + +[SMOKE_APP_END_0009] +program =ESHELL + +[SMOKE_APP_LAUNCH_0010] +program =mpx.exe + +[SMOKE_APP_END_0010] +program =Music player + +[SMOKE_APP_LAUNCH_0011] +program =Notepad.exe + +[SMOKE_APP_END_0011] +program =Notepad diff -r 6b9970ac90ac -r 29a90d2412a4 email/email/pop/group/bld.inf --- a/email/email/pop/group/bld.inf Fri Sep 10 16:33:25 2010 +0100 +++ b/email/email/pop/group/bld.inf Mon Sep 13 14:19:13 2010 +0100 @@ -31,4 +31,5 @@ #ifndef _COMMON_EMAIL_FILES_ #define _COMMON_EMAIL_FILES_ ../testdata/EmailMessage/20KBody.txt z:/smoketest/EmailMessage/20KBody.txt +../testdata/EmailMessage/20KBody_syborg.txt z:/smoketest/EmailMessage/20KBody_syborg.txt #endif //End of _COMMON_EMAIL_FILES_ diff -r 6b9970ac90ac -r 29a90d2412a4 email/email/pop/testdata/EmailMessage/20KBody_syborg.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/email/email/pop/testdata/EmailMessage/20KBody_syborg.txt Mon Sep 13 14:19:13 2010 +0100 @@ -0,0 +1,76 @@ +From: test908@msexchange2k.closedtest.intra +To: test908@msexchange2k.closedtest.intra +Subject: 20KBody +Date: Wed, 10 Jan 2007 10:30:31 +0530 +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: 8bit +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2800.1807 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 + +Symbian OS - the mobile operating systemSoftware licensing company that +develops and licenses Symbian OS, an open industry standard operating system +for data enabled mobile phones. +www.symbian.com/ - Similar pages +Phones - www.symbian.com/phones/index.html +OS - www.symbian.com/symbianos/index.html +Fast facts - www.symbian.com/about/fastfacts/fastfacts.html +Developer tools & downloads - www.symbian.com/developer/downloads/index.html +More results from www.symbian.com » +Symbian OS - the mobile operating systemSoftware licensing company that +develops and licenses Symbian OS, an open industry standard operating system +for data enabled mobile phones. +www.symbian.com/ - Similar pages +Phones - www.symbian.com/phones/index.html +OS - www.symbian.com/symbianos/index.html +Fast facts - www.symbian.com/about/fastfacts/fastfacts.html +Developer tools & downloads - www.symbian.com/developer/downloads/index.html +More results from www.symbian.com » +Symbian: Developer: homeThe people behind the EPOC operating system. +Symbian's mission is to set the standard for mobile wireless operating +systems and to enable a mass market for ... +www.symbian.com/developer/ - Similar pages + + + +From: test908@msexchange2k.closedtest.intra +To: test908@msexchange2k.closedtest.intra +Subject: 10KBody +Date: Wed, 10 Jan 2007 10:30:31 +0530 +MIME-Version: 1.0 +Content-Type: text/plain; + charset="iso-8859-1" +Content-Transfer-Encoding: 8bit +X-Priority: 3 +X-MSMail-Priority: Normal +X-Mailer: Microsoft Outlook Express 6.00.2800.1807 +X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1896 + +Symbian OS - the mobile operating systemSoftware licensing company that +develops and licenses Symbian OS, an open industry standard operating system +for data enabled mobile phones. +www.symbian.com/ - Similar pages +Phones - www.symbian.com/phones/index.html +OS - www.symbian.com/symbianos/index.html +Fast facts - www.symbian.com/about/fastfacts/fastfacts.html +Developer tools & downloads - www.symbian.com/developer/downloads/index.html +More results from www.symbian.com » +Symbian OS - the mobile operating systemSoftware licensing company that +develops and licenses Symbian OS, an open industry standard operating system +for data enabled mobile phones. +www.symbian.com/ - Similar pages +Phones - www.symbian.com/phones/index.html +OS - www.symbian.com/symbianos/index.html +Fast facts - www.symbian.com/about/fastfacts/fastfacts.html +Developer tools & downloads - www.symbian.com/developer/downloads/index.html +More results from www.symbian.com » +Symbian: Developer: homeThe people behind the EPOC operating system. +Symbian's mission is to set the standard for mobile wireless operating +systems and to enable a mass market for ... +www.symbian.com/developer/ - Similar pages + + + diff -r 6b9970ac90ac -r 29a90d2412a4 uiresources/conf/ui_testsdkskinsu.cfg --- a/uiresources/conf/ui_testsdkskinsu.cfg Fri Sep 10 16:33:25 2010 +0100 +++ b/uiresources/conf/ui_testsdkskinsu.cfg Mon Sep 13 14:19:13 2010 +0100 @@ -123,335 +123,3 @@ sendtobackground [Endtest] -// For test function: -// IMPORT_C static void CreateIconLC( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// CFbsBitmap*& aBitmap, -// const TDesC& aFilename, -// const TInt aFileBitmapId ); -[Test] -title TestUCreateIconLC -create testsdkskins test -bringtoforeground -test TestUCreateIconLC -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TDesC& aFilename, -// const TInt aFileIndex, const TInt aFileMaskIndex ); -[Test] -title TestUCreateMaskedBitmapL -create testsdkskins test -bringtoforeground -test TestUCreateMaskedBitmapL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CGulIcon* CreateGulIconL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TDesC& aFilename, -// const TInt aFileIndex, const TInt aFileMaskIndex ); -[Test] -title TestUCreateGulIconL -create testsdkskins test -bringtoforeground -test TestUCreateGulIconL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void CreateAppIconLC( -// MAknsSkinInstance* aInstance, TUid aAppUid, -// TAknsAppIconType aType, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask ); -[Test] -title TestUCreateAppIconLC -create testsdkskins test -bringtoforeground -test TestUCreateAppIconLC -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C TInt OpenAppIconFile( -// MAknsSkinInstance* aInstance, TUid aAppUid, -// TAknsAppIconType aType, RFile& aFile ); -[Test] -title TestUOpenAppIconFileL -create testsdkskins test -bringtoforeground -test TestUOpenAppIconFileL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void CreateColorIconL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TAknsItemID& aColorID, const TInt aColorIndex, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, -// const TDesC& aFilename, -// const TInt aFileBitmapId, const TInt aFileMaskId, -// const TRgb aDefaultColor ); -[Test] -title TestUCreateColorIconL -create testsdkskins test -bringtoforeground -test TestUCreateColorIconL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void CreateColorIconLC( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TAknsItemID& aColorID, const TInt aColorIndex, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, -// const TDesC& aFilename, -// const TInt aFileBitmapId, const TInt aFileMaskId, -// const TRgb aDefaultColor ); -[Test] -title TestUCreateColorIconLC -create testsdkskins test -bringtoforeground -test TestUCreateColorIconLC -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void CreateColorIconL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TAknsItemID& aColorID, const TInt aColorIndex, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, -// const TDesC& aFilename, -// const TInt aFileBitmapId, const TInt aFileMaskId, -// const TRgb aDefaultColor, -// const TSize& aSize, const TScaleMode aScaleMode ); -[Test] -title TestUCreateColorIconML -create testsdkskins test -bringtoforeground -test TestUCreateColorIconML -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void CreateColorIconLC( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TAknsItemID& aColorID, const TInt aColorIndex, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask, -// const TDesC& aFilename, -// const TInt aFileBitmapId, const TInt aFileMaskId, -// const TRgb aDefaultColor, -// const TSize& aSize, const TScaleMode aScaleMode ); -[Test] -title TestUCreateColorIconMLC -create testsdkskins test -bringtoforeground -test TestUCreateColorIconMLC -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TInt GetAppIcon( -// MAknsSkinInstance* aInstance, TUid aAppUid, TSize aSize, -// CApaMaskedBitmap& aAppBitmap ); -[Test] -title TestUGetAppIconL -create testsdkskins test -bringtoforeground -test TestUGetAppIconL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CFbsBitmap* CreateBitmapL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID ); -[Test] -title TestUCreateBitmapL -create testsdkskins test -bringtoforeground -test TestUCreateBitmapL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CApaMaskedBitmap* CreateMaskedBitmapL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID ); -[Test] -title TestUCreateMaskedBitmapIL -create testsdkskins test -bringtoforeground -test TestUCreateMaskedBitmapIL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CGulIcon* CreateGulIconL( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// const TBool aRequireMask ); -[Test] -title TestUCreateGulIconIL -create testsdkskins test -bringtoforeground -test TestUCreateGulIconIL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static CFbsBitmap* GetCachedBitmap( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID ); -[Test] -title TestUGetCachedBitmapL -create testsdkskins test -bringtoforeground -test TestUGetCachedBitmapL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void GetCachedMaskedBitmap( -// MAknsSkinInstance* aInstance, const TAknsItemID& aID, -// CFbsBitmap*& aBitmap, CFbsBitmap*& aMask ); -[Test] -title TestUGetCachedMaskedBitmapL -create testsdkskins test -bringtoforeground -test TestUGetCachedMaskedBitmapL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TInt GetCachedColor( -// MAknsSkinInstance* aInstance, TRgb& aRgb, const TAknsItemID& aID, -// const TInt aIndex ); -[Test] -title TestUGetCachedColorL -create testsdkskins test -bringtoforeground -test TestUGetCachedColorL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TBool BooleanPropertyL( MAknsSkinInstance* aInstance, -// const TAknsItemID& aID ); -[Test] -title TestUBooleanPropertyL -create testsdkskins test -bringtoforeground -test TestUBooleanPropertyL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void SetAvkonSkinEnabledL( const TBool aEnabled ); -[Test] -title TestUSetAvkonSkinEnabledL -create testsdkskins test -bringtoforeground -test TestUSetAvkonSkinEnabledL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TBool AvkonSkinEnabled(); -[Test] -title TestUAvkonSkinEnabledL -create testsdkskins test -bringtoforeground -test TestUAvkonSkinEnabledL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void SetAvkonHighlightAnimationEnabledL( const TBool aEnabled ); -[Test] -title TestUSetAvkonHighlightAnimationEnabledL -create testsdkskins test -bringtoforeground -test TestUSetAvkonHighlightAnimationEnabledL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TBool AvkonHighlightAnimationEnabled(); -[Test] -title TestUAvkonHighlightAnimationEnabledL -create testsdkskins test -bringtoforeground -test TestUAvkonHighlightAnimationEnabledL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void RegisterControlPosition( -// const CCoeControl* aControl ); -[Test] -title TestURegisterControlPositionL -create testsdkskins test -bringtoforeground -test TestURegisterControlPositionL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void RegisterControlPosition( -// const CCoeControl* aControl, const TPoint& aPoint ); -[Test] -title TestURegisterControlPositionPL -create testsdkskins test -bringtoforeground -test TestURegisterControlPositionPL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static void DeregisterControlPosition( -// const CCoeControl* aControl ); -[Test] -title TestUDeregisterControlPositionL -create testsdkskins test -bringtoforeground -test TestUDeregisterControlPositionL -delete test -sendtobackground -[Endtest] - -// For test function: -// IMPORT_C static TInt GetControlPosition( const CCoeControl* aControl, -// TPoint& aScreenPos ); -[Test] -title TestUGetControlPositionL -create testsdkskins test -bringtoforeground -test TestUGetControlPositionL -delete test -sendtobackground -[Endtest] - diff -r 6b9970ac90ac -r 29a90d2412a4 uiresources/group/Smoketest_UIResources.iby --- a/uiresources/group/Smoketest_UIResources.iby Fri Sep 10 16:33:25 2010 +0100 +++ b/uiresources/group/Smoketest_UIResources.iby Mon Sep 13 14:19:13 2010 +0100 @@ -8,4 +8,5 @@ data=EPOCROOT##epoc32\data\c\smoketest\ui_testsdkskinsu.cfg smoketest\ui_testsdkskinsu.cfg data=EPOCROOT##epoc32\data\c\smoketest\ui_testsdkskinswu.cfg smoketest\ui_testsdkskinswu.cfg data=EPOCROOT##epoc32\data\c\smoketest\wallpaper\symbian_01_320x480.jpg smoketest\wallpaper\symbian_01_320x480.jpg +data=EPOCROOT##epoc32\data\z\smoketest\setup_smoketest_uiresources.script smoketest\setup_smoketest_uiresources.script #endif //SMOKETEST_UIRESOURCES_IBY diff -r 6b9970ac90ac -r 29a90d2412a4 uiresources/group/bld.inf --- a/uiresources/group/bld.inf Fri Sep 10 16:33:25 2010 +0100 +++ b/uiresources/group/bld.inf Mon Sep 13 14:19:13 2010 +0100 @@ -30,6 +30,8 @@ ../conf/smoketest_uiresources.cfg c:/smoketest/smoketest_uiresources.cfg ../conf/ui_testsdkskinsu.cfg c:/smoketest/ui_testsdkskinsu.cfg ../conf/ui_testsdkskinswu.cfg c:/smoketest/ui_testsdkskinswu.cfg +// Temporary fix for limited data transfer on Syborg +../scripts/setup_smoketest_uiresources.script z:/smoketest/setup_smoketest_uiresources.script // Wallpaper image file ../testdata/wallpaper/symbian_01_320x480.jpg c:/smoketest/wallpaper/symbian_01_320x480.jpg diff -r 6b9970ac90ac -r 29a90d2412a4 uiresources/scripts/setup_smoketest_uiresources.script --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uiresources/scripts/setup_smoketest_uiresources.script Mon Sep 13 14:19:13 2010 +0100 @@ -0,0 +1,21 @@ +// +// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// 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: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +RUN_UTILS MkDir c:\smoketest\ +RUN_UTILS MkDir c:\smoketest\wallpaper\ + +RUN_UTILS CopyFile z:\smoketest\wallpaper\symbian_01_320x480.jpg c:\smoketest\wallpaper\symbian_01_320x480.jpg +RUN_UTILS MakeReadWrite c:\smoketest\wallpaper\symbian_01_320x480.jpg