|
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 Te_Outfrwk_TestStep.h |
|
22 */ |
|
23 #ifndef T_OUTFRWK_TESTSTEP_H |
|
24 #define T_OUTFRWK_TESTSTEP_H |
|
25 |
|
26 #include <testexecutestepbase.h> |
|
27 #include <e32base.h> // CBase |
|
28 #include <e32test.h> |
|
29 #include <f32file.h> // RFs, RFile |
|
30 #include "outputframework.h" // COutputFramework |
|
31 #include "uloggersysconfig.h" // CConfig, CConfigSettingsIter |
|
32 #include <uloggeroutputplugin.h> |
|
33 using namespace Ulogger; |
|
34 |
|
35 const TBool addTimeStamp = ETrue; |
|
36 |
|
37 //Test Outputframework of ulogger |
|
38 class CUloggerOutfrwkTest: public CTestStep |
|
39 { |
|
40 public: |
|
41 virtual ~CUloggerOutfrwkTest(); |
|
42 virtual TVerdict doTestStepPreambleL(); |
|
43 virtual TVerdict doTestStepPostambleL(); |
|
44 virtual TVerdict doTestStepL()=0; |
|
45 public: |
|
46 Ulogger::COutputFramework* iOutfrwk; |
|
47 CPlugin *iPlugin; |
|
48 }; |
|
49 |
|
50 |
|
51 |
|
52 class CTextMessageTest: public CUloggerOutfrwkTest |
|
53 { |
|
54 public: |
|
55 virtual TVerdict doTestStepL(); |
|
56 }; |
|
57 |
|
58 |
|
59 _LIT(KTextMessageTeststep,"TextMessageTeststep"); |
|
60 |
|
61 #endif |