|
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 __UTRACE_STEP_H__) |
|
25 #define __UTRACE_STEP_H__ |
|
26 #include <TestExecuteStepBase.h> |
|
27 #include "tcoredumpserversuitestepbase.h" |
|
28 #include "tcoredumpcommon.h" |
|
29 |
|
30 class CUTraceStep : public CTe_coredumpserverSuiteStepBase |
|
31 { |
|
32 public: |
|
33 CUTraceStep(); |
|
34 ~CUTraceStep(); |
|
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 RCoreDumpSession iSess; |
|
43 RFs iFs; |
|
44 |
|
45 void ClientAppL(); |
|
46 void HandleCrashL(const TDesC& aFileName); |
|
47 void LoadUTraceFormatterL(); |
|
48 void LoadFileWriterL(); |
|
49 void DoConfigureL( const TUint32& aIndex, const TUint32& aUID, |
|
50 const COptionConfig::TParameterSource& aSource, |
|
51 const COptionConfig::TOptionType& aType, const TDesC& aPrompt, |
|
52 const TUint32& aNumOptions, const TDesC& aOptions, |
|
53 const TInt32& aVal, const TDesC& aStrValue, const TUint aInstance); |
|
54 |
|
55 void MonitorProgressL(); |
|
56 void TestTraceDataL(); |
|
57 void VerifyTraceDataL(const TDesC& aFullFilename); |
|
58 |
|
59 }; |
|
60 |
|
61 _LIT(KUTraceUserSide, "UTraceUserSide"); |
|
62 |
|
63 #endif |