|
1 // |
|
2 // |
|
3 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
4 // All rights reserved. |
|
5 // This component and the accompanying materials are made available |
|
6 // under the terms of "Eclipse Public License v1.0" |
|
7 // which accompanies this distribution, and is available |
|
8 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
9 // |
|
10 // Initial Contributors: |
|
11 // Nokia Corporation - initial contribution. |
|
12 // |
|
13 // Contributors: |
|
14 // |
|
15 // Description: |
|
16 // |
|
17 // |
|
18 // |
|
19 |
|
20 /** |
|
21 @file |
|
22 @internalComponent |
|
23 |
|
24 Interface for CDMA2000 CommDB settings test. |
|
25 */ |
|
26 |
|
27 #ifndef __CDMA2000SETTINGSSTEP_H__ |
|
28 #define __CDMA2000SETTINGSSTEP_H__ |
|
29 |
|
30 #include "te_cdmacommdbsettingssvr.h" |
|
31 |
|
32 #include <testexecutestepbase.h> |
|
33 #include <commdb.h> |
|
34 |
|
35 namespace te_Cdma2000CommDbSettings |
|
36 { |
|
37 /** |
|
38 Defines CDMA2000 CommDB settings test. |
|
39 |
|
40 @internalComponent |
|
41 @test |
|
42 */ |
|
43 class CCdma2000SettingsTestStep: public CTestStep |
|
44 { |
|
45 public: |
|
46 CCdma2000SettingsTestStep(); |
|
47 ~CCdma2000SettingsTestStep(); |
|
48 TVerdict doTestStepL(); |
|
49 |
|
50 private: |
|
51 void CloseCommDbTable(); |
|
52 void OpenCommDbTableL(const TPtrC& aTableName); |
|
53 TBool CheckTableTBool(const TPtrC aCommDbTableCols[]); |
|
54 TBool CheckTableTUint32(const TPtrC aCommDbTableCols[]); |
|
55 TBool CheckTableText(const TPtrC aCommDbTableCols[]); |
|
56 void DoTestSequenceL(); |
|
57 |
|
58 /** CommDB */ |
|
59 CCommsDatabase* iCommDb; |
|
60 |
|
61 /** A view on CommDB used to access columns */ |
|
62 CCommsDbTableView* iCommDbView; |
|
63 }; |
|
64 |
|
65 _LIT(KCdma2000SettingsStep, "CCdma2000SettingsStep"); |
|
66 } |
|
67 |
|
68 |
|
69 #endif // __CDMA2000SETTINGSSTEP_H__ |