sl@0: // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // FBSTEST_T_ALLOC.SCRIPT sl@0: // sl@0: // sl@0: sl@0: PRINT Run All Fbserv tests sl@0: LOAD_SUITE TFbsServer sl@0: sl@0: RUN_TEST_STEP 100 TFbsServer TAlloc z:\fbstest\fbstest_t_alloc.ini FbsHeapMark sl@0: RUN_TEST_STEP 400 TFbsServer TBitmap sl@0: RUN_TEST_STEP 300 TFbsServer TFbs sl@0: RUN_TEST_STEP 300 TFbsServer TCompressed sl@0: RUN_TEST_STEP 100 TFbsServer TRalc sl@0: RUN_TEST_STEP 1000 TFbsServer TFbsDefect sl@0: RUN_TEST_STEP 100 TFbsServer TStreamIdCache sl@0: RUN_TEST_STEP 100 TFbsServer TFbsSecure sl@0: RUN_TEST_STEP 100 TFbsServer TFile sl@0: RUN_TEST_STEP 100 TFbsServer TClean sl@0: RUN_TEST_STEP 100 TFbsServer TFontTableAndGlyphOutline sl@0: sl@0: // ShutDown test must NOT have the ECapabilityPowerMgmt capability. sl@0: // Set test server to have All -TCB -PowerMgmt (FFFA) sl@0: RUN_PROGRAM -1 setcap TFbsServer.exe 0000FFFA TFbsServerFFFA.exe sl@0: LOAD_SUITE TFbsServerFFFA sl@0: RUN_TEST_STEP 100 TFbsServerFFFA TIPCTest z:\fbstest\ipctest_config.ini ShutDown sl@0: // All other tests have no capability requirements sl@0: LOAD_SUITE TFbsServer sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips1 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips2 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels1 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels2 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile1 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile2 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile1 sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile2 sl@0: RUN_TEST_STEP 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini RemoveFontStoreFile sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini BitmapCreate sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini Rasterize sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FaceAttrib sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini HasCharacter sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontNameAlias sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInTwips sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInTwips sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInPixels sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInPixels sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeText sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeDelete sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini SetTwipsHeight sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetTwipsHeight sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetFontTableWrongMsg sl@0: RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ReleaseFontTableWrongMsg sl@0: RUN_TEST_STEP !PanicCode=-38 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetGlyphOutlineWrongMsg sl@0: RUN_TEST_STEP !PanicCode=-38 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ReleaseGlyphOutlineWrongMsg sl@0: sl@0: // Set test server to have only ReadDeviceData (00000010) Capabilitities sl@0: RUN_PROGRAM -1 setcap TFbsServer.exe 00000010 TFbsServer0010.exe sl@0: PRINT Run TFbsServer0010 GetAllBitmaps Test sl@0: // Run server tests and check we do not get a panic sl@0: LOAD_SUITE TFbsServer0010 sl@0: RUN_TEST_STEP 100 TFbsServer0010 TGetAllBitmapsCapability sl@0: // Set test server to have no Capabilitities sl@0: RUN_PROGRAM -1 setcap TFbsServer.exe 00000000 TFbsServer0000.exe sl@0: PRINT Run TFbsServer0000 GetAllBitmaps Test sl@0: // Run server tests and check we do get the correct panic sl@0: LOAD_SUITE TFbsServer0000 sl@0: RUN_TEST_STEP !PanicCode=47 !PanicString="E32USER-CBase" 100 TFbsServer0000 TGetAllBitmapsCapability