|
1 /** |
|
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 |
|
20 /** |
|
21 @file |
|
22 @publishedAll |
|
23 @released |
|
24 */ |
|
25 |
|
26 #ifndef __STATEMACHINE_STEP_H__ |
|
27 #define __STATEMACHINE_STEP_H__ |
|
28 |
|
29 #include <test/testexecutestepbase.h> |
|
30 #include "PerformanceFunctionalityBase.h" |
|
31 |
|
32 |
|
33 _LIT(KStateMachineStep,"StateMachineStep"); |
|
34 |
|
35 class CStateMachineStep : public CPerformanceFunctionalityBase |
|
36 { |
|
37 public: |
|
38 CStateMachineStep(); |
|
39 TVerdict doTestStepPostambleL(); |
|
40 virtual TVerdict doTestStepL(); |
|
41 virtual void InitializeL(); |
|
42 virtual void Cleanup(); |
|
43 void PreTestL(); |
|
44 |
|
45 //testing functions |
|
46 private: |
|
47 void OpeningStateRecoverTestsL(); |
|
48 void OpeningStateAsyncOpenTestsL(); |
|
49 void WritableStateTestsL(); |
|
50 void WritableStateSpeedDialTestsL(); |
|
51 void DefaultStateCompressionTestsL(); |
|
52 void DefaultStateRecoveryTestsL(); |
|
53 void AsynchronousIntegrityTestL(); |
|
54 void TablesClosedStateTestsL(); |
|
55 |
|
56 private: |
|
57 CContactOpenOperation* iContactOpenOperation1;//asynchronous open |
|
58 TRequestStatus iStatus1;//status of asynchronous open |
|
59 CContactOpenOperation* iContactOpenOperation2;//asynchronous open 2 |
|
60 TRequestStatus iStatus2;//status of asynchronous open 2 |
|
61 }; |
|
62 |
|
63 #endif |