fbs/fontandbitmapserver/tfbs/scripts/fbstest_t_getallbitmapscapability.script
author Faisal Memon <faisal.memon@nokia.com>
Thu, 06 May 2010 15:42:13 +0100
branchNewGraphicsArchitecture
changeset 50 0af17dab16c3
parent 0 5d03bc08d59c
permissions -rw-r--r--
Apply patch 4. Fix the stub generator to insert proper license text in autogenerated output. I left out the result of running this script due to a comment earlier to say there was a problem with the def files in my original patch.

// Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

PRINT Run TGetAllBitmapsCapability Fbserv test 
//
// Set test server to have only ReadDeviceData (00000010) Capabilitities
RUN_PROGRAM -1 setcap TFbsServer.exe 00000010 TFbsServer0010.exe
PRINT Run TFbsServer0010 GetAllBitmaps Test 
// Run server tests and check we do not get a panic
LOAD_SUITE TFbsServer0010
RUN_TEST_STEP 100 TFbsServer0010 TGetAllBitmapsCapability

// Set test server to have no Capabilitities
RUN_PROGRAM -1 setcap TFbsServer.exe 00000000 TFbsServer0000.exe 
PRINT Run TFbsServer0000 GetAllBitmaps Test 
// Run server tests and check we do get the correct panic
LOAD_SUITE TFbsServer0000
RUN_TEST_STEP 100 TFbsServer0000 TGetAllBitmapsCapability