|
1 /** |
|
2 * Copyright (c) 2002-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 DEXECStep.h |
|
22 @internalTechnology |
|
23 */ |
|
24 #if (!defined __DEXEC_STEP_H__) |
|
25 #define __DEXEC_STEP_H__ |
|
26 #include <TestExecuteStepBase.h> |
|
27 #include "tcoredumpserversuitestepbase.h" |
|
28 #include "tcoredumpcommon.h" |
|
29 |
|
30 class CDEXECUserSideStep : public CTe_coredumpserverSuiteStepBase |
|
31 { |
|
32 public: |
|
33 CDEXECUserSideStep(); |
|
34 ~CDEXECUserSideStep(); |
|
35 virtual TVerdict doTestStepPreambleL(); |
|
36 virtual TVerdict doTestStepL(); |
|
37 virtual TVerdict doTestStepPostambleL(); |
|
38 |
|
39 // Please add/modify your class members here: |
|
40 private: |
|
41 |
|
42 |
|
43 RCoreDumpSession iSess; |
|
44 RFs iFs; |
|
45 |
|
46 void ClientAppL(); |
|
47 |
|
48 //Tests |
|
49 void HandleCrashL(); |
|
50 |
|
51 |
|
52 //Utility functions |
|
53 void LoadDEXECFormatterL(); |
|
54 void LoadFileWriterL(); |
|
55 void BindPluginsL(const TInt aCount); |
|
56 |
|
57 void MonitorProgressL(); |
|
58 void DoConfigureL( const TUint32& aIndex, |
|
59 const TUint32& aUID, |
|
60 const COptionConfig::TParameterSource& aSource, |
|
61 const COptionConfig::TOptionType& aType, |
|
62 const TDesC& aPrompt, |
|
63 const TUint32& aNumOptions, |
|
64 const TDesC& aOptions, |
|
65 const TInt32& aVal, |
|
66 const TDesC& aStrValue, |
|
67 const TUint aInstance ); |
|
68 |
|
69 void CheckParametersL(); |
|
70 }; |
|
71 |
|
72 _LIT(KDEXECUserSideStep,"DEXECUserSideStep"); |
|
73 |
|
74 #endif |