os/graphics/fbs/fontandbitmapserver/tfbs/scripts/fbstest_T_All.script
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 RUN_TEST_STEP 100 TFbsServer TFontTableAndGlyphOutline
    32 
    33 // ShutDown test must NOT have the ECapabilityPowerMgmt capability.
    34 // Set test server to have All -TCB -PowerMgmt (FFFA)
    35 RUN_PROGRAM -1 setcap TFbsServer.exe 0000FFFA TFbsServerFFFA.exe
    36 LOAD_SUITE TFbsServerFFFA 
    37 RUN_TEST_STEP 100 TFbsServerFFFA TIPCTest z:\fbstest\ipctest_config.ini ShutDown
    38 // All other tests have no capability requirements
    39 LOAD_SUITE TFbsServer
    40 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips1
    41 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInTwips2
    42 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels1
    43 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontHeightInPixels2
    44 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile1
    45 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini AddFontStoreFile2
    46 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile1
    47 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini InstallFontStoreFile2
    48 RUN_TEST_STEP 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini RemoveFontStoreFile
    49 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini BitmapCreate
    50 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini Rasterize
    51 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FaceAttrib
    52 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini HasCharacter
    53 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini FontNameAlias
    54 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInTwips
    55 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInTwips
    56 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToDesignHeightInPixels
    57 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetNearestFontToMaxHeightInPixels
    58 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeText
    59 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ShapeDelete
    60 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini SetTwipsHeight
    61 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetTwipsHeight
    62 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetFontTableWrongMsg
    63 RUN_TEST_STEP !PanicCode=-6 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ReleaseFontTableWrongMsg
    64 RUN_TEST_STEP !PanicCode=-38 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini GetGlyphOutlineWrongMsg
    65 RUN_TEST_STEP !PanicCode=-38 100 TFbsServer TIPCTest z:\fbstest\ipctest_config.ini ReleaseGlyphOutlineWrongMsg
    66 
    67 // Set test server to have only ReadDeviceData (00000010) Capabilitities
    68 RUN_PROGRAM -1 setcap TFbsServer.exe 00000010 TFbsServer0010.exe
    69 PRINT Run TFbsServer0010 GetAllBitmaps Test 
    70 // Run server tests and check we do not get a panic
    71 LOAD_SUITE TFbsServer0010
    72 RUN_TEST_STEP 100 TFbsServer0010 TGetAllBitmapsCapability
    73 // Set test server to have no Capabilitities
    74 RUN_PROGRAM -1 setcap TFbsServer.exe 00000000 TFbsServer0000.exe 
    75 PRINT Run TFbsServer0000 GetAllBitmaps Test 
    76 // Run server tests and check we do get the correct panic
    77 LOAD_SUITE TFbsServer0000
    78 RUN_TEST_STEP !PanicCode=47 !PanicString="E32USER-CBase" 100 TFbsServer0000 TGetAllBitmapsCapability