telephonyserverplugins/common_tsy/test/integration/inc/cctsyintegrationtestphonesecurity.h
changeset 0 3553901f7fa8
child 24 6638e7f4bd8f
equal deleted inserted replaced
-1:000000000000 0:3553901f7fa8
       
     1 // Copyright (c) 2007-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 // Test step declarations for the PhoneSecurity functional unit.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @internalTechnology
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef __CCTSYINTEGRATIONTESTPHONESECURITY_H__
       
    24 #define __CCTSYINTEGRATIONTESTPHONESECURITY_H__
       
    25 
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "cctsyintegrationtestsuitebase.h"
       
    29 
       
    30 #include "tsimtsytesthelper.h"
       
    31 #include "tphonetsytesthelper.h"
       
    32 #include "tnetworktsytesthelper.h"
       
    33 
       
    34 class CEtelSessionMgr;
       
    35 
       
    36 
       
    37 class CCTSYIntegrationTestPhoneSecurityBase : public CCTSYIntegrationTestSuiteStepBase
       
    38 	{
       
    39 public:
       
    40 
       
    41 	CCTSYIntegrationTestPhoneSecurityBase(CEtelSessionMgr& aEtelSessionMgr);
       
    42 	virtual ~CCTSYIntegrationTestPhoneSecurityBase();
       
    43 
       
    44 protected:
       
    45 
       
    46 	void GetNetworkSectionL(RMobilePhone& aMobilePhone,const TDesC*& aNetworkSection);
       
    47 	void UnblockPinL(RMobilePhone& aMobilePhone,	RMobilePhone::TMobilePhoneSecurityCode aPhoneSecurityCode,
       
    48 				TDesC& aPin, TDesC& aPuk);
       
    49 	void ManglePassword(const TDesC& aOldPassword, TDes& aNewPassword);
       
    50 
       
    51 //attributes section
       
    52 protected:
       
    53 	TSimTsyTestHelper		iSimTsyTestHelper;
       
    54 	TNetworkTsyTestHelper   iNetworkTsyTestHelper;
       
    55 	TPhoneTsyTestHelper 	iPhoneTsyTestHelper;
       
    56 
       
    57 	
       
    58 	}; // class CCTSYIntegrationTestPhoneSecurityBase
       
    59 
       
    60 
       
    61 class CCTSYIntegrationTestPhoneSecurity0001 : public CCTSYIntegrationTestPhoneSecurityBase
       
    62 	{
       
    63 public:
       
    64 
       
    65 	CCTSYIntegrationTestPhoneSecurity0001(CEtelSessionMgr& aEtelSessionMgr);
       
    66 	~CCTSYIntegrationTestPhoneSecurity0001();
       
    67 	virtual TVerdict doTestStepL();
       
    68 	static TPtrC GetTestStepName();
       
    69 
       
    70 private:
       
    71 
       
    72 	}; // class CCTSYIntegrationTestPhoneSecurity0001
       
    73 
       
    74 
       
    75 class CCTSYIntegrationTestPhoneSecurity0002 : public CCTSYIntegrationTestPhoneSecurityBase
       
    76 	{
       
    77 public:
       
    78 
       
    79 	CCTSYIntegrationTestPhoneSecurity0002(CEtelSessionMgr& aEtelSessionMgr);
       
    80 	~CCTSYIntegrationTestPhoneSecurity0002();
       
    81 	virtual TVerdict doTestStepL();
       
    82 	static TPtrC GetTestStepName();
       
    83 
       
    84 private:
       
    85 
       
    86 	}; // class CCTSYIntegrationTestPhoneSecurity0002
       
    87 
       
    88 
       
    89 class CCTSYIntegrationTestPhoneSecurity0003 : public CCTSYIntegrationTestPhoneSecurityBase
       
    90 	{
       
    91 public:
       
    92 
       
    93 	CCTSYIntegrationTestPhoneSecurity0003(CEtelSessionMgr& aEtelSessionMgr);
       
    94 	~CCTSYIntegrationTestPhoneSecurity0003();
       
    95 	virtual TVerdict doTestStepL();
       
    96 	static TPtrC GetTestStepName();
       
    97 
       
    98 private:
       
    99 
       
   100 	}; // class CCTSYIntegrationTestPhoneSecurity0003
       
   101 
       
   102 
       
   103 class CCTSYIntegrationTestPhoneSecurity0004 : public CCTSYIntegrationTestPhoneSecurityBase
       
   104 	{
       
   105 public:
       
   106 
       
   107 	CCTSYIntegrationTestPhoneSecurity0004(CEtelSessionMgr& aEtelSessionMgr);
       
   108 	~CCTSYIntegrationTestPhoneSecurity0004();
       
   109 	virtual TVerdict doTestStepL();
       
   110 	static TPtrC GetTestStepName();
       
   111 
       
   112 private:
       
   113 
       
   114 	}; // class CCTSYIntegrationTestPhoneSecurity0004
       
   115 
       
   116 
       
   117 class CCTSYIntegrationTestPhoneSecurity0005 : public CCTSYIntegrationTestPhoneSecurityBase
       
   118 	{
       
   119 public:
       
   120 
       
   121 	CCTSYIntegrationTestPhoneSecurity0005(CEtelSessionMgr& aEtelSessionMgr);
       
   122 	~CCTSYIntegrationTestPhoneSecurity0005();
       
   123 	virtual TVerdict doTestStepL();
       
   124 	static TPtrC GetTestStepName();
       
   125 
       
   126 private:
       
   127 
       
   128 	}; // class CCTSYIntegrationTestPhoneSecurity0005
       
   129 
       
   130 
       
   131 class CCTSYIntegrationTestPhoneSecurity0006 : public CCTSYIntegrationTestPhoneSecurityBase
       
   132 	{
       
   133 public:
       
   134 
       
   135 	CCTSYIntegrationTestPhoneSecurity0006(CEtelSessionMgr& aEtelSessionMgr);
       
   136 	~CCTSYIntegrationTestPhoneSecurity0006();
       
   137 	virtual TVerdict doTestStepL();
       
   138 	static TPtrC GetTestStepName();
       
   139 
       
   140 private:
       
   141 
       
   142 	}; // class CCTSYIntegrationTestPhoneSecurity0006
       
   143 
       
   144 
       
   145 class CCTSYIntegrationTestPhoneSecurity0007 : public CCTSYIntegrationTestPhoneSecurityBase
       
   146 	{
       
   147 public:
       
   148 
       
   149 	CCTSYIntegrationTestPhoneSecurity0007(CEtelSessionMgr& aEtelSessionMgr);
       
   150 	~CCTSYIntegrationTestPhoneSecurity0007();
       
   151 	virtual TVerdict doTestStepL();
       
   152 	static TPtrC GetTestStepName();
       
   153 
       
   154 private:
       
   155 
       
   156 	}; // class CCTSYIntegrationTestPhoneSecurity0007
       
   157 
       
   158 
       
   159 class CCTSYIntegrationTestPhoneSecurity0008 : public CCTSYIntegrationTestPhoneSecurityBase
       
   160 	{
       
   161 public:
       
   162 
       
   163 	CCTSYIntegrationTestPhoneSecurity0008(CEtelSessionMgr& aEtelSessionMgr);
       
   164 	~CCTSYIntegrationTestPhoneSecurity0008();
       
   165 	virtual TVerdict doTestStepL();
       
   166 	static TPtrC GetTestStepName();
       
   167 
       
   168 private:
       
   169 
       
   170 	}; // class CCTSYIntegrationTestPhoneSecurity0008
       
   171 
       
   172 
       
   173 class CCTSYIntegrationTestPhoneSecurity0009 : public CCTSYIntegrationTestPhoneSecurityBase
       
   174 	{
       
   175 public:
       
   176 
       
   177 	CCTSYIntegrationTestPhoneSecurity0009(CEtelSessionMgr& aEtelSessionMgr);
       
   178 	~CCTSYIntegrationTestPhoneSecurity0009();
       
   179 	virtual TVerdict doTestStepL();
       
   180 	static TPtrC GetTestStepName();
       
   181 
       
   182 private:
       
   183 
       
   184 	}; // class CCTSYIntegrationTestPhoneSecurity0009
       
   185 
       
   186 
       
   187 class CCTSYIntegrationTestPhoneSecurity0010 : public CCTSYIntegrationTestPhoneSecurityBase
       
   188 	{
       
   189 public:
       
   190 
       
   191 	CCTSYIntegrationTestPhoneSecurity0010(CEtelSessionMgr& aEtelSessionMgr);
       
   192 	~CCTSYIntegrationTestPhoneSecurity0010();
       
   193 	virtual TVerdict doTestStepL();
       
   194 	static TPtrC GetTestStepName();
       
   195 
       
   196 private:
       
   197 
       
   198 	}; // class CCTSYIntegrationTestPhoneSecurity0010
       
   199 
       
   200 
       
   201 class CCTSYIntegrationTestPhoneSecurity0011 : public CCTSYIntegrationTestPhoneSecurityBase
       
   202 	{
       
   203 public:
       
   204 
       
   205 	CCTSYIntegrationTestPhoneSecurity0011(CEtelSessionMgr& aEtelSessionMgr);
       
   206 	~CCTSYIntegrationTestPhoneSecurity0011();
       
   207 	virtual TVerdict doTestStepL();
       
   208 	static TPtrC GetTestStepName();
       
   209 
       
   210 private:
       
   211 
       
   212 	}; // class CCTSYIntegrationTestPhoneSecurity0011
       
   213 
       
   214 
       
   215 class CCTSYIntegrationTestPhoneSecurity0012 : public CCTSYIntegrationTestPhoneSecurityBase
       
   216 	{
       
   217 public:
       
   218 
       
   219 	CCTSYIntegrationTestPhoneSecurity0012(CEtelSessionMgr& aEtelSessionMgr);
       
   220 	~CCTSYIntegrationTestPhoneSecurity0012();
       
   221 	virtual TVerdict doTestStepL();
       
   222 	static TPtrC GetTestStepName();
       
   223 
       
   224 private:
       
   225 
       
   226 	}; // class CCTSYIntegrationTestPhoneSecurity0012
       
   227 
       
   228 
       
   229 class CCTSYIntegrationTestPhoneSecurity0013 : public CCTSYIntegrationTestPhoneSecurityBase
       
   230 	{
       
   231 public:
       
   232 
       
   233 	CCTSYIntegrationTestPhoneSecurity0013(CEtelSessionMgr& aEtelSessionMgr);
       
   234 	~CCTSYIntegrationTestPhoneSecurity0013();
       
   235 	virtual TVerdict doTestStepL();
       
   236 	static TPtrC GetTestStepName();
       
   237 
       
   238 private:
       
   239 
       
   240 	}; // class CCTSYIntegrationTestPhoneSecurity0013
       
   241 
       
   242 
       
   243 class CCTSYIntegrationTestPhoneSecurity0014 : public CCTSYIntegrationTestPhoneSecurityBase
       
   244 	{
       
   245 public:
       
   246 
       
   247 	CCTSYIntegrationTestPhoneSecurity0014(CEtelSessionMgr& aEtelSessionMgr);
       
   248 	~CCTSYIntegrationTestPhoneSecurity0014();
       
   249 	virtual TVerdict doTestStepL();
       
   250 	static TPtrC GetTestStepName();
       
   251 
       
   252 private:
       
   253 
       
   254 	}; // class CCTSYIntegrationTestPhoneSecurity0014
       
   255 
       
   256 
       
   257 class CCTSYIntegrationTestPhoneSecurity0015 : public CCTSYIntegrationTestPhoneSecurityBase
       
   258 	{
       
   259 public:
       
   260 
       
   261 	CCTSYIntegrationTestPhoneSecurity0015(CEtelSessionMgr& aEtelSessionMgr);
       
   262 	~CCTSYIntegrationTestPhoneSecurity0015();
       
   263 	virtual TVerdict doTestStepL();
       
   264 	static TPtrC GetTestStepName();
       
   265 
       
   266 private:
       
   267 
       
   268 	}; // class CCTSYIntegrationTestPhoneSecurity0015
       
   269 
       
   270 
       
   271 class CCTSYIntegrationTestPhoneSecurity0016 : public CCTSYIntegrationTestPhoneSecurityBase
       
   272 	{
       
   273 public:
       
   274 
       
   275 	CCTSYIntegrationTestPhoneSecurity0016(CEtelSessionMgr& aEtelSessionMgr);
       
   276 	~CCTSYIntegrationTestPhoneSecurity0016();
       
   277 	virtual TVerdict doTestStepL();
       
   278 	static TPtrC GetTestStepName();
       
   279 
       
   280 private:
       
   281 
       
   282 	}; // class CCTSYIntegrationTestPhoneSecurity0016
       
   283 
       
   284 
       
   285 class CCTSYIntegrationTestPhoneSecurity0017 : public CCTSYIntegrationTestPhoneSecurityBase
       
   286 	{
       
   287 public:
       
   288 
       
   289 	CCTSYIntegrationTestPhoneSecurity0017(CEtelSessionMgr& aEtelSessionMgr);
       
   290 	~CCTSYIntegrationTestPhoneSecurity0017();
       
   291 	virtual TVerdict doTestStepL();
       
   292 	static TPtrC GetTestStepName();
       
   293 
       
   294 private:
       
   295 
       
   296 	}; // class CCTSYIntegrationTestPhoneSecurity0017
       
   297 
       
   298 
       
   299 class CCTSYIntegrationTestPhoneSecurity0018 : public CCTSYIntegrationTestPhoneSecurityBase
       
   300 	{
       
   301 public:
       
   302 
       
   303 	CCTSYIntegrationTestPhoneSecurity0018(CEtelSessionMgr& aEtelSessionMgr);
       
   304 	~CCTSYIntegrationTestPhoneSecurity0018();
       
   305 	virtual TVerdict doTestStepL();
       
   306 	static TPtrC GetTestStepName();
       
   307 
       
   308 private:
       
   309 
       
   310 	}; // class CCTSYIntegrationTestPhoneSecurity0018
       
   311 
       
   312 
       
   313 
       
   314 #endif // __CCTSYINTEGRATIONTESTPHONESECURITY_H__