commsconfig/commsdatabaseshim/TE_commdb/inc/Step_003_xx.h
changeset 72 ae47d0499bee
equal deleted inserted replaced
68:5da8188e392b 72:ae47d0499bee
       
     1 /*
       
     2 * Copyright (c) 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 // This is the header file for CommDb test 003.XX group of scenarios 
       
    18 
       
    19 
       
    20 #if (!defined __STEP_003_XX_H__)
       
    21 #define __STEP_003_XX_H__
       
    22 
       
    23 
       
    24 ////////////////////
       
    25 //	Test step 003.01
       
    26 ////////////////////
       
    27 
       
    28 NONSHARABLE_CLASS(CCommDbTest003_01) : public CTestStepCommDb
       
    29 {
       
    30 public:
       
    31 	CCommDbTest003_01();
       
    32 	~CCommDbTest003_01();
       
    33 
       
    34 	virtual enum TVerdict doTestStepL( void );
       
    35 	TInt executeStepL();
       
    36 	TInt myOpenTableL();
       
    37 	TVerdict doTestStepPreambleL();
       
    38 
       
    39 private:
       
    40 
       
    41 
       
    42 };
       
    43 
       
    44 ////////////////////
       
    45 //	Test step 003.02
       
    46 ////////////////////
       
    47 class CCommsDatabase;
       
    48 
       
    49 NONSHARABLE_CLASS(CCommDbTest003_02) : public CTestStepCommDb
       
    50 {
       
    51 public:
       
    52 	CCommDbTest003_02();
       
    53 	~CCommDbTest003_02();
       
    54 
       
    55 	virtual enum TVerdict doTestStepL( void );
       
    56 	TInt executeStepL();
       
    57 	TVerdict doTestStepPreambleL();
       
    58 
       
    59 private:
       
    60 	TInt myOpenTableL();
       
    61 
       
    62 
       
    63 };
       
    64 
       
    65 ////////////////////
       
    66 //	Test step 003.03
       
    67 ////////////////////
       
    68 
       
    69 NONSHARABLE_CLASS(CCommDbTest003_03) : public CTestStepCommDb
       
    70 {
       
    71 public:
       
    72 	CCommDbTest003_03();
       
    73 	~CCommDbTest003_03();
       
    74 
       
    75 	virtual enum TVerdict doTestStepL( void );
       
    76 	TInt executeStepL();
       
    77 	TVerdict doTestStepPreambleL();
       
    78 
       
    79 private:
       
    80 	TInt myOpenTableL();
       
    81 
       
    82 
       
    83 };
       
    84 
       
    85 ////////////////////
       
    86 //	Test step 003.04
       
    87 ////////////////////
       
    88 
       
    89 NONSHARABLE_CLASS(CCommDbTest003_04) : public CTestStepCommDb
       
    90 {
       
    91 public:
       
    92 	CCommDbTest003_04();
       
    93 	~CCommDbTest003_04();
       
    94 
       
    95 	virtual enum TVerdict doTestStepL( void );
       
    96 	TVerdict doTestStepPreambleL();
       
    97 	TInt executeStepL();
       
    98 
       
    99 private:
       
   100 	TInt myOpenTableL();
       
   101 
       
   102 
       
   103 };
       
   104 
       
   105 ////////////////////
       
   106 //	Test step 003.05
       
   107 ////////////////////
       
   108 
       
   109 NONSHARABLE_CLASS(CCommDbTest003_05) : public CTestStepCommDb
       
   110 {
       
   111 public:
       
   112 	CCommDbTest003_05();
       
   113 	~CCommDbTest003_05();
       
   114 
       
   115 	virtual enum TVerdict doTestStepL( void );
       
   116 	TInt executeStepL();
       
   117 	TVerdict doTestStepPreambleL();
       
   118 
       
   119 private:
       
   120 	TInt myOpenTableL();
       
   121 	TBool iLocalObjects; //Flag set when objects of this class have created iTheDb and iTheView
       
   122 
       
   123 };
       
   124 
       
   125 ////////////////////
       
   126 //	Test step 003.06
       
   127 ////////////////////
       
   128 
       
   129 NONSHARABLE_CLASS(CCommDbTest003_06) : public CTestStepCommDb
       
   130 {
       
   131 public:
       
   132 	CCommDbTest003_06();
       
   133 	~CCommDbTest003_06();
       
   134 
       
   135 	virtual enum TVerdict doTestStepL( void );
       
   136 	TInt executeStepL();
       
   137 	TVerdict doTestStepPreambleL();
       
   138 
       
   139 private:
       
   140 	TInt myOpenTableL();
       
   141 	TBool iLocalObjects; //Flag set when objects of this class have created iTheDb and iTheView
       
   142 
       
   143 };
       
   144 
       
   145 ////////////////////
       
   146 //	Test step 003.07
       
   147 ////////////////////
       
   148 
       
   149 NONSHARABLE_CLASS(CCommDbTest003_07) : public CTestStepCommDb
       
   150 {
       
   151 public:
       
   152 	CCommDbTest003_07();
       
   153 	~CCommDbTest003_07();
       
   154 
       
   155 	virtual enum TVerdict doTestStepL( void );
       
   156 
       
   157 private:
       
   158 	TBool iLocalObjects; //Flag set when objects of this class have created iTheDb and iTheView
       
   159 
       
   160 };
       
   161 
       
   162 ////////////////////
       
   163 //	Test step 003.08
       
   164 ////////////////////
       
   165 
       
   166 NONSHARABLE_CLASS(CCommDbTest003_08) : public CTestStepCommDb
       
   167 {
       
   168 public:
       
   169 	CCommDbTest003_08();
       
   170 	~CCommDbTest003_08();
       
   171 
       
   172 	virtual enum TVerdict doTestStepL( void );
       
   173 
       
   174 private:
       
   175 	TBool iLocalObjects; //Flag set when objects of this class have created iTheDb and iTheView
       
   176 
       
   177 };
       
   178 
       
   179 
       
   180 #endif //(__STEP_003_XX_H__)