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