|
1 /** |
|
2 * Copyright (c) 2007-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_test_syscfgstep.h |
|
22 @internalTechnology |
|
23 */ |
|
24 #ifndef TE_SYSCFG_TESTSTEP_H |
|
25 #define TE_SYSCFG_TESTSTEP_H |
|
26 |
|
27 #include <testexecutestepbase.h> |
|
28 #include <e32base.h> // cbase |
|
29 #include <e32test.h> |
|
30 #include <f32file.h> // rfs, rfile |
|
31 #include "outputframework.h" // coutputframework |
|
32 #include "uloggersysconfig.h" // cconfig, cconfigsettingsiter |
|
33 |
|
34 _LIT(KConfigFilePath,"c:\\private\\10273881\\uloggerconfig.ini"); |
|
35 _LIT8(KActiveChannelSection,"ACTIVE_OUTPUT_PLUGIN"); |
|
36 _LIT8(KPrimaryFilterSection,"PRIMARY_FILTERS"); |
|
37 _LIT8(KSecondaryFilterSection,"SECONDARY_FILTERS"); |
|
38 _LIT8(KActiveControlSection,"ACTIVE_CONTROL_CHANNEL"); |
|
39 |
|
40 //Test Sysconfig of Ulogger |
|
41 class CTestSysCfgStep : public CTestStep |
|
42 { |
|
43 public: |
|
44 virtual TVerdict doTestStepPreambleL(); |
|
45 virtual TVerdict doTestStepPostambleL(); |
|
46 virtual TVerdict doTestStepL()=0; |
|
47 |
|
48 public: |
|
49 Ulogger::CConfig *iConfig; |
|
50 |
|
51 }; |
|
52 |
|
53 |
|
54 class CSysCfgTest1: public CTestSysCfgStep |
|
55 { |
|
56 public: |
|
57 virtual TVerdict doTestStepL(); |
|
58 }; |
|
59 |
|
60 |
|
61 class CSysCfgTest2: public CTestSysCfgStep |
|
62 { |
|
63 public: |
|
64 virtual TVerdict doTestStepL(); |
|
65 }; |
|
66 |
|
67 |
|
68 class CSysCfgTest3: public CTestSysCfgStep |
|
69 { |
|
70 public: |
|
71 virtual TVerdict doTestStepL(); |
|
72 }; |
|
73 |
|
74 |
|
75 class CSysCfgTest4: public CTestSysCfgStep |
|
76 { |
|
77 public: |
|
78 virtual TVerdict doTestStepL(); |
|
79 }; |
|
80 |
|
81 |
|
82 |
|
83 _LIT(KSysCfgTeststep1,"SysCfgTeststep1"); |
|
84 _LIT(KSysCfgTeststep2,"SysCfgTeststep2"); |
|
85 _LIT(KSysCfgTeststep3,"SysCfgTeststep3"); |
|
86 _LIT(KSysCfgTeststep4,"SysCfgTeststep4"); |
|
87 |
|
88 #endif |