Update contrib.
1 // Copyright (c) 2007-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
19 @internalComponent - Internal Symbian test code
22 #ifndef TPANICTESTS_H_
23 #define TPANICTESTS_H_
25 #include "tdirectgdi_test_step_base.h"
29 This class contains all the panic tests. It reads the test case number from the ini file. Even when a panic is
30 encountered, it does not quit the test framework. It carries on with other test cases.
32 class CTPanicTests : public CTDirectGdiStepBase
39 void TestContextNotActivatedL();
40 void TestFontNotSetL();
41 void TestInvalidTargetL();
42 void TestImageInvalidTargetHandleL();
43 void TestImageTargetActivatedTwiceL();
44 void TestImageSourceActivatedTwiceL();
45 void TestDrawableSourceActivatedTwiceL();
46 void TestBrushPatternNotSetL();
49 virtual TVerdict doTestStepPreambleL();
50 virtual TVerdict doTestStepL();
51 // from CTDirectGdiStepBase
55 _LIT(KTDirectGdiPanicTestsStep,"TDirectGDIPanicTests");
56 _LIT(KCaseNumber, "CaseNumber");
58 #endif /*TPANICTESTS_H_*/