|
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 /** |
|
17 @file |
|
18 @test |
|
19 @internalComponent - Internal Symbian test code |
|
20 */ |
|
21 |
|
22 |
|
23 #if (!defined __T_CAPTION_STEP_H__) |
|
24 #define __T_CAPTION_STEP_H__ |
|
25 |
|
26 |
|
27 #include <s32file.h> |
|
28 #include <apgnotif.h> |
|
29 #include "apparctestserver.h" |
|
30 #include "testableapalssession.h" |
|
31 |
|
32 |
|
33 // |
|
34 // |
|
35 // CT_CaptionStep definition |
|
36 // |
|
37 // |
|
38 |
|
39 |
|
40 class CT_CaptionStep :public CTestStep |
|
41 { |
|
42 public: |
|
43 CT_CaptionStep(); |
|
44 ~CT_CaptionStep(); |
|
45 virtual TVerdict doTestStepL(); |
|
46 private: |
|
47 void DoLanguageTestL(); |
|
48 void DoShortCaptionTestL(); |
|
49 void ChangeLocaleL(TLanguage aLanguage); |
|
50 void DoIconCaptionOverridesTestL(); |
|
51 private: |
|
52 void TestTApaAppInfoStreamsL(); |
|
53 void TestTApaAppInfoL(); |
|
54 void TestCApaDoorL(); |
|
55 void TestCApaSystemControlListL(); |
|
56 void TestIconCaptionOverridesL(); |
|
57 void TestApiPrecedenceOverCenRepConfigInfoL(); |
|
58 void TestCenRepChangeNotificationL(); |
|
59 void TestIconCaptionOverridesWithChangeLangL(); |
|
60 void TestIconCaptionOverridesMemoryLeaksL(); |
|
61 private: |
|
62 RFs iFs; |
|
63 RTestableApaLsSession iLs; |
|
64 }; |
|
65 |
|
66 _LIT(KT_CaptionStep,"T_Caption"); |
|
67 |
|
68 #endif |