telephonyserverplugins/common_tsy/test/integration/inc/cctsyintegrationtestsmsstore.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 SMSStore functional unit.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @internalTechnology
       
    20 */
       
    21 
       
    22 
       
    23 #ifndef __CCTSYINTEGRATIONTESTSMSSTORE_H__
       
    24 #define __CCTSYINTEGRATIONTESTSMSSTORE_H__
       
    25 
       
    26 
       
    27 #include <test/testexecutestepbase.h>
       
    28 #include "cctsyintegrationtestsuitebase.h"
       
    29 #include "tsmsstoretsytesthelper.h"
       
    30 #include "tsimtsytesthelper.h"
       
    31 
       
    32 class CEtelSessionMgr;
       
    33 
       
    34 _LIT(KNumber, "12345");
       
    35 _LIT(KNumberInternational, "+12345"); // International version of KNumber
       
    36 _LIT(KNumber2, "54321");
       
    37 _LIT(KNumber3, "678912345");
       
    38 
       
    39 class CCTSYIntegrationTestSMSStoreBase : public CCTSYIntegrationTestSuiteStepBase
       
    40 	{
       
    41 public:
       
    42 
       
    43 	CCTSYIntegrationTestSMSStoreBase(CEtelSessionMgr& aEtelSessionMgr);
       
    44 	virtual ~CCTSYIntegrationTestSMSStoreBase();
       
    45 
       
    46 protected:
       
    47 	void CreateGsmSmsEntry(	RMobileSmsStore::TMobileGsmSmsEntryV1& aEntry, 
       
    48 							TInt aIndex,
       
    49 							const TDesC8& aMsgData,
       
    50 							RMobileSmsStore::TMobileSmsStoreStatus aStoreStatus,
       
    51 							RMobilePhone::TMobileTON aServiceCentreTON = RMobilePhone::ENationalNumber,
       
    52 							RMobilePhone::TMobileNPI aServiceCentreNumberingPlan = RMobilePhone::EIsdnNumberPlan,
       
    53 							const TDesC& aServiceCentreNum = KNumber());
       
    54 	
       
    55 	void WaitForPhoneBookCachingToFinish();
       
    56 	
       
    57 	TSmsStoreTsyTestHelper iSmsStoreTestHelper;
       
    58 
       
    59 	TSimTsyTestHelper iSimTsyTestHelper;
       
    60 	
       
    61 	}; // class CCTSYIntegrationTestSMSStoreBase
       
    62 
       
    63 
       
    64 class CCTSYIntegrationTestSMSStore0001 : public CCTSYIntegrationTestSMSStoreBase
       
    65 	{
       
    66 public:
       
    67 
       
    68 	CCTSYIntegrationTestSMSStore0001(CEtelSessionMgr& aEtelSessionMgr);
       
    69 	~CCTSYIntegrationTestSMSStore0001();
       
    70 	virtual TVerdict doTestStepL();
       
    71 	static TPtrC GetTestStepName();
       
    72 
       
    73 private:
       
    74 
       
    75 	}; // class CCTSYIntegrationTestSMSStore0001
       
    76 
       
    77 
       
    78 class CCTSYIntegrationTestSMSStore0002 : public CCTSYIntegrationTestSMSStoreBase
       
    79 	{
       
    80 public:
       
    81 
       
    82 	CCTSYIntegrationTestSMSStore0002(CEtelSessionMgr& aEtelSessionMgr);
       
    83 	~CCTSYIntegrationTestSMSStore0002();
       
    84 	virtual TVerdict doTestStepL();
       
    85 	static TPtrC GetTestStepName();
       
    86 
       
    87 private:
       
    88 
       
    89 	}; // class CCTSYIntegrationTestSMSStore0002
       
    90 
       
    91 
       
    92 class CCTSYIntegrationTestSMSStore0003 : public CCTSYIntegrationTestSMSStoreBase
       
    93 	{
       
    94 public:
       
    95 
       
    96 	CCTSYIntegrationTestSMSStore0003(CEtelSessionMgr& aEtelSessionMgr);
       
    97 	~CCTSYIntegrationTestSMSStore0003();
       
    98 	virtual TVerdict doTestStepL();
       
    99 	static TPtrC GetTestStepName();
       
   100 
       
   101 private:
       
   102 
       
   103 	}; // class CCTSYIntegrationTestSMSStore0003
       
   104 
       
   105 
       
   106 class CCTSYIntegrationTestSMSStore0004 : public CCTSYIntegrationTestSMSStoreBase
       
   107 	{
       
   108 public:
       
   109 
       
   110 	CCTSYIntegrationTestSMSStore0004(CEtelSessionMgr& aEtelSessionMgr);
       
   111 	~CCTSYIntegrationTestSMSStore0004();
       
   112 	virtual TVerdict doTestStepL();
       
   113 	static TPtrC GetTestStepName();
       
   114 
       
   115 private:
       
   116 
       
   117 	}; // class CCTSYIntegrationTestSMSStore0004
       
   118 
       
   119 
       
   120 class CCTSYIntegrationTestSMSStore0005 : public CCTSYIntegrationTestSMSStoreBase
       
   121 	{
       
   122 public:
       
   123 
       
   124 	CCTSYIntegrationTestSMSStore0005(CEtelSessionMgr& aEtelSessionMgr);
       
   125 	~CCTSYIntegrationTestSMSStore0005();
       
   126 	virtual TVerdict doTestStepL();
       
   127 	static TPtrC GetTestStepName();
       
   128 
       
   129 private:
       
   130 
       
   131 	}; // class CCTSYIntegrationTestSMSStore0005
       
   132 
       
   133 
       
   134 class CCTSYIntegrationTestSMSStore0006 : public CCTSYIntegrationTestSMSStoreBase
       
   135 	{
       
   136 public:
       
   137 
       
   138 	CCTSYIntegrationTestSMSStore0006(CEtelSessionMgr& aEtelSessionMgr);
       
   139 	~CCTSYIntegrationTestSMSStore0006();
       
   140 	virtual TVerdict doTestStepL();
       
   141 	static TPtrC GetTestStepName();
       
   142 
       
   143 private:
       
   144 
       
   145 	}; // class CCTSYIntegrationTestSMSStore0006
       
   146 
       
   147 
       
   148 class CCTSYIntegrationTestSMSStore0007 : public CCTSYIntegrationTestSMSStoreBase
       
   149 	{
       
   150 public:
       
   151 
       
   152 	CCTSYIntegrationTestSMSStore0007(CEtelSessionMgr& aEtelSessionMgr);
       
   153 	~CCTSYIntegrationTestSMSStore0007();
       
   154 	virtual TVerdict doTestStepL();
       
   155 	static TPtrC GetTestStepName();
       
   156 
       
   157 private:
       
   158 
       
   159 	}; // class CCTSYIntegrationTestSMSStore0007
       
   160 
       
   161 
       
   162 class CCTSYIntegrationTestSMSStore0008 : public CCTSYIntegrationTestSMSStoreBase
       
   163 	{
       
   164 public:
       
   165 
       
   166 	CCTSYIntegrationTestSMSStore0008(CEtelSessionMgr& aEtelSessionMgr);
       
   167 	~CCTSYIntegrationTestSMSStore0008();
       
   168 	virtual TVerdict doTestStepL();
       
   169 	static TPtrC GetTestStepName();
       
   170 
       
   171 private:
       
   172 
       
   173 	}; // class CCTSYIntegrationTestSMSStore0008
       
   174 
       
   175 
       
   176 class CCTSYIntegrationTestSMSStore0009 : public CCTSYIntegrationTestSMSStoreBase
       
   177 	{
       
   178 public:
       
   179 
       
   180 	CCTSYIntegrationTestSMSStore0009(CEtelSessionMgr& aEtelSessionMgr);
       
   181 	~CCTSYIntegrationTestSMSStore0009();
       
   182 	virtual TVerdict doTestStepL();
       
   183 	static TPtrC GetTestStepName();
       
   184 
       
   185 private:
       
   186 
       
   187 	}; // class CCTSYIntegrationTestSMSStore0009
       
   188 
       
   189 
       
   190 class CCTSYIntegrationTestSMSStore0010 : public CCTSYIntegrationTestSMSStoreBase
       
   191 	{
       
   192 public:
       
   193 
       
   194 	CCTSYIntegrationTestSMSStore0010(CEtelSessionMgr& aEtelSessionMgr);
       
   195 	~CCTSYIntegrationTestSMSStore0010();
       
   196 	virtual TVerdict doTestStepL();
       
   197 	static TPtrC GetTestStepName();
       
   198 
       
   199 private:
       
   200 
       
   201 	}; // class CCTSYIntegrationTestSMSStore0010
       
   202 
       
   203 
       
   204 class CCTSYIntegrationTestSMSStore0011 : public CCTSYIntegrationTestSMSStoreBase
       
   205 	{
       
   206 public:
       
   207 
       
   208 	CCTSYIntegrationTestSMSStore0011(CEtelSessionMgr& aEtelSessionMgr);
       
   209 	~CCTSYIntegrationTestSMSStore0011();
       
   210 	virtual TVerdict doTestStepL();
       
   211 	static TPtrC GetTestStepName();
       
   212 
       
   213 private:
       
   214 
       
   215 	}; // class CCTSYIntegrationTestSMSStore0011
       
   216 
       
   217 
       
   218 class CCTSYIntegrationTestSMSStore0012 : public CCTSYIntegrationTestSMSStoreBase
       
   219 	{
       
   220 public:
       
   221 
       
   222 	CCTSYIntegrationTestSMSStore0012(CEtelSessionMgr& aEtelSessionMgr);
       
   223 	~CCTSYIntegrationTestSMSStore0012();
       
   224 	virtual TVerdict doTestStepL();
       
   225 	static TPtrC GetTestStepName();
       
   226 
       
   227 private:
       
   228 
       
   229 	}; // class CCTSYIntegrationTestSMSStore0012
       
   230 
       
   231 
       
   232 class CCTSYIntegrationTestSMSStore0013 : public CCTSYIntegrationTestSMSStoreBase
       
   233 	{
       
   234 public:
       
   235 
       
   236 	CCTSYIntegrationTestSMSStore0013(CEtelSessionMgr& aEtelSessionMgr);
       
   237 	~CCTSYIntegrationTestSMSStore0013();
       
   238 	virtual TVerdict doTestStepL();
       
   239 	static TPtrC GetTestStepName();
       
   240 
       
   241 private:
       
   242 
       
   243 	}; // class CCTSYIntegrationTestSMSStore0013
       
   244 
       
   245 
       
   246 class CCTSYIntegrationTestSMSStore0014 : public CCTSYIntegrationTestSMSStoreBase
       
   247 	{
       
   248 public:
       
   249 
       
   250 	CCTSYIntegrationTestSMSStore0014(CEtelSessionMgr& aEtelSessionMgr);
       
   251 	~CCTSYIntegrationTestSMSStore0014();
       
   252 	virtual TVerdict doTestStepL();
       
   253 	static TPtrC GetTestStepName();
       
   254 
       
   255 private:
       
   256 
       
   257 	}; // class CCTSYIntegrationTestSMSStore0014
       
   258 
       
   259 
       
   260 class CCTSYIntegrationTestSMSStore0015 : public CCTSYIntegrationTestSMSStoreBase
       
   261 	{
       
   262 public:
       
   263 
       
   264 	CCTSYIntegrationTestSMSStore0015(CEtelSessionMgr& aEtelSessionMgr);
       
   265 	~CCTSYIntegrationTestSMSStore0015();
       
   266 	virtual TVerdict doTestStepL();
       
   267 	static TPtrC GetTestStepName();
       
   268 
       
   269 private:
       
   270 
       
   271 	}; // class CCTSYIntegrationTestSMSStore0015
       
   272 
       
   273 
       
   274 class CCTSYIntegrationTestSMSStore0016 : public CCTSYIntegrationTestSMSStoreBase
       
   275 	{
       
   276 public:
       
   277 
       
   278 	CCTSYIntegrationTestSMSStore0016(CEtelSessionMgr& aEtelSessionMgr);
       
   279 	~CCTSYIntegrationTestSMSStore0016();
       
   280 	virtual TVerdict doTestStepL();
       
   281 	static TPtrC GetTestStepName();
       
   282 
       
   283 private:
       
   284 
       
   285 	}; // class CCTSYIntegrationTestSMSStore0016
       
   286 
       
   287 
       
   288 class CCTSYIntegrationTestSMSStore0017 : public CCTSYIntegrationTestSMSStoreBase
       
   289 	{
       
   290 public:
       
   291 
       
   292 	CCTSYIntegrationTestSMSStore0017(CEtelSessionMgr& aEtelSessionMgr);
       
   293 	~CCTSYIntegrationTestSMSStore0017();
       
   294 	virtual TVerdict doTestStepL();
       
   295 	static TPtrC GetTestStepName();
       
   296 
       
   297 private:
       
   298 
       
   299 	}; // class CCTSYIntegrationTestSMSStore0017
       
   300 
       
   301 
       
   302 class CCTSYIntegrationTestSMSStore0018 : public CCTSYIntegrationTestSMSStoreBase
       
   303 	{
       
   304 public:
       
   305 
       
   306 	CCTSYIntegrationTestSMSStore0018(CEtelSessionMgr& aEtelSessionMgr);
       
   307 	~CCTSYIntegrationTestSMSStore0018();
       
   308 	virtual TVerdict doTestStepL();
       
   309 	static TPtrC GetTestStepName();
       
   310 
       
   311 private:
       
   312 
       
   313 	}; // class CCTSYIntegrationTestSMSStore0018
       
   314 
       
   315 
       
   316 class CCTSYIntegrationTestSMSStore0019 : public CCTSYIntegrationTestSMSStoreBase
       
   317 	{
       
   318 public:
       
   319 
       
   320 	CCTSYIntegrationTestSMSStore0019(CEtelSessionMgr& aEtelSessionMgr);
       
   321 	~CCTSYIntegrationTestSMSStore0019();
       
   322 	virtual TVerdict doTestStepL();
       
   323 	static TPtrC GetTestStepName();
       
   324 
       
   325 private:
       
   326 
       
   327 	}; // class CCTSYIntegrationTestSMSStore0019
       
   328 
       
   329 
       
   330 class CCTSYIntegrationTestSMSStore0020 : public CCTSYIntegrationTestSMSStoreBase
       
   331 	{
       
   332 public:
       
   333 
       
   334 	CCTSYIntegrationTestSMSStore0020(CEtelSessionMgr& aEtelSessionMgr);
       
   335 	~CCTSYIntegrationTestSMSStore0020();
       
   336 	virtual TVerdict doTestStepL();
       
   337 	static TPtrC GetTestStepName();
       
   338 
       
   339 private:
       
   340 
       
   341 	}; // class CCTSYIntegrationTestSMSStore0020
       
   342 
       
   343 
       
   344 class CCTSYIntegrationTestSMSStore0021 : public CCTSYIntegrationTestSMSStoreBase
       
   345 	{
       
   346 public:
       
   347 
       
   348 	CCTSYIntegrationTestSMSStore0021(CEtelSessionMgr& aEtelSessionMgr);
       
   349 	~CCTSYIntegrationTestSMSStore0021();
       
   350 	virtual TVerdict doTestStepL();
       
   351 	static TPtrC GetTestStepName();
       
   352 
       
   353 private:
       
   354 
       
   355 	}; // class CCTSYIntegrationTestSMSStore0021
       
   356 
       
   357 
       
   358 class CCTSYIntegrationTestSMSStore0022 : public CCTSYIntegrationTestSMSStoreBase
       
   359 	{
       
   360 public:
       
   361 
       
   362 	CCTSYIntegrationTestSMSStore0022(CEtelSessionMgr& aEtelSessionMgr);
       
   363 	~CCTSYIntegrationTestSMSStore0022();
       
   364 	virtual TVerdict doTestStepL();
       
   365 	static TPtrC GetTestStepName();
       
   366 
       
   367 private:
       
   368 
       
   369 	}; // class CCTSYIntegrationTestSMSStore0022
       
   370 
       
   371 
       
   372 class CCTSYIntegrationTestSMSStore0023 : public CCTSYIntegrationTestSMSStoreBase
       
   373 	{
       
   374 public:
       
   375 
       
   376 	CCTSYIntegrationTestSMSStore0023(CEtelSessionMgr& aEtelSessionMgr);
       
   377 	~CCTSYIntegrationTestSMSStore0023();
       
   378 	virtual TVerdict doTestStepL();
       
   379 	static TPtrC GetTestStepName();
       
   380 
       
   381 private:
       
   382 
       
   383 	}; // class CCTSYIntegrationTestSMSStore0023
       
   384 
       
   385 
       
   386 
       
   387 #endif // __CCTSYINTEGRATIONTESTSMSSTORE_H__