fbs/fontandbitmapserver/tfbs/scripts/fbstest_T_All.script
changeset 0 5d03bc08d59c
child 19 bbf46f59e123
equal deleted inserted replaced
-1:000000000000 0:5d03bc08d59c
       
     1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // FBSTEST_T_ALLOC.SCRIPT
       
    15 // 
       
    16 //
       
    17 
       
    18 PRINT Run All Fbserv tests
       
    19 LOAD_SUITE TFbsServer
       
    20 
       
    21 RUN_TEST_STEP 100 TFbsServer TAlloc z:\fbstest\fbstest_t_alloc.ini FbsHeapMark
       
    22 RUN_TEST_STEP 400 TFbsServer TBitmap
       
    23 RUN_TEST_STEP 300 TFbsServer TFbs
       
    24 RUN_TEST_STEP 300 TFbsServer TCompressed
       
    25 RUN_TEST_STEP 100 TFbsServer TRalc
       
    26 RUN_TEST_STEP 1000 TFbsServer TFbsDefect
       
    27 RUN_TEST_STEP 100 TFbsServer TStreamIdCache
       
    28 RUN_TEST_STEP 100 TFbsServer TFbsSecure 
       
    29 RUN_TEST_STEP 100 TFbsServer TFile
       
    30 RUN_TEST_STEP 100 TFbsServer TClean
       
    31 
       
    32 // ShutDown test must NOT have the ECapabilityPowerMgmt capability.
       
    33 // Set test server to have All -TCB -PowerMgmt (FFFA)
       
    34 RUN_PROGRAM -1 setcap TFbsServer.exe 0000FFFA TFbsServerFFFA.exe
       
    35 LOAD_SUITE TFbsServerFFFA 
       
    36 RUN_TEST_STEP 100 TFbsServerFFFA TIPCTest z:\fbstest\ipctest_config.ini ShutDown
       
    37 // All other tests have no capability requirements
       
    38 LOAD_SUITE TFbsServer
       
    39 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips1
       
    40 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips2
       
    41 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels1
       
    42 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels2
       
    43 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile1
       
    44 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile2
       
    45 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile1
       
    46 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile2
       
    47 RUN_TEST_STEP 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini RemoveFontStoreFile
       
    48 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini BitmapCreate
       
    49 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini Rasterize
       
    50 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FaceAttrib
       
    51 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini HasCharacter
       
    52 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontNameAlias
       
    53 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInTwips
       
    54 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInTwips
       
    55 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInPixels
       
    56 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInPixels
       
    57 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeText
       
    58 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeDelete
       
    59 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini SetTwipsHeight
       
    60 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetTwipsHeight
       
    61 
       
    62 // Set test server to have only ReadDeviceData (00000010) Capabilitities
       
    63 RUN_PROGRAM -1 setcap TFbsServer.exe 00000010 TFbsServer0010.exe
       
    64 PRINT Run TFbsServer0010 GetAllBitmaps Test 
       
    65 // Run server tests and check we do not get a panic
       
    66 LOAD_SUITE TFbsServer0010
       
    67 RUN_TEST_STEP 100 TFbsServer0010 TGetAllBitmapsCapability
       
    68 // Set test server to have no Capabilitities
       
    69 RUN_PROGRAM -1 setcap TFbsServer.exe 00000000 TFbsServer0000.exe 
       
    70 PRINT Run TFbsServer0000 GetAllBitmaps Test 
       
    71 // Run server tests and check we do get the correct panic
       
    72 LOAD_SUITE TFbsServer0000
       
    73 RUN_TEST_STEP !PanicCode=47 !PanicString="E32USER-CBase" 100 TFbsServer0000 TGetAllBitmapsCapability