equal
deleted
inserted
replaced
|
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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef TSGDRAWABLEGENERIC_H |
|
17 #define TSGDRAWABLEGENERIC_H |
|
18 |
|
19 #include "tgraphicsresourceteststepbase.h" |
|
20 |
|
21 class CTSgDrawableGeneric : public CTSgTestStepBase |
|
22 { |
|
23 public: |
|
24 CTSgDrawableGeneric(); |
|
25 ~CTSgDrawableGeneric(); |
|
26 private: |
|
27 // From CTestStep |
|
28 virtual TVerdict doTestStepL(); |
|
29 |
|
30 //positive tests |
|
31 void TestOpenImageAsDrawableL(); |
|
32 void TestGetDrawableDrawableIdL(); |
|
33 //negative tests |
|
34 void TestOpenDrawableInvalidL(); |
|
35 void TestCloseDrawableWithoutOpenL(); |
|
36 //out of memory tests |
|
37 void DoMemoryTestsL(); |
|
38 |
|
39 //panic tests |
|
40 void TestPanicDrawableOpenNoDriverL(); |
|
41 }; |
|
42 |
|
43 _LIT(KTSgDrawableGeneric,"TSgDrawableGeneric"); |
|
44 |
|
45 #endif /*TSGDRAWABLEGENERIC_H*/ |