commsfwtools/preparedefaultcommsdatabase/te_commsdat/src/commsdatExtensionTests.h
changeset 0 dfb7c4ff071f
equal deleted inserted replaced
-1:000000000000 0:dfb7c4ff071f
       
     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 commsdatExtensionTests.h
       
    22 */
       
    23 #if (!defined __COMMSDATCODEBASE_TESTS_H__)
       
    24 #define __COMMSDATCODEBASE_TESTS_H__
       
    25 #include <e32base.h>
       
    26 #include <test/testexecutestepbase.h>
       
    27 #include "Te_commsdatSuiteStepBase.h"
       
    28 #include <metadatabase.h>
       
    29 #include <commsdat.h>
       
    30 #include <commsdatutils.h>
       
    31 #include <commsdattypesv1_1.h>
       
    32 #include "commsdatValidationTests.h"
       
    33 #include <commsdattypeinfov1_1.h>
       
    34 #include "commsdatGenericRecordTests.h"
       
    35 
       
    36 using namespace CommsDat;
       
    37 using namespace Meta;
       
    38 using namespace CommsDatUtils;
       
    39 
       
    40 const TInt KLocationRecordId = 41;
       
    41 const TInt KChargecardRecordId = 0;
       
    42 
       
    43 
       
    44 _LIT(KCommsdat201Step,"commsdat201Step");
       
    45 class CCommsdat201Step : public CTe_commsdatSuiteStepBase
       
    46 	{
       
    47 public:
       
    48 	CCommsdat201Step();
       
    49 	~CCommsdat201Step(){}
       
    50 	virtual TVerdict doTestStepL();
       
    51 private:
       
    52     CMDBSession* iCDSession;
       
    53 	};	
       
    54 
       
    55 _LIT(KCommsdat202Step,"commsdat202Step");
       
    56 class CCommsdat202Step : public CTe_commsdatSuiteStepBase
       
    57 	{
       
    58 public:
       
    59 	CCommsdat202Step();
       
    60 	~CCommsdat202Step(){}
       
    61 	virtual TVerdict doTestStepL();
       
    62 private:
       
    63     CMDBSession* iCDSession;
       
    64 	};	
       
    65 
       
    66 _LIT(KCommsdat203Step,"commsdat203Step");
       
    67 class CCommsdat203Step : public CTe_commsdatSuiteStepBase
       
    68 	{
       
    69 public:
       
    70 	CCommsdat203Step();
       
    71 	~CCommsdat203Step(){}
       
    72 	virtual TVerdict doTestStepL();
       
    73 private:
       
    74     CMDBSession* iCDSession;
       
    75 	};	
       
    76 
       
    77 _LIT(KCommsdat204Step,"commsdat204Step");
       
    78 class CCommsdat204Step : public CTe_commsdatSuiteStepBase
       
    79 	{
       
    80 public:
       
    81 	CCommsdat204Step();
       
    82 	~CCommsdat204Step(){}		
       
    83 	virtual TVerdict doTestStepL();
       
    84 private:
       
    85     CMDBSession* iCDSession;
       
    86 	};	
       
    87 
       
    88 _LIT(KCommsdat205Step,"commsdat205Step");
       
    89 class CCommsdat205Step : public CTe_commsdatSuiteStepBase
       
    90 	{
       
    91 public:
       
    92 	CCommsdat205Step();
       
    93 	~CCommsdat205Step(){}
       
    94 	virtual TVerdict doTestStepL();
       
    95 private:
       
    96     CMDBSession* iCDSession;
       
    97 	};
       
    98 
       
    99 _LIT(KCommsdat206Step,"commsdat206Step");
       
   100 class CCommsdat206Step : public CTe_commsdatSuiteStepBase
       
   101 	{
       
   102 public:
       
   103 	CCommsdat206Step();
       
   104 	~CCommsdat206Step(){}
       
   105 	virtual TVerdict doTestStepL();
       
   106 private:
       
   107     CMDBSession* iCDSession;
       
   108 	};
       
   109 
       
   110 _LIT(KCommsdat207Step,"commsdat207Step");
       
   111 class CCommsdat207Step : public CConnectionPrefValidationTestBase 
       
   112 	{
       
   113 public:
       
   114 	CCommsdat207Step();
       
   115 	~CCommsdat207Step(){}
       
   116 	virtual TVerdict doTestStepL();
       
   117 private:
       
   118     CMDBSession* iCDSession;
       
   119 	};
       
   120 	
       
   121 _LIT(KCommsdat208Step,"commsdat208Step");
       
   122 class CCommsdat208Step : public CConnectionPrefValidationTestBase 
       
   123  
       
   124 	{
       
   125 public:
       
   126 	CCommsdat208Step();
       
   127 	~CCommsdat208Step(){}
       
   128 	virtual TVerdict doTestStepL();
       
   129 	};
       
   130 
       
   131 _LIT(KCommsdat209Step,"commsdat209Step");
       
   132 class CCommsdat209Step : public CTe_commsdatSuiteStepBase 
       
   133 	{
       
   134 public:
       
   135 	CCommsdat209Step();
       
   136 	~CCommsdat209Step(){}
       
   137 	virtual TVerdict doTestStepL();
       
   138 	};
       
   139 
       
   140 _LIT(KCommsdat210Step,"commsdat210Step");
       
   141 class CCommsdat210Step : public CTe_commsdatSuiteStepBase 
       
   142 	{
       
   143 public:
       
   144 	CCommsdat210Step();
       
   145 	~CCommsdat210Step(){}
       
   146 	virtual TVerdict doTestStepL();
       
   147 	};
       
   148 
       
   149 _LIT(KCommsdat211Step,"commsdat211Step");
       
   150 class CCommsdat211Step : public CTe_commsdatSuiteStepBase 
       
   151 	{
       
   152 public:
       
   153 	CCommsdat211Step();
       
   154 	~CCommsdat211Step(){}
       
   155 	virtual TVerdict doTestStepL();
       
   156 	};
       
   157 
       
   158 _LIT(KCommsdat212Step,"commsdat212Step");
       
   159 class CCommsdat212Step : public CTe_commsdatSuiteStepBase 
       
   160 	{
       
   161 public:
       
   162 	CCommsdat212Step();
       
   163 	~CCommsdat212Step();
       
   164 	virtual TVerdict doTestStepL();
       
   165 	virtual TVerdict doTestStepPreambleL();
       
   166 private:
       
   167 	CMDBSession* iCDSession;
       
   168 	};
       
   169 
       
   170 _LIT(KCommsdat213Step,"commsdat213Step");
       
   171 class CCommsdat213Step : public CTe_commsdatSuiteStepBase 
       
   172 	{
       
   173 public:
       
   174 	CCommsdat213Step();
       
   175 	~CCommsdat213Step(){}
       
   176 	virtual TVerdict doTestStepL();
       
   177 	};
       
   178 
       
   179 _LIT(KCommsdat214Step,"commsdat214Step");
       
   180 class CCommsdat214Step : public CTe_commsdatSuiteStepBase 
       
   181 	{
       
   182 public:
       
   183 	CCommsdat214Step();
       
   184 	~CCommsdat214Step(){}
       
   185 	virtual TVerdict doTestStepL();
       
   186 	};
       
   187 
       
   188 _LIT(KCommsdat215Step,"commsdat215Step");
       
   189 class CCommsdat215Step : public CTe_commsdatSuiteStepBase 
       
   190 	{
       
   191 public:
       
   192 	CCommsdat215Step();
       
   193 	~CCommsdat215Step(){}
       
   194 	virtual TVerdict doTestStepL();
       
   195 	};
       
   196 
       
   197 #endif  //__COMMSDATCODEBASE_TESTS_H__
       
   198 
       
   199 
       
   200 
       
   201