messagingfw/msgurlhandler/test/basic/inc/MailtoSchemeHandlerUnitTest.h
changeset 0 8e480a14352b
equal deleted inserted replaced
-1:000000000000 0:8e480a14352b
       
     1 // Copyright (c) 1997-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 // The unit test class definitions for the CMailtoSchemeHandler class.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @SYMCreationDate Created : 24/05/01 15:57:45
       
    21 */
       
    22 #ifndef __MAILTOSCHEMEHANDLERUNITTEST_H__
       
    23 #define __MAILTOSCHEMEHANDLERUNITTEST_H__
       
    24 
       
    25 #include <ecom/test_bed/testbeddefinitions.h>
       
    26 #include "MailtoSchemeHandlerStateAccessor.h"
       
    27 #include "MailtoSchemeHandlerTransitionValidation.h"
       
    28 #include "MailtoSchemeHandlerTransitions.h"
       
    29 
       
    30 // ______________________________________________________________________________
       
    31 //
       
    32 /**
       
    33 	@internalTechnology
       
    34 	@class
       
    35 	Comments : Unit Test for CreateAndDestroy on CMailtoSchemeHandler, the class under test.
       
    36  */
       
    37 class CMailtoSchemeHandler_CreateAndDestroy_UnitTest : public CUnitTest
       
    38 	{
       
    39 public:
       
    40 	/**
       
    41 		@fn				NewL(CDataLogger& aDataLogger,
       
    42 							MUnitTestObserver& aObserver)
       
    43 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
    44 						cleanup stack.
       
    45 		Error Condition	: Leaves with the error code.
       
    46 		@leave		KErrNoMemory
       
    47 		@since			6.0
       
    48 		@param			aDataLogger The output logging object.
       
    49 		@param			aObserver The observer of this UnitTest.
       
    50 		@return			CMailtoSchemeHandler_CreateAndDestroy_UnitTest* The constructed object.
       
    51 		@pre 			None.
       
    52 		@post			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully constructed, and initialised.
       
    53 	 */
       
    54 	static CMailtoSchemeHandler_CreateAndDestroy_UnitTest* NewL(CDataLogger& aDataLogger,
       
    55 											MUnitTestObserver& aObserver);
       
    56 
       
    57 	/**
       
    58 		@fn				RunError(TInt aError)
       
    59 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
    60 						to restore the CMailtoSchemeHandler_CreateAndDestroy_UnitTest
       
    61 						object to a sensible state.
       
    62 						(called by the Active Scheduler immediately before the Panic).
       
    63 		Error Condition	: @see CUnitTest::RunError().
       
    64 		@since			6.0
       
    65 		@return			TInt KErrNone if cleanup successful, otherwise
       
    66 						@see CUnitTest::RunError()
       
    67 		@pre 			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully constructed, and initialised.
       
    68 		@post			The object has been restored to a sensible state.
       
    69 	 */
       
    70 	inline TInt RunError(TInt aError);
       
    71 
       
    72 	/**
       
    73 		@fn				~CMailtoSchemeHandler_CreateAndDestroy_UnitTest()
       
    74 		Intended Usage	: Standard Destructor.
       
    75 		Error Condition	: None.	
       
    76 		@since			6.0
       
    77 		@pre 			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully constructed.
       
    78 		@post			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully destroyed.
       
    79 	*/
       
    80 	~CMailtoSchemeHandler_CreateAndDestroy_UnitTest();
       
    81 
       
    82 private:
       
    83 	/**
       
    84 		@fn				CMailtoSchemeHandler_CreateAndDestroy_UnitTest(CDataLogger& aDataLogger,
       
    85 														MUnitTestObserver& aObserver)
       
    86 		Intended Usage	: Default constructor.
       
    87 		Error Condition	: None. 
       
    88 		@since			6.0
       
    89 		@param			aDataLogger The output logging object.
       
    90 		@param			aObserver The observer of this UnitTest.
       
    91 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
    92 		@pre 			None.
       
    93 		@post			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully constructed.
       
    94 	*/
       
    95 	inline CMailtoSchemeHandler_CreateAndDestroy_UnitTest(CDataLogger& aDataLogger,
       
    96 											MUnitTestObserver& aObserver);
       
    97 
       
    98 	/**
       
    99 		@fn				void ConstructL()
       
   100 		Intended Usage	: Second phase of safe two phase construction, 
       
   101 		to complete the object initialisation.
       
   102 		Error Condition	: Leaves with an error code.
       
   103 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   104 		@since			6.0
       
   105 		@return			None 
       
   106 		@pre 			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully constructed.
       
   107 		@post			CMailtoSchemeHandler_CreateAndDestroy_UnitTest is fully initialised.
       
   108 	*/
       
   109 	void ConstructL();
       
   110 
       
   111 	/**
       
   112 	The context of the Unit Test.
       
   113 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   114 	 */
       
   115 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   116 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   117 	// C'tor, d'tor, and method transition validators
       
   118 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   119 	//TMailtoSchemeHandler_CreateAndDestroy_TransitionValidator*	iCreateAndDestroyValidator;
       
   120 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   121 	
       
   122 	};	// CMailtoSchemeHandler_CreateAndDestroy_UnitTest
       
   123 
       
   124 // ______________________________________________________________________________
       
   125 //
       
   126 /**
       
   127 	@internalTechnology
       
   128 	@class
       
   129 	Comments : Unit Test for ParseUrlTest1 on CMailtoSchemeHandler, the class under test.
       
   130  */
       
   131 class CMailtoSchemeHandler_ParseUrlTest1_UnitTest : public CUnitTest
       
   132 	{
       
   133 public:
       
   134 	/**
       
   135 		@fn				NewL(CDataLogger& aDataLogger,
       
   136 							MUnitTestObserver& aObserver)
       
   137 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   138 						cleanup stack.
       
   139 		Error Condition	: Leaves with the error code.
       
   140 		@leave		KErrNoMemory
       
   141 		@since			6.0
       
   142 		@param			aDataLogger The output logging object.
       
   143 		@param			aObserver The observer of this UnitTest.
       
   144 		@return			CMailtoSchemeHandler_ParseUrlTest1_UnitTest* The constructed object.
       
   145 		@pre 			None.
       
   146 		@post			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully constructed, and initialised.
       
   147 	 */
       
   148 	static CMailtoSchemeHandler_ParseUrlTest1_UnitTest* NewL(CDataLogger& aDataLogger,
       
   149 											MUnitTestObserver& aObserver);
       
   150 
       
   151 	/**
       
   152 		@fn				RunError(TInt aError)
       
   153 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   154 						to restore the CMailtoSchemeHandler_ParseUrlTest1_UnitTest
       
   155 						object to a sensible state.
       
   156 						(called by the Active Scheduler immediately before the Panic).
       
   157 		Error Condition	: @see CUnitTest::RunError().
       
   158 		@since			6.0
       
   159 		@return			TInt KErrNone if cleanup successful, otherwise
       
   160 						@see CUnitTest::RunError()
       
   161 		@pre 			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully constructed, and initialised.
       
   162 		@post			The object has been restored to a sensible state.
       
   163 	 */
       
   164 	inline TInt RunError(TInt aError);
       
   165 
       
   166 	/**
       
   167 		@fn				~CMailtoSchemeHandler_ParseUrlTest1_UnitTest()
       
   168 		Intended Usage	: Standard Destructor.
       
   169 		Error Condition	: None.	
       
   170 		@since			6.0
       
   171 		@pre 			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully constructed.
       
   172 		@post			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully destroyed.
       
   173 	*/
       
   174 	~CMailtoSchemeHandler_ParseUrlTest1_UnitTest();
       
   175 
       
   176 private:
       
   177 	/**
       
   178 		@fn				CMailtoSchemeHandler_ParseUrlTest1_UnitTest(CDataLogger& aDataLogger,
       
   179 														MUnitTestObserver& aObserver)
       
   180 		Intended Usage	: Default constructor.
       
   181 		Error Condition	: None. 
       
   182 		@since			6.0
       
   183 		@param			aDataLogger The output logging object.
       
   184 		@param			aObserver The observer of this UnitTest.
       
   185 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   186 		@pre 			None.
       
   187 		@post			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully constructed.
       
   188 	*/
       
   189 	inline CMailtoSchemeHandler_ParseUrlTest1_UnitTest(CDataLogger& aDataLogger,
       
   190 											MUnitTestObserver& aObserver);
       
   191 
       
   192 	/**
       
   193 		@fn				void ConstructL()
       
   194 		Intended Usage	: Second phase of safe two phase construction, 
       
   195 		to complete the object initialisation.
       
   196 		Error Condition	: Leaves with an error code.
       
   197 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   198 		@since			6.0
       
   199 		@return			None 
       
   200 		@pre 			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully constructed.
       
   201 		@post			CMailtoSchemeHandler_ParseUrlTest1_UnitTest is fully initialised.
       
   202 	*/
       
   203 	void ConstructL();
       
   204 
       
   205 	/**
       
   206 	The context of the Unit Test.
       
   207 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   208 	 */
       
   209 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   210 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   211 	// C'tor, d'tor, and method transition validators
       
   212 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   213 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest1Validator;
       
   214 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   215 	};	// CMailtoSchemeHandler_ParseUrlTest1_UnitTest
       
   216 
       
   217 // ______________________________________________________________________________
       
   218 //
       
   219 /**
       
   220 	@internalTechnology
       
   221 	@class
       
   222 	Comments : Unit Test for ParseUrlTest2 on CMailtoSchemeHandler, the class under test.
       
   223  */
       
   224 class CMailtoSchemeHandler_ParseUrlTest2_UnitTest : public CUnitTest
       
   225 	{
       
   226 public:
       
   227 	/**
       
   228 		@fn				NewL(CDataLogger& aDataLogger,
       
   229 							MUnitTestObserver& aObserver)
       
   230 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   231 						cleanup stack.
       
   232 		Error Condition	: Leaves with the error code.
       
   233 		@leave		KErrNoMemory
       
   234 		@since			6.0
       
   235 		@param			aDataLogger The output logging object.
       
   236 		@param			aObserver The observer of this UnitTest.
       
   237 		@return			CMailtoSchemeHandler_ParseUrlTest2_UnitTest* The constructed object.
       
   238 		@pre 			None.
       
   239 		@post			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully constructed, and initialised.
       
   240 	 */
       
   241 	static CMailtoSchemeHandler_ParseUrlTest2_UnitTest* NewL(CDataLogger& aDataLogger,
       
   242 											MUnitTestObserver& aObserver);
       
   243 
       
   244 	/**
       
   245 		@fn				RunError(TInt aError)
       
   246 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   247 						to restore the CMailtoSchemeHandler_ParseUrlTest2_UnitTest
       
   248 						object to a sensible state.
       
   249 						(called by the Active Scheduler immediately before the Panic).
       
   250 		Error Condition	: @see CUnitTest::RunError().
       
   251 		@since			6.0
       
   252 		@return			TInt KErrNone if cleanup successful, otherwise
       
   253 						@see CUnitTest::RunError()
       
   254 		@pre 			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully constructed, and initialised.
       
   255 		@post			The object has been restored to a sensible state.
       
   256 	 */
       
   257 	inline TInt RunError(TInt aError);
       
   258 
       
   259 	/**
       
   260 		@fn				~CMailtoSchemeHandler_ParseUrlTest2_UnitTest()
       
   261 		Intended Usage	: Standard Destructor.
       
   262 		Error Condition	: None.	
       
   263 		@since			6.0
       
   264 		@pre 			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully constructed.
       
   265 		@post			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully destroyed.
       
   266 	*/
       
   267 	~CMailtoSchemeHandler_ParseUrlTest2_UnitTest();
       
   268 
       
   269 private:
       
   270 	/**
       
   271 		@fn				CMailtoSchemeHandler_ParseUrlTest2_UnitTest(CDataLogger& aDataLogger,
       
   272 														MUnitTestObserver& aObserver)
       
   273 		Intended Usage	: Default constructor.
       
   274 		Error Condition	: None. 
       
   275 		@since			6.0
       
   276 		@param			aDataLogger The output logging object.
       
   277 		@param			aObserver The observer of this UnitTest.
       
   278 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   279 		@pre 			None.
       
   280 		@post			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully constructed.
       
   281 	*/
       
   282 	inline CMailtoSchemeHandler_ParseUrlTest2_UnitTest(CDataLogger& aDataLogger,
       
   283 											MUnitTestObserver& aObserver);
       
   284 
       
   285 	/**
       
   286 		@fn				void ConstructL()
       
   287 		Intended Usage	: Second phase of safe two phase construction, 
       
   288 		to complete the object initialisation.
       
   289 		Error Condition	: Leaves with an error code.
       
   290 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   291 		@since			6.0
       
   292 		@return			None 
       
   293 		@pre 			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully constructed.
       
   294 		@post			CMailtoSchemeHandler_ParseUrlTest2_UnitTest is fully initialised.
       
   295 	*/
       
   296 	void ConstructL();
       
   297 
       
   298 	/**
       
   299 	The context of the Unit Test.
       
   300 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   301 	 */
       
   302 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   303 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   304 	// C'tor, d'tor, and method transition validators
       
   305 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   306 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest2Validator;
       
   307 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   308 
       
   309 	};	// CMailtoSchemeHandler_ParseUrlTest2_UnitTest
       
   310 
       
   311 // ______________________________________________________________________________
       
   312 //
       
   313 /**
       
   314 	@internalTechnology
       
   315 	@class
       
   316 	Comments : Unit Test for ParseUrlTest3 on CMailtoSchemeHandler, the class under test.
       
   317  */
       
   318 class CMailtoSchemeHandler_ParseUrlTest3_UnitTest : public CUnitTest
       
   319 	{
       
   320 public:
       
   321 	/**
       
   322 		@fn				NewL(CDataLogger& aDataLogger,
       
   323 							MUnitTestObserver& aObserver)
       
   324 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   325 						cleanup stack.
       
   326 		Error Condition	: Leaves with the error code.
       
   327 		@leave		KErrNoMemory
       
   328 		@since			6.0
       
   329 		@param			aDataLogger The output logging object.
       
   330 		@param			aObserver The observer of this UnitTest.
       
   331 		@return			CMailtoSchemeHandler_ParseUrlTest3_UnitTest* The constructed object.
       
   332 		@pre 			None.
       
   333 		@post			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully constructed, and initialised.
       
   334 	 */
       
   335 	static CMailtoSchemeHandler_ParseUrlTest3_UnitTest* NewL(CDataLogger& aDataLogger,
       
   336 											MUnitTestObserver& aObserver);
       
   337 
       
   338 	/**
       
   339 		@fn				RunError(TInt aError)
       
   340 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   341 						to restore the CMailtoSchemeHandler_ParseUrlTest3_UnitTest
       
   342 						object to a sensible state.
       
   343 						(called by the Active Scheduler immediately before the Panic).
       
   344 		Error Condition	: @see CUnitTest::RunError().
       
   345 		@since			6.0
       
   346 		@return			TInt KErrNone if cleanup successful, otherwise
       
   347 						@see CUnitTest::RunError()
       
   348 		@pre 			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully constructed, and initialised.
       
   349 		@post			The object has been restored to a sensible state.
       
   350 	 */
       
   351 	inline TInt RunError(TInt aError);
       
   352 
       
   353 	/**
       
   354 		@fn				~CMailtoSchemeHandler_ParseUrlTest3_UnitTest()
       
   355 		Intended Usage	: Standard Destructor.
       
   356 		Error Condition	: None.	
       
   357 		@since			6.0
       
   358 		@pre 			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully constructed.
       
   359 		@post			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully destroyed.
       
   360 	*/
       
   361 	~CMailtoSchemeHandler_ParseUrlTest3_UnitTest();
       
   362 
       
   363 private:
       
   364 	/**
       
   365 		@fn				CMailtoSchemeHandler_ParseUrlTest3_UnitTest(CDataLogger& aDataLogger,
       
   366 														MUnitTestObserver& aObserver)
       
   367 		Intended Usage	: Default constructor.
       
   368 		Error Condition	: None. 
       
   369 		@since			6.0
       
   370 		@param			aDataLogger The output logging object.
       
   371 		@param			aObserver The observer of this UnitTest.
       
   372 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   373 		@pre 			None.
       
   374 		@post			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully constructed.
       
   375 	*/
       
   376 	inline CMailtoSchemeHandler_ParseUrlTest3_UnitTest(CDataLogger& aDataLogger,
       
   377 											MUnitTestObserver& aObserver);
       
   378 
       
   379 	/**
       
   380 		@fn				void ConstructL()
       
   381 		Intended Usage	: Second phase of safe two phase construction, 
       
   382 		to complete the object initialisation.
       
   383 		Error Condition	: Leaves with an error code.
       
   384 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   385 		@since			6.0
       
   386 		@return			None 
       
   387 		@pre 			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully constructed.
       
   388 		@post			CMailtoSchemeHandler_ParseUrlTest3_UnitTest is fully initialised.
       
   389 	*/
       
   390 	void ConstructL();
       
   391 
       
   392 	/**
       
   393 	The context of the Unit Test.
       
   394 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   395 	 */
       
   396 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   397 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   398 	// C'tor, d'tor, and method transition validators
       
   399 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   400 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest3Validator;
       
   401 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   402 	};	// CMailtoSchemeHandler_ParseUrlTest3_UnitTest
       
   403 
       
   404 
       
   405 
       
   406 // ______________________________________________________________________________
       
   407 //
       
   408 /**
       
   409 	@internalTechnology
       
   410 	@class
       
   411 	Comments : Unit Test for ParseUrlTest4 on CMailtoSchemeHandler, the class under test.
       
   412  */
       
   413 class CMailtoSchemeHandler_ParseUrlTest4_UnitTest : public CUnitTest
       
   414 	{
       
   415 public:
       
   416 	/**
       
   417 		@fn				NewL(CDataLogger& aDataLogger,
       
   418 							MUnitTestObserver& aObserver)
       
   419 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   420 						cleanup stack.
       
   421 		Error Condition	: Leaves with the error code.
       
   422 		@leave		KErrNoMemory
       
   423 		@since			6.0
       
   424 		@param			aDataLogger The output logging object.
       
   425 		@param			aObserver The observer of this UnitTest.
       
   426 		@return			CMailtoSchemeHandler_ParseUrlTest4_UnitTest* The constructed object.
       
   427 		@pre 			None.
       
   428 		@post			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully constructed, and initialised.
       
   429 	 */
       
   430 	static CMailtoSchemeHandler_ParseUrlTest4_UnitTest* NewL(CDataLogger& aDataLogger,
       
   431 											MUnitTestObserver& aObserver);
       
   432 
       
   433 	/**
       
   434 		@fn				RunError(TInt aError)
       
   435 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   436 						to restore the CMailtoSchemeHandler_ParseUrlTest4_UnitTest
       
   437 						object to a sensible state.
       
   438 						(called by the Active Scheduler immediately before the Panic).
       
   439 		Error Condition	: @see CUnitTest::RunError().
       
   440 		@since			6.0
       
   441 		@return			TInt KErrNone if cleanup successful, otherwise
       
   442 						@see CUnitTest::RunError()
       
   443 		@pre 			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully constructed, and initialised.
       
   444 		@post			The object has been restored to a sensible state.
       
   445 	 */
       
   446 	inline TInt RunError(TInt aError);
       
   447 
       
   448 	/**
       
   449 		@fn				~CMailtoSchemeHandler_ParseUrlTest4_UnitTest()
       
   450 		Intended Usage	: Standard Destructor.
       
   451 		Error Condition	: None.	
       
   452 		@since			6.0
       
   453 		@pre 			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully constructed.
       
   454 		@post			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully destroyed.
       
   455 	*/
       
   456 	~CMailtoSchemeHandler_ParseUrlTest4_UnitTest();
       
   457 
       
   458 private:
       
   459 	/**
       
   460 		@fn				CMailtoSchemeHandler_ParseUrlTest4_UnitTest(CDataLogger& aDataLogger,
       
   461 														MUnitTestObserver& aObserver)
       
   462 		Intended Usage	: Default constructor.
       
   463 		Error Condition	: None. 
       
   464 		@since			6.0
       
   465 		@param			aDataLogger The output logging object.
       
   466 		@param			aObserver The observer of this UnitTest.
       
   467 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   468 		@pre 			None.
       
   469 		@post			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully constructed.
       
   470 	*/
       
   471 	inline CMailtoSchemeHandler_ParseUrlTest4_UnitTest(CDataLogger& aDataLogger,
       
   472 											MUnitTestObserver& aObserver);
       
   473 
       
   474 	/**
       
   475 		@fn				void ConstructL()
       
   476 		Intended Usage	: Second phase of safe two phase construction, 
       
   477 		to complete the object initialisation.
       
   478 		Error Condition	: Leaves with an error code.
       
   479 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   480 		@since			6.0
       
   481 		@return			None 
       
   482 		@pre 			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully constructed.
       
   483 		@post			CMailtoSchemeHandler_ParseUrlTest4_UnitTest is fully initialised.
       
   484 	*/
       
   485 	void ConstructL();
       
   486 
       
   487 	/**
       
   488 	The context of the Unit Test.
       
   489 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   490 	 */
       
   491 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   492 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   493 	// C'tor, d'tor, and method transition validators
       
   494 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   495 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest4Validator;
       
   496 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   497 	};	// CMailtoSchemeHandler_ParseUrlTest4_UnitTest
       
   498 
       
   499 // ______________________________________________________________________________
       
   500 //
       
   501 /**
       
   502 	@internalTechnology
       
   503 	@class
       
   504 	Comments : Unit Test for ParseUrlTest5 on CMailtoSchemeHandler, the class under test.
       
   505  */
       
   506 class CMailtoSchemeHandler_ParseUrlTest5_UnitTest : public CUnitTest
       
   507 	{
       
   508 public:
       
   509 	/**
       
   510 		@fn				NewL(CDataLogger& aDataLogger,
       
   511 							MUnitTestObserver& aObserver)
       
   512 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   513 						cleanup stack.
       
   514 		Error Condition	: Leaves with the error code.
       
   515 		@leave		KErrNoMemory
       
   516 		@since			6.0
       
   517 		@param			aDataLogger The output logging object.
       
   518 		@param			aObserver The observer of this UnitTest.
       
   519 		@return			CMailtoSchemeHandler_ParseUrlTest5_UnitTest* The constructed object.
       
   520 		@pre 			None.
       
   521 		@post			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully constructed, and initialised.
       
   522 	 */
       
   523 	static CMailtoSchemeHandler_ParseUrlTest5_UnitTest* NewL(CDataLogger& aDataLogger,
       
   524 											MUnitTestObserver& aObserver);
       
   525 
       
   526 	/**
       
   527 		@fn				RunError(TInt aError)
       
   528 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   529 						to restore the CMailtoSchemeHandler_ParseUrlTest5_UnitTest
       
   530 						object to a sensible state.
       
   531 						(called by the Active Scheduler immediately before the Panic).
       
   532 		Error Condition	: @see CUnitTest::RunError().
       
   533 		@since			6.0
       
   534 		@return			TInt KErrNone if cleanup successful, otherwise
       
   535 						@see CUnitTest::RunError()
       
   536 		@pre 			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully constructed, and initialised.
       
   537 		@post			The object has been restored to a sensible state.
       
   538 	 */
       
   539 	inline TInt RunError(TInt aError);
       
   540 
       
   541 	/**
       
   542 		@fn				~CMailtoSchemeHandler_ParseUrlTest5_UnitTest()
       
   543 		Intended Usage	: Standard Destructor.
       
   544 		Error Condition	: None.	
       
   545 		@since			6.0
       
   546 		@pre 			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully constructed.
       
   547 		@post			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully destroyed.
       
   548 	*/
       
   549 	~CMailtoSchemeHandler_ParseUrlTest5_UnitTest();
       
   550 
       
   551 private:
       
   552 	/**
       
   553 		@fn				CMailtoSchemeHandler_ParseUrlTest5_UnitTest(CDataLogger& aDataLogger,
       
   554 														MUnitTestObserver& aObserver)
       
   555 		Intended Usage	: Default constructor.
       
   556 		Error Condition	: None. 
       
   557 		@since			6.0
       
   558 		@param			aDataLogger The output logging object.
       
   559 		@param			aObserver The observer of this UnitTest.
       
   560 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   561 		@pre 			None.
       
   562 		@post			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully constructed.
       
   563 	*/
       
   564 	inline CMailtoSchemeHandler_ParseUrlTest5_UnitTest(CDataLogger& aDataLogger,
       
   565 											MUnitTestObserver& aObserver);
       
   566 
       
   567 	/**
       
   568 		@fn				void ConstructL()
       
   569 		Intended Usage	: Second phase of safe two phase construction, 
       
   570 		to complete the object initialisation.
       
   571 		Error Condition	: Leaves with an error code.
       
   572 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   573 		@since			6.0
       
   574 		@return			None 
       
   575 		@pre 			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully constructed.
       
   576 		@post			CMailtoSchemeHandler_ParseUrlTest5_UnitTest is fully initialised.
       
   577 	*/
       
   578 	void ConstructL();
       
   579 
       
   580 	/**
       
   581 	The context of the Unit Test.
       
   582 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   583 	 */
       
   584 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   585 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   586 	// C'tor, d'tor, and method transition validators
       
   587 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   588 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest5Validator;
       
   589 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   590 	};	// CMailtoSchemeHandler_ParseUrlTest5_UnitTest
       
   591 
       
   592 
       
   593 // ______________________________________________________________________________
       
   594 //
       
   595 /**
       
   596 	@internalTechnology
       
   597 	@class
       
   598 	Comments : Unit Test for ParseUrlTest6 on CMailtoSchemeHandler, the class under test.
       
   599  */
       
   600 class CMailtoSchemeHandler_ParseUrlTest6_UnitTest : public CUnitTest
       
   601 	{
       
   602 public:
       
   603 	/**
       
   604 		@fn				NewL(CDataLogger& aDataLogger,
       
   605 							MUnitTestObserver& aObserver)
       
   606 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   607 						cleanup stack.
       
   608 		Error Condition	: Leaves with the error code.
       
   609 		@leave		KErrNoMemory
       
   610 		@since			6.0
       
   611 		@param			aDataLogger The output logging object.
       
   612 		@param			aObserver The observer of this UnitTest.
       
   613 		@return			CMailtoSchemeHandler_ParseUrlTest6_UnitTest* The constructed object.
       
   614 		@pre 			None.
       
   615 		@post			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully constructed, and initialised.
       
   616 	 */
       
   617 	static CMailtoSchemeHandler_ParseUrlTest6_UnitTest* NewL(CDataLogger& aDataLogger,
       
   618 											MUnitTestObserver& aObserver);
       
   619 
       
   620 	/**
       
   621 		@fn				RunError(TInt aError)
       
   622 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   623 						to restore the CMailtoSchemeHandler_ParseUrlTest6_UnitTest
       
   624 						object to a sensible state.
       
   625 						(called by the Active Scheduler immediately before the Panic).
       
   626 		Error Condition	: @see CUnitTest::RunError().
       
   627 		@since			6.0
       
   628 		@return			TInt KErrNone if cleanup successful, otherwise
       
   629 						@see CUnitTest::RunError()
       
   630 		@pre 			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully constructed, and initialised.
       
   631 		@post			The object has been restored to a sensible state.
       
   632 	 */
       
   633 	inline TInt RunError(TInt aError);
       
   634 
       
   635 	/**
       
   636 		@fn				~CMailtoSchemeHandler_ParseUrlTest6_UnitTest()
       
   637 		Intended Usage	: Standard Destructor.
       
   638 		Error Condition	: None.	
       
   639 		@since			6.0
       
   640 		@pre 			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully constructed.
       
   641 		@post			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully destroyed.
       
   642 	*/
       
   643 	~CMailtoSchemeHandler_ParseUrlTest6_UnitTest();
       
   644 
       
   645 private:
       
   646 	/**
       
   647 		@fn				CMailtoSchemeHandler_ParseUrlTest6_UnitTest(CDataLogger& aDataLogger,
       
   648 														MUnitTestObserver& aObserver)
       
   649 		Intended Usage	: Default constructor.
       
   650 		Error Condition	: None. 
       
   651 		@since			6.0
       
   652 		@param			aDataLogger The output logging object.
       
   653 		@param			aObserver The observer of this UnitTest.
       
   654 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   655 		@pre 			None.
       
   656 		@post			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully constructed.
       
   657 	*/
       
   658 	inline CMailtoSchemeHandler_ParseUrlTest6_UnitTest(CDataLogger& aDataLogger,
       
   659 											MUnitTestObserver& aObserver);
       
   660 
       
   661 	/**
       
   662 		@fn				void ConstructL()
       
   663 		Intended Usage	: Second phase of safe two phase construction, 
       
   664 		to complete the object initialisation.
       
   665 		Error Condition	: Leaves with an error code.
       
   666 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   667 		@since			6.0
       
   668 		@return			None 
       
   669 		@pre 			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully constructed.
       
   670 		@post			CMailtoSchemeHandler_ParseUrlTest6_UnitTest is fully initialised.
       
   671 	*/
       
   672 	void ConstructL();
       
   673 
       
   674 	/**
       
   675 	The context of the Unit Test.
       
   676 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   677 	 */
       
   678 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   679 	TMailtoSchemeHandler_StateAccessor* iStateAccessor;
       
   680 	// C'tor, d'tor, and method transition validators
       
   681 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   682 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest6Validator;
       
   683 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;	
       
   684 	};	// CMailtoSchemeHandler_ParseUrlTest6_UnitTest
       
   685 
       
   686 
       
   687 // ______________________________________________________________________________
       
   688 //
       
   689 /**
       
   690 	@internalTechnology
       
   691 	@class
       
   692 	Comments : Unit Test for ParseUrlTest7 on CMailtoSchemeHandler, the class under test.
       
   693  */
       
   694 class CMailtoSchemeHandler_ParseUrlTest7_UnitTest : public CUnitTest
       
   695 	{
       
   696 public:
       
   697 	/**
       
   698 		@fn				NewL(CDataLogger& aDataLogger,
       
   699 							MUnitTestObserver& aObserver)
       
   700 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   701 						cleanup stack.
       
   702 		Error Condition	: Leaves with the error code.
       
   703 		@leave		KErrNoMemory
       
   704 		@since			6.0
       
   705 		@param			aDataLogger The output logging object.
       
   706 		@param			aObserver The observer of this UnitTest.
       
   707 		@return			CMailtoSchemeHandler_ParseUrlTest7_UnitTest* The constructed object.
       
   708 		@pre 			None.
       
   709 		@post			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully constructed, and initialised.
       
   710 	 */
       
   711 	static CMailtoSchemeHandler_ParseUrlTest7_UnitTest* NewL(CDataLogger& aDataLogger,
       
   712 											MUnitTestObserver& aObserver);
       
   713 
       
   714 	/**
       
   715 		@fn				RunError(TInt aError)
       
   716 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   717 						to restore the CMailtoSchemeHandler_ParseUrlTest7_UnitTest
       
   718 						object to a sensible state.
       
   719 						(called by the Active Scheduler immediately before the Panic).
       
   720 		Error Condition	: @see CUnitTest::RunError().
       
   721 		@since			6.0
       
   722 		@return			TInt KErrNone if cleanup successful, otherwise
       
   723 						@see CUnitTest::RunError()
       
   724 		@pre 			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully constructed, and initialised.
       
   725 		@post			The object has been restored to a sensible state.
       
   726 	 */
       
   727 	inline TInt RunError(TInt aError);
       
   728 
       
   729 	/**
       
   730 		@fn				~CMailtoSchemeHandler_ParseUrlTest7_UnitTest()
       
   731 		Intended Usage	: Standard Destructor.
       
   732 		Error Condition	: None.	
       
   733 		@since			6.0
       
   734 		@pre 			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully constructed.
       
   735 		@post			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully destroyed.
       
   736 	*/
       
   737 	~CMailtoSchemeHandler_ParseUrlTest7_UnitTest();
       
   738 
       
   739 private:
       
   740 	/**
       
   741 		@fn				CMailtoSchemeHandler_ParseUrlTest7_UnitTest(CDataLogger& aDataLogger,
       
   742 														MUnitTestObserver& aObserver)
       
   743 		Intended Usage	: Default constructor.
       
   744 		Error Condition	: None. 
       
   745 		@since			6.0
       
   746 		@param			aDataLogger The output logging object.
       
   747 		@param			aObserver The observer of this UnitTest.
       
   748 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   749 		@pre 			None.
       
   750 		@post			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully constructed.
       
   751 	*/
       
   752 	inline CMailtoSchemeHandler_ParseUrlTest7_UnitTest(CDataLogger& aDataLogger,
       
   753 											MUnitTestObserver& aObserver);
       
   754 
       
   755 	/**
       
   756 		@fn				void ConstructL()
       
   757 		Intended Usage	: Second phase of safe two phase construction, 
       
   758 		to complete the object initialisation.
       
   759 		Error Condition	: Leaves with an error code.
       
   760 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   761 		@since			6.0
       
   762 		@return			None 
       
   763 		@pre 			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully constructed.
       
   764 		@post			CMailtoSchemeHandler_ParseUrlTest7_UnitTest is fully initialised.
       
   765 	*/
       
   766 	void ConstructL();
       
   767 
       
   768 	/**
       
   769 	The context of the Unit Test.
       
   770 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   771 	 */
       
   772 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   773 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   774 	// C'tor, d'tor, and method transition validators
       
   775 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   776 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest7Validator;
       
   777 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   778 	};	// CMailtoSchemeHandler_ParseUrlTest7_UnitTest
       
   779 
       
   780 
       
   781 
       
   782 // ______________________________________________________________________________
       
   783 //
       
   784 /**
       
   785 	@internalTechnology
       
   786 	@class
       
   787 	Comments : Unit Test for ParseUrlTest8 on CMailtoSchemeHandler, the class under test.
       
   788  */
       
   789 class CMailtoSchemeHandler_ParseUrlTest8_UnitTest : public CUnitTest
       
   790 	{
       
   791 public:
       
   792 	/**
       
   793 		@fn				NewL(CDataLogger& aDataLogger,
       
   794 							MUnitTestObserver& aObserver)
       
   795 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   796 						cleanup stack.
       
   797 		Error Condition	: Leaves with the error code.
       
   798 		@leave		KErrNoMemory
       
   799 		@since			6.0
       
   800 		@param			aDataLogger The output logging object.
       
   801 		@param			aObserver The observer of this UnitTest.
       
   802 		@return			CMailtoSchemeHandler_ParseUrlTest8_UnitTest* The constructed object.
       
   803 		@pre 			None.
       
   804 		@post			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully constructed, and initialised.
       
   805 	 */
       
   806 	static CMailtoSchemeHandler_ParseUrlTest8_UnitTest* NewL(CDataLogger& aDataLogger,
       
   807 											MUnitTestObserver& aObserver);
       
   808 
       
   809 	/**
       
   810 		@fn				RunError(TInt aError)
       
   811 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   812 						to restore the CMailtoSchemeHandler_ParseUrlTest8_UnitTest
       
   813 						object to a sensible state.
       
   814 						(called by the Active Scheduler immediately before the Panic).
       
   815 		Error Condition	: @see CUnitTest::RunError().
       
   816 		@since			6.0
       
   817 		@return			TInt KErrNone if cleanup successful, otherwise
       
   818 						@see CUnitTest::RunError()
       
   819 		@pre 			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully constructed, and initialised.
       
   820 		@post			The object has been restored to a sensible state.
       
   821 	 */
       
   822 	inline TInt RunError(TInt aError);
       
   823 
       
   824 	/**
       
   825 		@fn				~CMailtoSchemeHandler_ParseUrlTest8_UnitTest()
       
   826 		Intended Usage	: Standard Destructor.
       
   827 		Error Condition	: None.	
       
   828 		@since			6.0
       
   829 		@pre 			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully constructed.
       
   830 		@post			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully destroyed.
       
   831 	*/
       
   832 	~CMailtoSchemeHandler_ParseUrlTest8_UnitTest();
       
   833 
       
   834 private:
       
   835 	/**
       
   836 		@fn				CMailtoSchemeHandler_ParseUrlTest8_UnitTest(CDataLogger& aDataLogger,
       
   837 														MUnitTestObserver& aObserver)
       
   838 		Intended Usage	: Default constructor.
       
   839 		Error Condition	: None. 
       
   840 		@since			6.0
       
   841 		@param			aDataLogger The output logging object.
       
   842 		@param			aObserver The observer of this UnitTest.
       
   843 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   844 		@pre 			None.
       
   845 		@post			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully constructed.
       
   846 	*/
       
   847 	inline CMailtoSchemeHandler_ParseUrlTest8_UnitTest(CDataLogger& aDataLogger,
       
   848 											MUnitTestObserver& aObserver);
       
   849 
       
   850 	/**
       
   851 		@fn				void ConstructL()
       
   852 		Intended Usage	: Second phase of safe two phase construction, 
       
   853 		to complete the object initialisation.
       
   854 		Error Condition	: Leaves with an error code.
       
   855 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   856 		@since			6.0
       
   857 		@return			None 
       
   858 		@pre 			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully constructed.
       
   859 		@post			CMailtoSchemeHandler_ParseUrlTest8_UnitTest is fully initialised.
       
   860 	*/
       
   861 	void ConstructL();
       
   862 
       
   863 	/**
       
   864 	The context of the Unit Test.
       
   865 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   866 	 */
       
   867 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   868 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   869 	// C'tor, d'tor, and method transition validators
       
   870 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   871 	TMailtoSchemeHandler_ParseUrlTest1_TransitionValidator*	iParseUrlTest8Validator;
       
   872 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   873 	};	// CMailtoSchemeHandler_ParseUrlTest8_UnitTest
       
   874 
       
   875 // ______________________________________________________________________________
       
   876 //
       
   877 /**
       
   878 	@internalTechnology
       
   879 	@class
       
   880 	Comments : Unit Test for ParseUrlTest9 on CMailtoSchemeHandler, the class under test.
       
   881  */
       
   882 class CMailtoSchemeHandler_ParseUrlTest9_UnitTest : public CUnitTest
       
   883 	{
       
   884 public:
       
   885 	/**
       
   886 		@fn				NewL(CDataLogger& aDataLogger,
       
   887 							MUnitTestObserver& aObserver)
       
   888 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   889 						cleanup stack.
       
   890 		Error Condition	: Leaves with the error code.
       
   891 		@leave		KErrNoMemory
       
   892 		@since			6.0
       
   893 		@param			aDataLogger The output logging object.
       
   894 		@param			aObserver The observer of this UnitTest.
       
   895 		@return			CMailtoSchemeHandler_ParseUrlTest9_UnitTest* The constructed object.
       
   896 		@pre 			None.
       
   897 		@post			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully constructed, and initialised.
       
   898 	 */
       
   899 	static CMailtoSchemeHandler_ParseUrlTest9_UnitTest* NewL(CDataLogger& aDataLogger,
       
   900 											MUnitTestObserver& aObserver);
       
   901 
       
   902 	/**
       
   903 		@fn				RunError(TInt aError)
       
   904 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   905 						to restore the CMailtoSchemeHandler_ParseUrlTest9_UnitTest
       
   906 						object to a sensible state.
       
   907 						(called by the Active Scheduler immediately before the Panic).
       
   908 		Error Condition	: @see CUnitTest::RunError().
       
   909 		@since			6.0
       
   910 		@return			TInt KErrNone if cleanup successful, otherwise
       
   911 						@see CUnitTest::RunError()
       
   912 		@pre 			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully constructed, and initialised.
       
   913 		@post			The object has been restored to a sensible state.
       
   914 	 */
       
   915 	inline TInt RunError(TInt aError);
       
   916 
       
   917 	/**
       
   918 		@fn				~CMailtoSchemeHandler_ParseUrlTest9_UnitTest()
       
   919 		Intended Usage	: Standard Destructor.
       
   920 		Error Condition	: None.	
       
   921 		@since			6.0
       
   922 		@pre 			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully constructed.
       
   923 		@post			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully destroyed.
       
   924 	*/
       
   925 	~CMailtoSchemeHandler_ParseUrlTest9_UnitTest();
       
   926 
       
   927 private:
       
   928 	/**
       
   929 		@fn				CMailtoSchemeHandler_ParseUrlTest9_UnitTest(CDataLogger& aDataLogger,
       
   930 														MUnitTestObserver& aObserver)
       
   931 		Intended Usage	: Default constructor.
       
   932 		Error Condition	: None. 
       
   933 		@since			6.0
       
   934 		@param			aDataLogger The output logging object.
       
   935 		@param			aObserver The observer of this UnitTest.
       
   936 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
   937 		@pre 			None.
       
   938 		@post			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully constructed.
       
   939 	*/
       
   940 	inline CMailtoSchemeHandler_ParseUrlTest9_UnitTest(CDataLogger& aDataLogger,
       
   941 											MUnitTestObserver& aObserver);
       
   942 
       
   943 	/**
       
   944 		@fn				void ConstructL()
       
   945 		Intended Usage	: Second phase of safe two phase construction, 
       
   946 		to complete the object initialisation.
       
   947 		Error Condition	: Leaves with an error code.
       
   948 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   949 		@since			6.0
       
   950 		@return			None 
       
   951 		@pre 			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully constructed.
       
   952 		@post			CMailtoSchemeHandler_ParseUrlTest9_UnitTest is fully initialised.
       
   953 	*/
       
   954 	void ConstructL();
       
   955 
       
   956 	/**
       
   957 	The context of the Unit Test.
       
   958 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
   959 	 */
       
   960 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
   961 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
   962 	// C'tor, d'tor, and method transition validators
       
   963 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
   964 	TMailtoSchemeHandler_ParseUrlTest9_TransitionValidator*	iParseUrlTest9Validator;
       
   965 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
   966 	};	// CMailtoSchemeHandler_ParseUrlTest9_UnitTest
       
   967 
       
   968 // ______________________________________________________________________________
       
   969 //
       
   970 /**
       
   971 	@internalTechnology
       
   972 	@class
       
   973 	Comments : Unit Test for ParseUrlTest10 on CMailtoSchemeHandler, the class under test.
       
   974  */
       
   975 class CMailtoSchemeHandler_ParseUrlTest10_UnitTest : public CUnitTest
       
   976 	{
       
   977 public:
       
   978 	/**
       
   979 		@fn				NewL(CDataLogger& aDataLogger,
       
   980 							MUnitTestObserver& aObserver)
       
   981 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   982 						cleanup stack.
       
   983 		Error Condition	: Leaves with the error code.
       
   984 		@leave		KErrNoMemory
       
   985 		@since			6.0
       
   986 		@param			aDataLogger The output logging object.
       
   987 		@param			aObserver The observer of this UnitTest.
       
   988 		@return			CMailtoSchemeHandler_ParseUrlTest10_UnitTest* The constructed object.
       
   989 		@pre 			None.
       
   990 		@post			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully constructed, and initialised.
       
   991 	 */
       
   992 	static CMailtoSchemeHandler_ParseUrlTest10_UnitTest* NewL(CDataLogger& aDataLogger,
       
   993 											MUnitTestObserver& aObserver);
       
   994 
       
   995 	/**
       
   996 		@fn				RunError(TInt aError)
       
   997 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   998 						to restore the CMailtoSchemeHandler_ParseUrlTest10_UnitTest
       
   999 						object to a sensible state.
       
  1000 						(called by the Active Scheduler immediately before the Panic).
       
  1001 		Error Condition	: @see CUnitTest::RunError().
       
  1002 		@since			6.0
       
  1003 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1004 						@see CUnitTest::RunError()
       
  1005 		@pre 			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully constructed, and initialised.
       
  1006 		@post			The object has been restored to a sensible state.
       
  1007 	 */
       
  1008 	inline TInt RunError(TInt aError);
       
  1009 
       
  1010 	/**
       
  1011 		@fn				~CMailtoSchemeHandler_ParseUrlTest10_UnitTest()
       
  1012 		Intended Usage	: Standard Destructor.
       
  1013 		Error Condition	: None.	
       
  1014 		@since			6.0
       
  1015 		@pre 			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully constructed.
       
  1016 		@post			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully destroyed.
       
  1017 	*/
       
  1018 	~CMailtoSchemeHandler_ParseUrlTest10_UnitTest();
       
  1019 
       
  1020 private:
       
  1021 	/**
       
  1022 		@fn				CMailtoSchemeHandler_ParseUrlTest10_UnitTest(CDataLogger& aDataLogger,
       
  1023 														MUnitTestObserver& aObserver)
       
  1024 		Intended Usage	: Default constructor.
       
  1025 		Error Condition	: None. 
       
  1026 		@since			6.0
       
  1027 		@param			aDataLogger The output logging object.
       
  1028 		@param			aObserver The observer of this UnitTest.
       
  1029 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1030 		@pre 			None.
       
  1031 		@post			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully constructed.
       
  1032 	*/
       
  1033 	inline CMailtoSchemeHandler_ParseUrlTest10_UnitTest(CDataLogger& aDataLogger,
       
  1034 											MUnitTestObserver& aObserver);
       
  1035 
       
  1036 	/**
       
  1037 		@fn				void ConstructL()
       
  1038 		Intended Usage	: Second phase of safe two phase construction, 
       
  1039 		to complete the object initialisation.
       
  1040 		Error Condition	: Leaves with an error code.
       
  1041 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1042 		@since			6.0
       
  1043 		@return			None 
       
  1044 		@pre 			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully constructed.
       
  1045 		@post			CMailtoSchemeHandler_ParseUrlTest10_UnitTest is fully initialised.
       
  1046 	*/
       
  1047 	void ConstructL();
       
  1048 
       
  1049 	/**
       
  1050 	The context of the Unit Test.
       
  1051 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1052 	 */
       
  1053 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1054 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1055 	// C'tor, d'tor, and method transition validators
       
  1056 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1057 	TMailtoSchemeHandler_ParseUrlTest9_TransitionValidator*	iParseUrlTest10Validator;
       
  1058 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1059 	};	// CMailtoSchemeHandler_ParseUrlTest10_UnitTest
       
  1060 
       
  1061 // ______________________________________________________________________________
       
  1062 //
       
  1063 /**
       
  1064 	@internalTechnology
       
  1065 	@class
       
  1066 	Comments : Unit Test for ParseUrlTest11 on CMailtoSchemeHandler, the class under test.
       
  1067  */
       
  1068 class CMailtoSchemeHandler_ParseUrlTest11_UnitTest : public CUnitTest
       
  1069 	{
       
  1070 public:
       
  1071 	/**
       
  1072 		@fn				NewL(CDataLogger& aDataLogger,
       
  1073 							MUnitTestObserver& aObserver)
       
  1074 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1075 						cleanup stack.
       
  1076 		Error Condition	: Leaves with the error code.
       
  1077 		@leave		KErrNoMemory
       
  1078 		@since			6.0
       
  1079 		@param			aDataLogger The output logging object.
       
  1080 		@param			aObserver The observer of this UnitTest.
       
  1081 		@return			CMailtoSchemeHandler_ParseUrlTest11_UnitTest* The constructed object.
       
  1082 		@pre 			None.
       
  1083 		@post			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully constructed, and initialised.
       
  1084 	 */
       
  1085 	static CMailtoSchemeHandler_ParseUrlTest11_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1086 											MUnitTestObserver& aObserver);
       
  1087 
       
  1088 	/**
       
  1089 		@fn				RunError(TInt aError)
       
  1090 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1091 						to restore the CMailtoSchemeHandler_ParseUrlTest11_UnitTest
       
  1092 						object to a sensible state.
       
  1093 						(called by the Active Scheduler immediately before the Panic).
       
  1094 		Error Condition	: @see CUnitTest::RunError().
       
  1095 		@since			6.0
       
  1096 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1097 						@see CUnitTest::RunError()
       
  1098 		@pre 			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully constructed, and initialised.
       
  1099 		@post			The object has been restored to a sensible state.
       
  1100 	 */
       
  1101 	inline TInt RunError(TInt aError);
       
  1102 
       
  1103 	/**
       
  1104 		@fn				~CMailtoSchemeHandler_ParseUrlTest11_UnitTest()
       
  1105 		Intended Usage	: Standard Destructor.
       
  1106 		Error Condition	: None.	
       
  1107 		@since			6.0
       
  1108 		@pre 			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully constructed.
       
  1109 		@post			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully destroyed.
       
  1110 	*/
       
  1111 	~CMailtoSchemeHandler_ParseUrlTest11_UnitTest();
       
  1112 
       
  1113 private:
       
  1114 	/**
       
  1115 		@fn				CMailtoSchemeHandler_ParseUrlTest11_UnitTest(CDataLogger& aDataLogger,
       
  1116 														MUnitTestObserver& aObserver)
       
  1117 		Intended Usage	: Default constructor.
       
  1118 		Error Condition	: None. 
       
  1119 		@since			6.0
       
  1120 		@param			aDataLogger The output logging object.
       
  1121 		@param			aObserver The observer of this UnitTest.
       
  1122 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1123 		@pre 			None.
       
  1124 		@post			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully constructed.
       
  1125 	*/
       
  1126 	inline CMailtoSchemeHandler_ParseUrlTest11_UnitTest(CDataLogger& aDataLogger,
       
  1127 											MUnitTestObserver& aObserver);
       
  1128 
       
  1129 	/**
       
  1130 		@fn				void ConstructL()
       
  1131 		Intended Usage	: Second phase of safe two phase construction, 
       
  1132 		to complete the object initialisation.
       
  1133 		Error Condition	: Leaves with an error code.
       
  1134 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1135 		@since			6.0
       
  1136 		@return			None 
       
  1137 		@pre 			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully constructed.
       
  1138 		@post			CMailtoSchemeHandler_ParseUrlTest11_UnitTest is fully initialised.
       
  1139 	*/
       
  1140 	void ConstructL();
       
  1141 
       
  1142 	/**
       
  1143 	The context of the Unit Test.
       
  1144 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1145 	 */
       
  1146 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1147 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1148 	// C'tor, d'tor, and method transition validators
       
  1149 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1150 	TMailtoSchemeHandler_ParseUrlTest9_TransitionValidator*	iParseUrlTest11Validator;
       
  1151 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1152 	};	// CMailtoSchemeHandler_ParseUrlTest11_UnitTest
       
  1153 
       
  1154 
       
  1155 // ______________________________________________________________________________
       
  1156 //
       
  1157 /**
       
  1158 	@internalTechnology
       
  1159 	@class
       
  1160 	Comments : Unit Test for ParseUrlTest12 on CMailtoSchemeHandler, the class under test.
       
  1161  */
       
  1162 class CMailtoSchemeHandler_ParseUrlTest12_UnitTest : public CUnitTest
       
  1163 	{
       
  1164 public:
       
  1165 	/**
       
  1166 		@fn				NewL(CDataLogger& aDataLogger,
       
  1167 							MUnitTestObserver& aObserver)
       
  1168 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1169 						cleanup stack.
       
  1170 		Error Condition	: Leaves with the error code.
       
  1171 		@leave		KErrNoMemory
       
  1172 		@since			6.0
       
  1173 		@param			aDataLogger The output logging object.
       
  1174 		@param			aObserver The observer of this UnitTest.
       
  1175 		@return			CMailtoSchemeHandler_ParseUrlTest12_UnitTest* The constructed object.
       
  1176 		@pre 			None.
       
  1177 		@post			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully constructed, and initialised.
       
  1178 	 */
       
  1179 	static CMailtoSchemeHandler_ParseUrlTest12_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1180 											MUnitTestObserver& aObserver);
       
  1181 
       
  1182 	/**
       
  1183 		@fn				RunError(TInt aError)
       
  1184 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1185 						to restore the CMailtoSchemeHandler_ParseUrlTest12_UnitTest
       
  1186 						object to a sensible state.
       
  1187 						(called by the Active Scheduler immediately before the Panic).
       
  1188 		Error Condition	: @see CUnitTest::RunError().
       
  1189 		@since			6.0
       
  1190 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1191 						@see CUnitTest::RunError()
       
  1192 		@pre 			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully constructed, and initialised.
       
  1193 		@post			The object has been restored to a sensible state.
       
  1194 	 */
       
  1195 	inline TInt RunError(TInt aError);
       
  1196 
       
  1197 	/**
       
  1198 		@fn				~CMailtoSchemeHandler_ParseUrlTest12_UnitTest()
       
  1199 		Intended Usage	: Standard Destructor.
       
  1200 		Error Condition	: None.	
       
  1201 		@since			6.0
       
  1202 		@pre 			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully constructed.
       
  1203 		@post			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully destroyed.
       
  1204 	*/
       
  1205 	~CMailtoSchemeHandler_ParseUrlTest12_UnitTest();
       
  1206 
       
  1207 private:
       
  1208 	/**
       
  1209 		@fn				CMailtoSchemeHandler_ParseUrlTest12_UnitTest(CDataLogger& aDataLogger,
       
  1210 														MUnitTestObserver& aObserver)
       
  1211 		Intended Usage	: Default constructor.
       
  1212 		Error Condition	: None. 
       
  1213 		@since			6.0
       
  1214 		@param			aDataLogger The output logging object.
       
  1215 		@param			aObserver The observer of this UnitTest.
       
  1216 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1217 		@pre 			None.
       
  1218 		@post			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully constructed.
       
  1219 	*/
       
  1220 	inline CMailtoSchemeHandler_ParseUrlTest12_UnitTest(CDataLogger& aDataLogger,
       
  1221 											MUnitTestObserver& aObserver);
       
  1222 
       
  1223 	/**
       
  1224 		@fn				void ConstructL()
       
  1225 		Intended Usage	: Second phase of safe two phase construction, 
       
  1226 		to complete the object initialisation.
       
  1227 		Error Condition	: Leaves with an error code.
       
  1228 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1229 		@since			6.0
       
  1230 		@return			None 
       
  1231 		@pre 			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully constructed.
       
  1232 		@post			CMailtoSchemeHandler_ParseUrlTest12_UnitTest is fully initialised.
       
  1233 	*/
       
  1234 	void ConstructL();
       
  1235 
       
  1236 	/**
       
  1237 	The context of the Unit Test.
       
  1238 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1239 	 */
       
  1240 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1241 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1242 	// C'tor, d'tor, and method transition validators
       
  1243 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1244 	TMailtoSchemeHandler_ParseUrlTest12_TransitionValidator*	iParseUrlTest12Validator;
       
  1245 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1246 	};	// CMailtoSchemeHandler_ParseUrlTest12_UnitTest
       
  1247 
       
  1248 // ______________________________________________________________________________
       
  1249 //
       
  1250 /**
       
  1251 	@internalTechnology
       
  1252 	@class
       
  1253 	Comments : Unit Test for ParseUrlTest13 on CMailtoSchemeHandler, the class under test.
       
  1254  */
       
  1255 class CMailtoSchemeHandler_ParseUrlTest13_UnitTest : public CUnitTest
       
  1256 	{
       
  1257 public:
       
  1258 	/**
       
  1259 		@fn				NewL(CDataLogger& aDataLogger,
       
  1260 							MUnitTestObserver& aObserver)
       
  1261 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1262 						cleanup stack.
       
  1263 		Error Condition	: Leaves with the error code.
       
  1264 		@leave		KErrNoMemory
       
  1265 		@since			6.0
       
  1266 		@param			aDataLogger The output logging object.
       
  1267 		@param			aObserver The observer of this UnitTest.
       
  1268 		@return			CMailtoSchemeHandler_ParseUrlTest13_UnitTest* The constructed object.
       
  1269 		@pre 			None.
       
  1270 		@post			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully constructed, and initialised.
       
  1271 	 */
       
  1272 	static CMailtoSchemeHandler_ParseUrlTest13_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1273 											MUnitTestObserver& aObserver);
       
  1274 
       
  1275 	/**
       
  1276 		@fn				RunError(TInt aError)
       
  1277 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1278 						to restore the CMailtoSchemeHandler_ParseUrlTest13_UnitTest
       
  1279 						object to a sensible state.
       
  1280 						(called by the Active Scheduler immediately before the Panic).
       
  1281 		Error Condition	: @see CUnitTest::RunError().
       
  1282 		@since			6.0
       
  1283 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1284 						@see CUnitTest::RunError()
       
  1285 		@pre 			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully constructed, and initialised.
       
  1286 		@post			The object has been restored to a sensible state.
       
  1287 	 */
       
  1288 	inline TInt RunError(TInt aError);
       
  1289 
       
  1290 	/**
       
  1291 		@fn				~CMailtoSchemeHandler_ParseUrlTest13_UnitTest()
       
  1292 		Intended Usage	: Standard Destructor.
       
  1293 		Error Condition	: None.	
       
  1294 		@since			6.0
       
  1295 		@pre 			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully constructed.
       
  1296 		@post			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully destroyed.
       
  1297 	*/
       
  1298 	~CMailtoSchemeHandler_ParseUrlTest13_UnitTest();
       
  1299 
       
  1300 private:
       
  1301 	/**
       
  1302 		@fn				CMailtoSchemeHandler_ParseUrlTest13_UnitTest(CDataLogger& aDataLogger,
       
  1303 														MUnitTestObserver& aObserver)
       
  1304 		Intended Usage	: Default constructor.
       
  1305 		Error Condition	: None. 
       
  1306 		@since			6.0
       
  1307 		@param			aDataLogger The output logging object.
       
  1308 		@param			aObserver The observer of this UnitTest.
       
  1309 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1310 		@pre 			None.
       
  1311 		@post			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully constructed.
       
  1312 	*/
       
  1313 	inline CMailtoSchemeHandler_ParseUrlTest13_UnitTest(CDataLogger& aDataLogger,
       
  1314 											MUnitTestObserver& aObserver);
       
  1315 
       
  1316 	/**
       
  1317 		@fn				void ConstructL()
       
  1318 		Intended Usage	: Second phase of safe two phase construction, 
       
  1319 		to complete the object initialisation.
       
  1320 		Error Condition	: Leaves with an error code.
       
  1321 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1322 		@since			6.0
       
  1323 		@return			None 
       
  1324 		@pre 			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully constructed.
       
  1325 		@post			CMailtoSchemeHandler_ParseUrlTest13_UnitTest is fully initialised.
       
  1326 	*/
       
  1327 	void ConstructL();
       
  1328 
       
  1329 	/**
       
  1330 	The context of the Unit Test.
       
  1331 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1332 	 */
       
  1333 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1334 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1335 	// C'tor, d'tor, and method transition validators
       
  1336 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1337 	TMailtoSchemeHandler_ParseUrlTest12_TransitionValidator*	iParseUrlTest13Validator;
       
  1338 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1339 	};	// CMailtoSchemeHandler_ParseUrlTest13_UnitTest
       
  1340 
       
  1341 // ______________________________________________________________________________
       
  1342 //
       
  1343 /**
       
  1344 	@internalTechnology
       
  1345 	@class
       
  1346 	Comments : Unit Test for ParseUrlTest14 on CMailtoSchemeHandler, the class under test.
       
  1347  */
       
  1348 class CMailtoSchemeHandler_ParseUrlTest14_UnitTest : public CUnitTest
       
  1349 	{
       
  1350 public:
       
  1351 	/**
       
  1352 		@fn				NewL(CDataLogger& aDataLogger,
       
  1353 							MUnitTestObserver& aObserver)
       
  1354 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1355 						cleanup stack.
       
  1356 		Error Condition	: Leaves with the error code.
       
  1357 		@leave		KErrNoMemory
       
  1358 		@since			6.0
       
  1359 		@param			aDataLogger The output logging object.
       
  1360 		@param			aObserver The observer of this UnitTest.
       
  1361 		@return			CMailtoSchemeHandler_ParseUrlTest14_UnitTest* The constructed object.
       
  1362 		@pre 			None.
       
  1363 		@post			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully constructed, and initialised.
       
  1364 	 */
       
  1365 	static CMailtoSchemeHandler_ParseUrlTest14_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1366 											MUnitTestObserver& aObserver);
       
  1367 
       
  1368 	/**
       
  1369 		@fn				RunError(TInt aError)
       
  1370 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1371 						to restore the CMailtoSchemeHandler_ParseUrlTest14_UnitTest
       
  1372 						object to a sensible state.
       
  1373 						(called by the Active Scheduler immediately before the Panic).
       
  1374 		Error Condition	: @see CUnitTest::RunError().
       
  1375 		@since			6.0
       
  1376 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1377 						@see CUnitTest::RunError()
       
  1378 		@pre 			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully constructed, and initialised.
       
  1379 		@post			The object has been restored to a sensible state.
       
  1380 	 */
       
  1381 	inline TInt RunError(TInt aError);
       
  1382 
       
  1383 	/**
       
  1384 		@fn				~CMailtoSchemeHandler_ParseUrlTest14_UnitTest()
       
  1385 		Intended Usage	: Standard Destructor.
       
  1386 		Error Condition	: None.	
       
  1387 		@since			6.0
       
  1388 		@pre 			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully constructed.
       
  1389 		@post			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully destroyed.
       
  1390 	*/
       
  1391 	~CMailtoSchemeHandler_ParseUrlTest14_UnitTest();
       
  1392 
       
  1393 private:
       
  1394 	/**
       
  1395 		@fn				CMailtoSchemeHandler_ParseUrlTest14_UnitTest(CDataLogger& aDataLogger,
       
  1396 														MUnitTestObserver& aObserver)
       
  1397 		Intended Usage	: Default constructor.
       
  1398 		Error Condition	: None. 
       
  1399 		@since			6.0
       
  1400 		@param			aDataLogger The output logging object.
       
  1401 		@param			aObserver The observer of this UnitTest.
       
  1402 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1403 		@pre 			None.
       
  1404 		@post			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully constructed.
       
  1405 	*/
       
  1406 	inline CMailtoSchemeHandler_ParseUrlTest14_UnitTest(CDataLogger& aDataLogger,
       
  1407 											MUnitTestObserver& aObserver);
       
  1408 
       
  1409 	/**
       
  1410 		@fn				void ConstructL()
       
  1411 		Intended Usage	: Second phase of safe two phase construction, 
       
  1412 		to complete the object initialisation.
       
  1413 		Error Condition	: Leaves with an error code.
       
  1414 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1415 		@since			6.0
       
  1416 		@return			None 
       
  1417 		@pre 			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully constructed.
       
  1418 		@post			CMailtoSchemeHandler_ParseUrlTest14_UnitTest is fully initialised.
       
  1419 	*/
       
  1420 	void ConstructL();
       
  1421 
       
  1422 	/**
       
  1423 	The context of the Unit Test.
       
  1424 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1425 	 */
       
  1426 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1427 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1428 	// C'tor, d'tor, and method transition validators
       
  1429 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1430 	TMailtoSchemeHandler_ParseUrlTest14_TransitionValidator*	iParseUrlTest14Validator;
       
  1431 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1432 	};	// CMailtoSchemeHandler_ParseUrlTest14_UnitTest
       
  1433 
       
  1434 // ______________________________________________________________________________
       
  1435 //
       
  1436 /**
       
  1437 	@internalTechnology
       
  1438 	@class
       
  1439 
       
  1440 	Comments : Unit Test for CreateEmailL on CMailtoSchemeHandler, the class under test.
       
  1441  */
       
  1442 class CMailtoSchemeHandler_CreateEmailL_UnitTest : public CUnitTest
       
  1443 	{
       
  1444 public:
       
  1445 	/**
       
  1446 		@fn				NewL(CDataLogger& aDataLogger,
       
  1447 							MUnitTestObserver& aObserver)
       
  1448 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1449 						cleanup stack.
       
  1450 		Error Condition	: Leaves with the error code.
       
  1451 		@leave		KErrNoMemory
       
  1452 		@since			6.0
       
  1453 		@param			aDataLogger The output logging object.
       
  1454 		@param			aObserver The observer of this UnitTest.
       
  1455 		@return			CMailtoSchemeHandler_CreateEmailL_UnitTest* The constructed object.
       
  1456 		@pre 			None.
       
  1457 		@post			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully constructed, and initialised.
       
  1458 	 */
       
  1459 	static CMailtoSchemeHandler_CreateEmailL_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1460 											MUnitTestObserver& aObserver);
       
  1461 
       
  1462 	/**
       
  1463 		@fn				RunError(TInt aError)
       
  1464 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1465 						to restore the CMailtoSchemeHandler_CreateEmailL_UnitTest
       
  1466 						object to a sensible state.
       
  1467 						(called by the Active Scheduler immediately before the Panic).
       
  1468 		Error Condition	: @see CUnitTest::RunError().
       
  1469 		@since			6.0
       
  1470 		@return			TInt KErrNone if cleanup successful, otherwise
       
  1471 						@see CUnitTest::RunError()
       
  1472 		@pre 			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully constructed, and initialised.
       
  1473 		@post			The object has been restored to a sensible state.
       
  1474 	 */
       
  1475 	inline TInt RunError(TInt aError);
       
  1476 
       
  1477 	/**
       
  1478 		@fn				~CMailtoSchemeHandler_CreateEmailL_UnitTest()
       
  1479 		Intended Usage	: Standard Destructor.
       
  1480 		Error Condition	: None.	
       
  1481 		@since			6.0
       
  1482 		@pre 			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully constructed.
       
  1483 		@post			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully destroyed.
       
  1484 	*/
       
  1485 	~CMailtoSchemeHandler_CreateEmailL_UnitTest();
       
  1486 
       
  1487 private:
       
  1488 	/**
       
  1489 		@fn				CMailtoSchemeHandler_CreateEmailL_UnitTest(CDataLogger& aDataLogger,
       
  1490 														MUnitTestObserver& aObserver)
       
  1491 		Intended Usage	: Default constructor.
       
  1492 		Error Condition	: None. 
       
  1493 		@since			6.0
       
  1494 		@param			aDataLogger The output logging object.
       
  1495 		@param			aObserver The observer of this UnitTest.
       
  1496 		@param			aStateAccessor WhiteBox state access to the CMailtoSchemeHandler class.
       
  1497 		@pre 			None.
       
  1498 		@post			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully constructed.
       
  1499 	*/
       
  1500 	inline CMailtoSchemeHandler_CreateEmailL_UnitTest(CDataLogger& aDataLogger,
       
  1501 											MUnitTestObserver& aObserver);
       
  1502 
       
  1503 	/**
       
  1504 		@fn				void ConstructL()
       
  1505 		Intended Usage	: Second phase of safe two phase construction, 
       
  1506 		to complete the object initialisation.
       
  1507 		Error Condition	: Leaves with an error code.
       
  1508 		@leave		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1509 		@since			6.0
       
  1510 		@return			None 
       
  1511 		@pre 			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully constructed.
       
  1512 		@post			CMailtoSchemeHandler_CreateEmailL_UnitTest is fully initialised.
       
  1513 	*/
       
  1514 	void ConstructL();
       
  1515 
       
  1516 	/**
       
  1517 	The context of the Unit Test.
       
  1518 	i.e The CMailtoSchemeHandler class tested by this UnitTest's transitions.
       
  1519 	 */
       
  1520 	CMailtoSchemeHandler_UnitTestContext* iUTContext;
       
  1521 	TMailtoSchemeHandler_StateAccessor*	iStateAccessor;
       
  1522 	// C'tor, d'tor, and method transition validators
       
  1523 	TMailtoSchemeHandler_Ctor_TransitionValidator*	iCtorValidator;
       
  1524 	TMailtoSchemeHandler_ParseUrlTest14_TransitionValidator*	iParseUrlTest14Validator;
       
  1525 	TMailtoSchemeHandler_CreateEmailL_TransitionValidator*	iCreateEmailLValidator;
       
  1526 	TMailtoSchemeHandler_Dtor_TransitionValidator*	iDtorValidator;
       
  1527 	};	// CMailtoSchemeHandler_CreateEmailL_UnitTest
       
  1528 
       
  1529 
       
  1530 #endif	// __MAILTOSCHEMEHANDLERUNITTEST_H__