equal
deleted
inserted
replaced
|
1 // Copyright (c) 2005-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 @internalComponent - Internal Symbian test code |
|
19 */ |
|
20 |
|
21 #if (!defined __T_MRU_STEP_H__) |
|
22 #define __T_MRU_STEP_H__ |
|
23 |
|
24 #include "apparctestserver.h" |
|
25 |
|
26 //! A CT_MruStep test class. |
|
27 |
|
28 /** Tests MRU list. */ |
|
29 |
|
30 class CT_MruStep : public CTestStep |
|
31 { |
|
32 public: |
|
33 CT_MruStep(); |
|
34 ~CT_MruStep(); |
|
35 virtual TVerdict doTestStepPreambleL(); |
|
36 virtual TVerdict doTestStepPostambleL(); |
|
37 virtual TVerdict doTestStepL(); |
|
38 void TestMRUL(); |
|
39 //private: |
|
40 void DoTestsInScheldulerLoopL(); |
|
41 |
|
42 void setup(); |
|
43 private: |
|
44 RFs iFs; |
|
45 }; |
|
46 |
|
47 |
|
48 |
|
49 class CT_MruTestCallBackWrapper : public CBase |
|
50 { |
|
51 public: |
|
52 CT_MruTestCallBackWrapper(CT_MruStep* aTestStep); |
|
53 ~CT_MruTestCallBackWrapper(); |
|
54 static TInt CallBack(TAny* aThis); |
|
55 private: |
|
56 CT_MruStep* iTestStep; |
|
57 }; |
|
58 |
|
59 _LIT(KT_MruStep,"T_Mru"); |
|
60 |
|
61 #endif |
|
62 |