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