// Copyright (c) 2007-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 BitBlt directgdi general test
//
RUN_UTILS MkDir c:\directgditest\
RUN_UTILS copyFile z:\directgditest\tdirectgdi.ini c:\directgditest\tdirectgdi.ini
RUN_UTILS MakeReadWrite c:\directgditest\tdirectgdi.ini
RUN_UTILS MkDir c:\img\
RUN_UTILS MkDir c:\img\ref\
RUN_UTILS MkDir c:\img\test\
LOAD_SUITE tdirectgdi_server
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIDriver c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIContext c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 4000 tdirectgdi_server TDirectGDIBitBlt c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 4000 tdirectgdi_server TDirectGDIBitBltMasked c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIDrawBitmap c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 6000 tdirectgdi_server TDirectGDIDrawBitmapMasked c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIGeneralDrawing c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIClear c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIDrawShape c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIBrushAndPen c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIDrawText c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIClipping c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDICopyRect c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGdiContextTarget c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TMultiThread c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIVgImageCache c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIResource c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIGlyphImageCache c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 1000 tdirectgdi_server TDirectGDIOOM c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 600 tdirectgdi_server TDirectGDIInterleaving c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 60 tdirectgdi_server TDirectGDIExtendedBitmap c:\directgditest\tdirectgdi.ini DirectgdiTestInput
CONCURRENT
RUN_TEST_STEP 4000 tdirectgdi_server TDirectGDIBitBlt c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 4000 tdirectgdi_server TDirectGDIDrawShape c:\directgditest\tdirectgdi.ini DirectgdiTestInput
RUN_TEST_STEP 4000 tdirectgdi_server TDirectGDIDrawText c:\directgditest\tdirectgdi.ini DirectgdiTestInput
CONSECUTIVE
RUN_TEST_STEP !PanicCode=7 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestContextNotActivated
RUN_TEST_STEP !PanicCode=11 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestFontNotSet
RUN_TEST_STEP !PanicCode=21 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestInvalidTarget
RUN_TEST_STEP !PanicCode=32 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestImageInvalidTargetHandle
RUN_TEST_STEP !PanicCode=17 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestImageTargetActivatedTwice
RUN_TEST_STEP !PanicCode=19 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestImageSourceActivatedTwice
RUN_TEST_STEP !PanicCode=19 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestDrawableSourceActivatedTwice
RUN_TEST_STEP !PanicCode=9 1000 tdirectgdi_server TDirectGDIPanicTests c:\directgditest\tdirectgdi.ini TestBrushPatternNotSet