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