fbs/fontandbitmapserver/tfbs/scripts/fbstest_t_getallbitmapscapability.script
changeset 0 5d03bc08d59c
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 //
       
    15 
       
    16 PRINT Run TGetAllBitmapsCapability Fbserv test 
       
    17 //
       
    18 // Set test server to have only ReadDeviceData (00000010) Capabilitities
       
    19 RUN_PROGRAM -1 setcap TFbsServer.exe 00000010 TFbsServer0010.exe
       
    20 PRINT Run TFbsServer0010 GetAllBitmaps Test 
       
    21 // Run server tests and check we do not get a panic
       
    22 LOAD_SUITE TFbsServer0010
       
    23 RUN_TEST_STEP 100 TFbsServer0010 TGetAllBitmapsCapability
       
    24 
       
    25 // Set test server to have no Capabilitities
       
    26 RUN_PROGRAM -1 setcap TFbsServer.exe 00000000 TFbsServer0000.exe 
       
    27 PRINT Run TFbsServer0000 GetAllBitmaps Test 
       
    28 // Run server tests and check we do get the correct panic
       
    29 LOAD_SUITE TFbsServer0000
       
    30 RUN_TEST_STEP 100 TFbsServer0000 TGetAllBitmapsCapability