applayerprotocols/httptransportfw/Test/T_WspDecoder/WspHeaderReaderUnitTest.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2001-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 CWspHeaderReader class.
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file WspHeaderReaderUnitTest.h
       
    20 */
       
    21 #ifndef __WSPHEADERREADERUNITTEST_H__
       
    22 #define __WSPHEADERREADERUNITTEST_H__
       
    23 
       
    24 #include "TestBedDefinitions.h"
       
    25 #include "WspHeaderReaderStateAccessor.h"
       
    26 #include "WspHeaderReaderTransitionValidation.h"
       
    27 #include "WspHeaderReaderTransitions.h"
       
    28 
       
    29 // ______________________________________________________________________________
       
    30 //
       
    31 /**
       
    32 	@internal
       
    33 	@class CWspHeaderReader_CreateAndDestroy_UnitTest
       
    34 	@Depends CWspHeaderReader & CUnitTest 
       
    35 
       
    36 	Comments : Unit Test for CreateAndDestroy on CWspHeaderReader, the class under test.
       
    37  */
       
    38 class CWspHeaderReader_CreateAndDestroy_UnitTest : public CUnitTest
       
    39 	{
       
    40 public:
       
    41 	/**
       
    42 		@fn				NewL(CDataLogger& aDataLogger,
       
    43 							MUnitTestObserver& aObserver)
       
    44 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
    45 						cleanup stack.
       
    46 		Error Condition	: Leaves with the error code.
       
    47 		@exceptions		KErrNoMemory
       
    48 		@since			7.0
       
    49 		@param			aDataLogger The output logging object.
       
    50 		@param			aObserver The observer of this UnitTest.
       
    51 		@return			CWspHeaderReader_CreateAndDestroy_UnitTest* The constructed object.
       
    52 		@pre 			None.
       
    53 		@post			CWspHeaderReader_CreateAndDestroy_UnitTest is fully constructed, and initialized.
       
    54 	 */
       
    55 	static CWspHeaderReader_CreateAndDestroy_UnitTest* NewL(CDataLogger& aDataLogger,
       
    56 											MUnitTestObserver& aObserver);
       
    57 
       
    58 	/**
       
    59 		@fn				RunError(TInt aError)
       
    60 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
    61 						to restore the CWspHeaderReader_CreateAndDestroy_UnitTest
       
    62 						object to a sensible state.
       
    63 						(called by the Active Scheduler immediately before the Panic).
       
    64 		Error Condition	: @see CUnitTest::RunError().
       
    65 		@since			7.0
       
    66 		@return			KErrNone if cleanup successful, otherwise
       
    67 						@see CUnitTest::RunError()
       
    68 		@pre 			CWspHeaderReader_CreateAndDestroy_UnitTest is fully constructed, and initialized.
       
    69 		@post			The object has been restored to a sensible state.
       
    70 	 */
       
    71 	inline TInt RunError(TInt aError);
       
    72 
       
    73 	/**
       
    74 		@fn				~CWspHeaderReader_CreateAndDestroy_UnitTest()
       
    75 		Intended Usage	: Standard Destructor.
       
    76 		Error Condition	: None.	
       
    77 		@since			7.0
       
    78 		@pre 			CWspHeaderReader_CreateAndDestroy_UnitTest is fully constructed.
       
    79 		@post			CWspHeaderReader_CreateAndDestroy_UnitTest is fully destroyed.
       
    80 	*/
       
    81 	~CWspHeaderReader_CreateAndDestroy_UnitTest();
       
    82 
       
    83 private:
       
    84 	/**
       
    85 		@fn				CWspHeaderReader_CreateAndDestroy_UnitTest(CDataLogger& aDataLogger,
       
    86 														MUnitTestObserver& aObserver)
       
    87 		Intended Usage	: Default constructor.
       
    88 		Error Condition	: None. 
       
    89 		@since			7.0
       
    90 		@param			aDataLogger The output logging object.
       
    91 		@param			aObserver The observer of this UnitTest.
       
    92 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
    93 		@pre 			None.
       
    94 		@post			CWspHeaderReader_CreateAndDestroy_UnitTest is fully constructed.
       
    95 	*/
       
    96 	inline CWspHeaderReader_CreateAndDestroy_UnitTest(CDataLogger& aDataLogger,
       
    97 											MUnitTestObserver& aObserver);
       
    98 
       
    99 	/**
       
   100 		@fn				void ConstructL()
       
   101 		Intended Usage	: Second phase of safe two phase construction, 
       
   102 		to complete the object initialisation.
       
   103 		Error Condition	: Leaves with an error code.
       
   104 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   105 		@since			7.0
       
   106 		@return			None 
       
   107 		@pre 			CWspHeaderReader_CreateAndDestroy_UnitTest is fully constructed.
       
   108 		@post			CWspHeaderReader_CreateAndDestroy_UnitTest is fully initialized.
       
   109 	*/
       
   110 	void ConstructL();
       
   111 
       
   112 	/**
       
   113 	The context of the Unit Test.
       
   114 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   115 	 */
       
   116 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   117 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   118 	/* C'tor, d'tor, and method transition validators */
       
   119 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   120 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   121 	};	// CWspHeaderReader_CreateAndDestroy_UnitTest
       
   122 
       
   123 
       
   124 // ______________________________________________________________________________
       
   125 //
       
   126 /**
       
   127 	@internal
       
   128 	@class CWspHeaderReader_ContentTypeShortToken_UnitTest
       
   129 	@Depends CWspHeaderReader & CUnitTest 
       
   130 
       
   131 	Comments : Unit Test for ContentTypeShortToken on CWspHeaderReader, the class under test.
       
   132  */
       
   133 class CWspHeaderReader_ContentTypeShortToken_UnitTest : public CUnitTest
       
   134 	{
       
   135 public:
       
   136 	/**
       
   137 		@fn				NewL(CDataLogger& aDataLogger,
       
   138 							MUnitTestObserver& aObserver)
       
   139 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   140 						cleanup stack.
       
   141 		Error Condition	: Leaves with the error code.
       
   142 		@exceptions		KErrNoMemory
       
   143 		@since			7.0
       
   144 		@param			aDataLogger The output logging object.
       
   145 		@param			aObserver The observer of this UnitTest.
       
   146 		@return			CWspHeaderReader_ContentTypeShortToken_UnitTest* The constructed object.
       
   147 		@pre 			None.
       
   148 		@post			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully constructed, and initialized.
       
   149 	 */
       
   150 	static CWspHeaderReader_ContentTypeShortToken_UnitTest* NewL(CDataLogger& aDataLogger,
       
   151 											MUnitTestObserver& aObserver);
       
   152 
       
   153 	/**
       
   154 		@fn				RunError(TInt aError)
       
   155 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   156 						to restore the CWspHeaderReader_ContentTypeShortToken_UnitTest
       
   157 						object to a sensible state.
       
   158 						(called by the Active Scheduler immediately before the Panic).
       
   159 		Error Condition	: @see CUnitTest::RunError().
       
   160 		@since			7.0
       
   161 		@return			KErrNone if cleanup successful, otherwise
       
   162 						@see CUnitTest::RunError()
       
   163 		@pre 			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully constructed, and initialized.
       
   164 		@post			The object has been restored to a sensible state.
       
   165 	 */
       
   166 	inline TInt RunError(TInt aError);
       
   167 
       
   168 	/**
       
   169 		@fn				~CWspHeaderReader_ContentTypeShortToken_UnitTest()
       
   170 		Intended Usage	: Standard Destructor.
       
   171 		Error Condition	: None.	
       
   172 		@since			7.0
       
   173 		@pre 			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully constructed.
       
   174 		@post			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully destroyed.
       
   175 	*/
       
   176 	~CWspHeaderReader_ContentTypeShortToken_UnitTest();
       
   177 
       
   178 private:
       
   179 	/**
       
   180 		@fn				CWspHeaderReader_ContentTypeShortToken_UnitTest(CDataLogger& aDataLogger,
       
   181 														MUnitTestObserver& aObserver)
       
   182 		Intended Usage	: Default constructor.
       
   183 		Error Condition	: None. 
       
   184 		@since			7.0
       
   185 		@param			aDataLogger The output logging object.
       
   186 		@param			aObserver The observer of this UnitTest.
       
   187 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   188 		@pre 			None.
       
   189 		@post			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully constructed.
       
   190 	*/
       
   191 	inline CWspHeaderReader_ContentTypeShortToken_UnitTest(CDataLogger& aDataLogger,
       
   192 											MUnitTestObserver& aObserver);
       
   193 
       
   194 	/**
       
   195 		@fn				void ConstructL()
       
   196 		Intended Usage	: Second phase of safe two phase construction, 
       
   197 		to complete the object initialisation.
       
   198 		Error Condition	: Leaves with an error code.
       
   199 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   200 		@since			7.0
       
   201 		@return			None 
       
   202 		@pre 			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully constructed.
       
   203 		@post			CWspHeaderReader_ContentTypeShortToken_UnitTest is fully initialized.
       
   204 	*/
       
   205 	void ConstructL();
       
   206 
       
   207 	/**
       
   208 	The context of the Unit Test.
       
   209 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   210 	 */
       
   211 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   212 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   213 	/* C'tor, d'tor, and method transition validators */
       
   214 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   215 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeShortTokenValidator;
       
   216 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   217 	};	// CWspHeaderReader_ContentTypeShortToken_UnitTest
       
   218 
       
   219 // ______________________________________________________________________________
       
   220 //
       
   221 /**
       
   222 	@internal
       
   223 	@class CWspHeaderReader_ContentTypeExtensionMedia_UnitTest
       
   224 	@Depends CWspHeaderReader & CUnitTest 
       
   225 
       
   226 	Comments : Unit Test for ContentTypeExtensionMedia on CWspHeaderReader, the class under test.
       
   227  */
       
   228 class CWspHeaderReader_ContentTypeExtensionMedia_UnitTest : public CUnitTest
       
   229 	{
       
   230 public:
       
   231 	/**
       
   232 		@fn				NewL(CDataLogger& aDataLogger,
       
   233 							MUnitTestObserver& aObserver)
       
   234 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   235 						cleanup stack.
       
   236 		Error Condition	: Leaves with the error code.
       
   237 		@exceptions		KErrNoMemory
       
   238 		@since			7.0
       
   239 		@param			aDataLogger The output logging object.
       
   240 		@param			aObserver The observer of this UnitTest.
       
   241 		@return			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest* The constructed object.
       
   242 		@pre 			None.
       
   243 		@post			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully constructed, and initialized.
       
   244 	 */
       
   245 	static CWspHeaderReader_ContentTypeExtensionMedia_UnitTest* NewL(CDataLogger& aDataLogger,
       
   246 											MUnitTestObserver& aObserver);
       
   247 
       
   248 	/**
       
   249 		@fn				RunError(TInt aError)
       
   250 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   251 						to restore the CWspHeaderReader_ContentTypeExtensionMedia_UnitTest
       
   252 						object to a sensible state.
       
   253 						(called by the Active Scheduler immediately before the Panic).
       
   254 		Error Condition	: @see CUnitTest::RunError().
       
   255 		@since			7.0
       
   256 		@return			KErrNone if cleanup successful, otherwise
       
   257 						@see CUnitTest::RunError()
       
   258 		@pre 			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully constructed, and initialized.
       
   259 		@post			The object has been restored to a sensible state.
       
   260 	 */
       
   261 	inline TInt RunError(TInt aError);
       
   262 
       
   263 	/**
       
   264 		@fn				~CWspHeaderReader_ContentTypeExtensionMedia_UnitTest()
       
   265 		Intended Usage	: Standard Destructor.
       
   266 		Error Condition	: None.	
       
   267 		@since			7.0
       
   268 		@pre 			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully constructed.
       
   269 		@post			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully destroyed.
       
   270 	*/
       
   271 	~CWspHeaderReader_ContentTypeExtensionMedia_UnitTest();
       
   272 
       
   273 private:
       
   274 	/**
       
   275 		@fn				CWspHeaderReader_ContentTypeExtensionMedia_UnitTest(CDataLogger& aDataLogger,
       
   276 														MUnitTestObserver& aObserver)
       
   277 		Intended Usage	: Default constructor.
       
   278 		Error Condition	: None. 
       
   279 		@since			7.0
       
   280 		@param			aDataLogger The output logging object.
       
   281 		@param			aObserver The observer of this UnitTest.
       
   282 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   283 		@pre 			None.
       
   284 		@post			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully constructed.
       
   285 	*/
       
   286 	inline CWspHeaderReader_ContentTypeExtensionMedia_UnitTest(CDataLogger& aDataLogger,
       
   287 											MUnitTestObserver& aObserver);
       
   288 
       
   289 	/**
       
   290 		@fn				void ConstructL()
       
   291 		Intended Usage	: Second phase of safe two phase construction, 
       
   292 		to complete the object initialisation.
       
   293 		Error Condition	: Leaves with an error code.
       
   294 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   295 		@since			7.0
       
   296 		@return			None 
       
   297 		@pre 			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully constructed.
       
   298 		@post			CWspHeaderReader_ContentTypeExtensionMedia_UnitTest is fully initialized.
       
   299 	*/
       
   300 	void ConstructL();
       
   301 
       
   302 	/**
       
   303 	The context of the Unit Test.
       
   304 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   305 	 */
       
   306 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   307 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   308 	/* C'tor, d'tor, and method transition validators */
       
   309 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   310 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeExtensionMediaValidator;
       
   311 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   312 	};	// CWspHeaderReader_ContentTypeExtensionMedia_UnitTest
       
   313 
       
   314 // ______________________________________________________________________________
       
   315 //
       
   316 /**
       
   317 	@internal
       
   318 	@class CWspHeaderReader_ContentTypeNull_UnitTest
       
   319 	@Depends CWspHeaderReader & CUnitTest 
       
   320 
       
   321 	Comments : Unit Test for ContentTypeNull on CWspHeaderReader, the class under test.
       
   322  */
       
   323 class CWspHeaderReader_ContentTypeNull_UnitTest : public CUnitTest
       
   324 	{
       
   325 public:
       
   326 	/**
       
   327 		@fn				NewL(CDataLogger& aDataLogger,
       
   328 							MUnitTestObserver& aObserver)
       
   329 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   330 						cleanup stack.
       
   331 		Error Condition	: Leaves with the error code.
       
   332 		@exceptions		KErrNoMemory
       
   333 		@since			7.0
       
   334 		@param			aDataLogger The output logging object.
       
   335 		@param			aObserver The observer of this UnitTest.
       
   336 		@return			CWspHeaderReader_ContentTypeNull_UnitTest* The constructed object.
       
   337 		@pre 			None.
       
   338 		@post			CWspHeaderReader_ContentTypeNull_UnitTest is fully constructed, and initialized.
       
   339 	 */
       
   340 	static CWspHeaderReader_ContentTypeNull_UnitTest* NewL(CDataLogger& aDataLogger,
       
   341 											MUnitTestObserver& aObserver);
       
   342 
       
   343 	/**
       
   344 		@fn				RunError(TInt aError)
       
   345 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   346 						to restore the CWspHeaderReader_ContentTypeNull_UnitTest
       
   347 						object to a sensible state.
       
   348 						(called by the Active Scheduler immediately before the Panic).
       
   349 		Error Condition	: @see CUnitTest::RunError().
       
   350 		@since			7.0
       
   351 		@return			KErrNone if cleanup successful, otherwise
       
   352 						@see CUnitTest::RunError()
       
   353 		@pre 			CWspHeaderReader_ContentTypeNull_UnitTest is fully constructed, and initialized.
       
   354 		@post			The object has been restored to a sensible state.
       
   355 	 */
       
   356 	inline TInt RunError(TInt aError);
       
   357 
       
   358 	/**
       
   359 		@fn				~CWspHeaderReader_ContentTypeNull_UnitTest()
       
   360 		Intended Usage	: Standard Destructor.
       
   361 		Error Condition	: None.	
       
   362 		@since			7.0
       
   363 		@pre 			CWspHeaderReader_ContentTypeNull_UnitTest is fully constructed.
       
   364 		@post			CWspHeaderReader_ContentTypeNull_UnitTest is fully destroyed.
       
   365 	*/
       
   366 	~CWspHeaderReader_ContentTypeNull_UnitTest();
       
   367 
       
   368 private:
       
   369 	/**
       
   370 		@fn				CWspHeaderReader_ContentTypeNull_UnitTest(CDataLogger& aDataLogger,
       
   371 														MUnitTestObserver& aObserver)
       
   372 		Intended Usage	: Default constructor.
       
   373 		Error Condition	: None. 
       
   374 		@since			7.0
       
   375 		@param			aDataLogger The output logging object.
       
   376 		@param			aObserver The observer of this UnitTest.
       
   377 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   378 		@pre 			None.
       
   379 		@post			CWspHeaderReader_ContentTypeNull_UnitTest is fully constructed.
       
   380 	*/
       
   381 	inline CWspHeaderReader_ContentTypeNull_UnitTest(CDataLogger& aDataLogger,
       
   382 											MUnitTestObserver& aObserver);
       
   383 
       
   384 	/**
       
   385 		@fn				void ConstructL()
       
   386 		Intended Usage	: Second phase of safe two phase construction, 
       
   387 		to complete the object initialisation.
       
   388 		Error Condition	: Leaves with an error code.
       
   389 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   390 		@since			7.0
       
   391 		@return			None 
       
   392 		@pre 			CWspHeaderReader_ContentTypeNull_UnitTest is fully constructed.
       
   393 		@post			CWspHeaderReader_ContentTypeNull_UnitTest is fully initialized.
       
   394 	*/
       
   395 	void ConstructL();
       
   396 
       
   397 	/**
       
   398 	The context of the Unit Test.
       
   399 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   400 	 */
       
   401 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   402 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   403 	/* C'tor, d'tor, and method transition validators */
       
   404 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   405 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeNullValidator;
       
   406 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   407 	};	// CWspHeaderReader_ContentTypeNull_UnitTest
       
   408 
       
   409 // ______________________________________________________________________________
       
   410 //
       
   411 /**
       
   412 	@internal
       
   413 	@class CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest
       
   414 	@Depends CWspHeaderReader & CUnitTest 
       
   415 
       
   416 	Comments : Unit Test for ContentTypeWellKnownMediaInt on CWspHeaderReader, the class under test.
       
   417  */
       
   418 class CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest : public CUnitTest
       
   419 	{
       
   420 public:
       
   421 	/**
       
   422 		@fn				NewL(CDataLogger& aDataLogger,
       
   423 							MUnitTestObserver& aObserver)
       
   424 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   425 						cleanup stack.
       
   426 		Error Condition	: Leaves with the error code.
       
   427 		@exceptions		KErrNoMemory
       
   428 		@since			7.0
       
   429 		@param			aDataLogger The output logging object.
       
   430 		@param			aObserver The observer of this UnitTest.
       
   431 		@return			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest* The constructed object.
       
   432 		@pre 			None.
       
   433 		@post			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully constructed, and initialized.
       
   434 	 */
       
   435 	static CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
   436 											MUnitTestObserver& aObserver);
       
   437 
       
   438 	/**
       
   439 		@fn				RunError(TInt aError)
       
   440 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   441 						to restore the CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest
       
   442 						object to a sensible state.
       
   443 						(called by the Active Scheduler immediately before the Panic).
       
   444 		Error Condition	: @see CUnitTest::RunError().
       
   445 		@since			7.0
       
   446 		@return			KErrNone if cleanup successful, otherwise
       
   447 						@see CUnitTest::RunError()
       
   448 		@pre 			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully constructed, and initialized.
       
   449 		@post			The object has been restored to a sensible state.
       
   450 	 */
       
   451 	inline TInt RunError(TInt aError);
       
   452 
       
   453 	/**
       
   454 		@fn				~CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest()
       
   455 		Intended Usage	: Standard Destructor.
       
   456 		Error Condition	: None.	
       
   457 		@since			7.0
       
   458 		@pre 			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully constructed.
       
   459 		@post			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully destroyed.
       
   460 	*/
       
   461 	~CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest();
       
   462 
       
   463 private:
       
   464 	/**
       
   465 		@fn				CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest(CDataLogger& aDataLogger,
       
   466 														MUnitTestObserver& aObserver)
       
   467 		Intended Usage	: Default constructor.
       
   468 		Error Condition	: None. 
       
   469 		@since			7.0
       
   470 		@param			aDataLogger The output logging object.
       
   471 		@param			aObserver The observer of this UnitTest.
       
   472 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   473 		@pre 			None.
       
   474 		@post			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully constructed.
       
   475 	*/
       
   476 	inline CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest(CDataLogger& aDataLogger,
       
   477 											MUnitTestObserver& aObserver);
       
   478 
       
   479 	/**
       
   480 		@fn				void ConstructL()
       
   481 		Intended Usage	: Second phase of safe two phase construction, 
       
   482 		to complete the object initialisation.
       
   483 		Error Condition	: Leaves with an error code.
       
   484 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   485 		@since			7.0
       
   486 		@return			None 
       
   487 		@pre 			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully constructed.
       
   488 		@post			CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest is fully initialized.
       
   489 	*/
       
   490 	void ConstructL();
       
   491 
       
   492 	/**
       
   493 	The context of the Unit Test.
       
   494 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   495 	 */
       
   496 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   497 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   498 	/* C'tor, d'tor, and method transition validators */
       
   499 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   500 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeWellKnownMediaIntValidator;
       
   501 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   502 	};	// CWspHeaderReader_ContentTypeWellKnownMediaInt_UnitTest
       
   503 
       
   504 // ______________________________________________________________________________
       
   505 //
       
   506 /**
       
   507 	@internal
       
   508 	@class CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest
       
   509 	@Depends CWspHeaderReader & CUnitTest 
       
   510 
       
   511 	Comments : Unit Test for ContentTypeMediaTypeExtension on CWspHeaderReader, the class under test.
       
   512  */
       
   513 class CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest : public CUnitTest
       
   514 	{
       
   515 public:
       
   516 	/**
       
   517 		@fn				NewL(CDataLogger& aDataLogger,
       
   518 							MUnitTestObserver& aObserver)
       
   519 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   520 						cleanup stack.
       
   521 		Error Condition	: Leaves with the error code.
       
   522 		@exceptions		KErrNoMemory
       
   523 		@since			7.0
       
   524 		@param			aDataLogger The output logging object.
       
   525 		@param			aObserver The observer of this UnitTest.
       
   526 		@return			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest* The constructed object.
       
   527 		@pre 			None.
       
   528 		@post			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully constructed, and initialized.
       
   529 	 */
       
   530 	static CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest* NewL(CDataLogger& aDataLogger,
       
   531 											MUnitTestObserver& aObserver);
       
   532 
       
   533 	/**
       
   534 		@fn				RunError(TInt aError)
       
   535 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   536 						to restore the CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest
       
   537 						object to a sensible state.
       
   538 						(called by the Active Scheduler immediately before the Panic).
       
   539 		Error Condition	: @see CUnitTest::RunError().
       
   540 		@since			7.0
       
   541 		@return			KErrNone if cleanup successful, otherwise
       
   542 						@see CUnitTest::RunError()
       
   543 		@pre 			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully constructed, and initialized.
       
   544 		@post			The object has been restored to a sensible state.
       
   545 	 */
       
   546 	inline TInt RunError(TInt aError);
       
   547 
       
   548 	/**
       
   549 		@fn				~CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest()
       
   550 		Intended Usage	: Standard Destructor.
       
   551 		Error Condition	: None.	
       
   552 		@since			7.0
       
   553 		@pre 			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully constructed.
       
   554 		@post			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully destroyed.
       
   555 	*/
       
   556 	~CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest();
       
   557 
       
   558 private:
       
   559 	/**
       
   560 		@fn				CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest(CDataLogger& aDataLogger,
       
   561 														MUnitTestObserver& aObserver)
       
   562 		Intended Usage	: Default constructor.
       
   563 		Error Condition	: None. 
       
   564 		@since			7.0
       
   565 		@param			aDataLogger The output logging object.
       
   566 		@param			aObserver The observer of this UnitTest.
       
   567 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   568 		@pre 			None.
       
   569 		@post			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully constructed.
       
   570 	*/
       
   571 	inline CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest(CDataLogger& aDataLogger,
       
   572 											MUnitTestObserver& aObserver);
       
   573 
       
   574 	/**
       
   575 		@fn				void ConstructL()
       
   576 		Intended Usage	: Second phase of safe two phase construction, 
       
   577 		to complete the object initialisation.
       
   578 		Error Condition	: Leaves with an error code.
       
   579 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   580 		@since			7.0
       
   581 		@return			None 
       
   582 		@pre 			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully constructed.
       
   583 		@post			CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest is fully initialized.
       
   584 	*/
       
   585 	void ConstructL();
       
   586 
       
   587 	/**
       
   588 	The context of the Unit Test.
       
   589 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   590 	 */
       
   591 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   592 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   593 	/* C'tor, d'tor, and method transition validators */
       
   594 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   595 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeMediaTypeExtensionValidator;
       
   596 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   597 	};	// CWspHeaderReader_ContentTypeMediaTypeExtension_UnitTest
       
   598 
       
   599 // ______________________________________________________________________________
       
   600 //
       
   601 /**
       
   602 	@internal
       
   603 	@class CWspHeaderReader_ContentTypeWith1Param_UnitTest
       
   604 	@Depends CWspHeaderReader & CUnitTest 
       
   605 
       
   606 	Comments : Unit Test for ContentTypeWith1Param on CWspHeaderReader, the class under test.
       
   607  */
       
   608 class CWspHeaderReader_ContentTypeWith1Param_UnitTest : public CUnitTest
       
   609 	{
       
   610 public:
       
   611 	/**
       
   612 		@fn				NewL(CDataLogger& aDataLogger,
       
   613 							MUnitTestObserver& aObserver)
       
   614 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   615 						cleanup stack.
       
   616 		Error Condition	: Leaves with the error code.
       
   617 		@exceptions		KErrNoMemory
       
   618 		@since			7.0
       
   619 		@param			aDataLogger The output logging object.
       
   620 		@param			aObserver The observer of this UnitTest.
       
   621 		@return			CWspHeaderReader_ContentTypeWith1Param_UnitTest* The constructed object.
       
   622 		@pre 			None.
       
   623 		@post			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully constructed, and initialized.
       
   624 	 */
       
   625 	static CWspHeaderReader_ContentTypeWith1Param_UnitTest* NewL(CDataLogger& aDataLogger,
       
   626 											MUnitTestObserver& aObserver);
       
   627 
       
   628 	/**
       
   629 		@fn				RunError(TInt aError)
       
   630 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   631 						to restore the CWspHeaderReader_ContentTypeWith1Param_UnitTest
       
   632 						object to a sensible state.
       
   633 						(called by the Active Scheduler immediately before the Panic).
       
   634 		Error Condition	: @see CUnitTest::RunError().
       
   635 		@since			7.0
       
   636 		@return			KErrNone if cleanup successful, otherwise
       
   637 						@see CUnitTest::RunError()
       
   638 		@pre 			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully constructed, and initialized.
       
   639 		@post			The object has been restored to a sensible state.
       
   640 	 */
       
   641 	inline TInt RunError(TInt aError);
       
   642 
       
   643 	/**
       
   644 		@fn				~CWspHeaderReader_ContentTypeWith1Param_UnitTest()
       
   645 		Intended Usage	: Standard Destructor.
       
   646 		Error Condition	: None.	
       
   647 		@since			7.0
       
   648 		@pre 			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully constructed.
       
   649 		@post			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully destroyed.
       
   650 	*/
       
   651 	~CWspHeaderReader_ContentTypeWith1Param_UnitTest();
       
   652 
       
   653 private:
       
   654 	/**
       
   655 		@fn				CWspHeaderReader_ContentTypeWith1Param_UnitTest(CDataLogger& aDataLogger,
       
   656 														MUnitTestObserver& aObserver)
       
   657 		Intended Usage	: Default constructor.
       
   658 		Error Condition	: None. 
       
   659 		@since			7.0
       
   660 		@param			aDataLogger The output logging object.
       
   661 		@param			aObserver The observer of this UnitTest.
       
   662 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   663 		@pre 			None.
       
   664 		@post			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully constructed.
       
   665 	*/
       
   666 	inline CWspHeaderReader_ContentTypeWith1Param_UnitTest(CDataLogger& aDataLogger,
       
   667 											MUnitTestObserver& aObserver);
       
   668 
       
   669 	/**
       
   670 		@fn				void ConstructL()
       
   671 		Intended Usage	: Second phase of safe two phase construction, 
       
   672 		to complete the object initialisation.
       
   673 		Error Condition	: Leaves with an error code.
       
   674 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   675 		@since			7.0
       
   676 		@return			None 
       
   677 		@pre 			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully constructed.
       
   678 		@post			CWspHeaderReader_ContentTypeWith1Param_UnitTest is fully initialized.
       
   679 	*/
       
   680 	void ConstructL();
       
   681 
       
   682 	/**
       
   683 	The context of the Unit Test.
       
   684 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   685 	 */
       
   686 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   687 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   688 	/* C'tor, d'tor, and method transition validators */
       
   689 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   690 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeWith1ParamValidator;
       
   691 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   692 	};	// CWspHeaderReader_ContentTypeWith1Param_UnitTest
       
   693 
       
   694 // ______________________________________________________________________________
       
   695 //
       
   696 /**
       
   697 	@internal
       
   698 	@class CWspHeaderReader_ContentTypeWith2Params_UnitTest
       
   699 	@Depends CWspHeaderReader & CUnitTest 
       
   700 
       
   701 	Comments : Unit Test for ContentTypeWith2Params on CWspHeaderReader, the class under test.
       
   702  */
       
   703 class CWspHeaderReader_ContentTypeWith2Params_UnitTest : public CUnitTest
       
   704 	{
       
   705 public:
       
   706 	/**
       
   707 		@fn				NewL(CDataLogger& aDataLogger,
       
   708 							MUnitTestObserver& aObserver)
       
   709 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   710 						cleanup stack.
       
   711 		Error Condition	: Leaves with the error code.
       
   712 		@exceptions		KErrNoMemory
       
   713 		@since			7.0
       
   714 		@param			aDataLogger The output logging object.
       
   715 		@param			aObserver The observer of this UnitTest.
       
   716 		@return			CWspHeaderReader_ContentTypeWith2Params_UnitTest* The constructed object.
       
   717 		@pre 			None.
       
   718 		@post			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully constructed, and initialized.
       
   719 	 */
       
   720 	static CWspHeaderReader_ContentTypeWith2Params_UnitTest* NewL(CDataLogger& aDataLogger,
       
   721 											MUnitTestObserver& aObserver);
       
   722 
       
   723 	/**
       
   724 		@fn				RunError(TInt aError)
       
   725 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   726 						to restore the CWspHeaderReader_ContentTypeWith2Params_UnitTest
       
   727 						object to a sensible state.
       
   728 						(called by the Active Scheduler immediately before the Panic).
       
   729 		Error Condition	: @see CUnitTest::RunError().
       
   730 		@since			7.0
       
   731 		@return			KErrNone if cleanup successful, otherwise
       
   732 						@see CUnitTest::RunError()
       
   733 		@pre 			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully constructed, and initialized.
       
   734 		@post			The object has been restored to a sensible state.
       
   735 	 */
       
   736 	inline TInt RunError(TInt aError);
       
   737 
       
   738 	/**
       
   739 		@fn				~CWspHeaderReader_ContentTypeWith2Params_UnitTest()
       
   740 		Intended Usage	: Standard Destructor.
       
   741 		Error Condition	: None.	
       
   742 		@since			7.0
       
   743 		@pre 			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully constructed.
       
   744 		@post			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully destroyed.
       
   745 	*/
       
   746 	~CWspHeaderReader_ContentTypeWith2Params_UnitTest();
       
   747 
       
   748 private:
       
   749 	/**
       
   750 		@fn				CWspHeaderReader_ContentTypeWith2Params_UnitTest(CDataLogger& aDataLogger,
       
   751 														MUnitTestObserver& aObserver)
       
   752 		Intended Usage	: Default constructor.
       
   753 		Error Condition	: None. 
       
   754 		@since			7.0
       
   755 		@param			aDataLogger The output logging object.
       
   756 		@param			aObserver The observer of this UnitTest.
       
   757 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   758 		@pre 			None.
       
   759 		@post			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully constructed.
       
   760 	*/
       
   761 	inline CWspHeaderReader_ContentTypeWith2Params_UnitTest(CDataLogger& aDataLogger,
       
   762 											MUnitTestObserver& aObserver);
       
   763 
       
   764 	/**
       
   765 		@fn				void ConstructL()
       
   766 		Intended Usage	: Second phase of safe two phase construction, 
       
   767 		to complete the object initialisation.
       
   768 		Error Condition	: Leaves with an error code.
       
   769 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   770 		@since			7.0
       
   771 		@return			None 
       
   772 		@pre 			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully constructed.
       
   773 		@post			CWspHeaderReader_ContentTypeWith2Params_UnitTest is fully initialized.
       
   774 	*/
       
   775 	void ConstructL();
       
   776 
       
   777 	/**
       
   778 	The context of the Unit Test.
       
   779 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   780 	 */
       
   781 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   782 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   783 	/* C'tor, d'tor, and method transition validators */
       
   784 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   785 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentTypeWith2ParamsValidator;
       
   786 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   787 	};	// CWspHeaderReader_ContentTypeWith2Params_UnitTest
       
   788 
       
   789 // ______________________________________________________________________________
       
   790 //
       
   791 /**
       
   792 	@internal
       
   793 	@class CWspHeaderReader_Date_UnitTest
       
   794 	@Depends CWspHeaderReader & CUnitTest 
       
   795 
       
   796 	Comments : Unit Test for Date on CWspHeaderReader, the class under test.
       
   797  */
       
   798 class CWspHeaderReader_Date_UnitTest : public CUnitTest
       
   799 	{
       
   800 public:
       
   801 	/**
       
   802 		@fn				NewL(CDataLogger& aDataLogger,
       
   803 							MUnitTestObserver& aObserver)
       
   804 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   805 						cleanup stack.
       
   806 		Error Condition	: Leaves with the error code.
       
   807 		@exceptions		KErrNoMemory
       
   808 		@since			7.0
       
   809 		@param			aDataLogger The output logging object.
       
   810 		@param			aObserver The observer of this UnitTest.
       
   811 		@return			CWspHeaderReader_Date_UnitTest* The constructed object.
       
   812 		@pre 			None.
       
   813 		@post			CWspHeaderReader_Date_UnitTest is fully constructed, and initialized.
       
   814 	 */
       
   815 	static CWspHeaderReader_Date_UnitTest* NewL(CDataLogger& aDataLogger,
       
   816 											MUnitTestObserver& aObserver);
       
   817 
       
   818 	/**
       
   819 		@fn				RunError(TInt aError)
       
   820 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   821 						to restore the CWspHeaderReader_Date_UnitTest
       
   822 						object to a sensible state.
       
   823 						(called by the Active Scheduler immediately before the Panic).
       
   824 		Error Condition	: @see CUnitTest::RunError().
       
   825 		@since			7.0
       
   826 		@return			KErrNone if cleanup successful, otherwise
       
   827 						@see CUnitTest::RunError()
       
   828 		@pre 			CWspHeaderReader_Date_UnitTest is fully constructed, and initialized.
       
   829 		@post			The object has been restored to a sensible state.
       
   830 	 */
       
   831 	inline TInt RunError(TInt aError);
       
   832 
       
   833 	/**
       
   834 		@fn				~CWspHeaderReader_Date_UnitTest()
       
   835 		Intended Usage	: Standard Destructor.
       
   836 		Error Condition	: None.	
       
   837 		@since			7.0
       
   838 		@pre 			CWspHeaderReader_Date_UnitTest is fully constructed.
       
   839 		@post			CWspHeaderReader_Date_UnitTest is fully destroyed.
       
   840 	*/
       
   841 	~CWspHeaderReader_Date_UnitTest();
       
   842 
       
   843 private:
       
   844 	/**
       
   845 		@fn				CWspHeaderReader_Date_UnitTest(CDataLogger& aDataLogger,
       
   846 														MUnitTestObserver& aObserver)
       
   847 		Intended Usage	: Default constructor.
       
   848 		Error Condition	: None. 
       
   849 		@since			7.0
       
   850 		@param			aDataLogger The output logging object.
       
   851 		@param			aObserver The observer of this UnitTest.
       
   852 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   853 		@pre 			None.
       
   854 		@post			CWspHeaderReader_Date_UnitTest is fully constructed.
       
   855 	*/
       
   856 	inline CWspHeaderReader_Date_UnitTest(CDataLogger& aDataLogger,
       
   857 											MUnitTestObserver& aObserver);
       
   858 
       
   859 	/**
       
   860 		@fn				void ConstructL()
       
   861 		Intended Usage	: Second phase of safe two phase construction, 
       
   862 		to complete the object initialisation.
       
   863 		Error Condition	: Leaves with an error code.
       
   864 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   865 		@since			7.0
       
   866 		@return			None 
       
   867 		@pre 			CWspHeaderReader_Date_UnitTest is fully constructed.
       
   868 		@post			CWspHeaderReader_Date_UnitTest is fully initialized.
       
   869 	*/
       
   870 	void ConstructL();
       
   871 
       
   872 	/**
       
   873 	The context of the Unit Test.
       
   874 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   875 	 */
       
   876 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   877 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   878 	/* C'tor, d'tor, and method transition validators */
       
   879 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   880 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iDateValidator;
       
   881 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   882 	};	// CWspHeaderReader_Date_UnitTest
       
   883 
       
   884 
       
   885 // ______________________________________________________________________________
       
   886 //
       
   887 /**
       
   888 	@internal
       
   889 	@class CWspHeaderReader_LastModified_UnitTest
       
   890 	@Depends CWspHeaderReader & CUnitTest 
       
   891 
       
   892 	Comments : Unit Test for LastModified on CWspHeaderReader, the class under test.
       
   893  */
       
   894 class CWspHeaderReader_LastModified_UnitTest : public CUnitTest
       
   895 	{
       
   896 public:
       
   897 	/**
       
   898 		@fn				NewL(CDataLogger& aDataLogger,
       
   899 							MUnitTestObserver& aObserver)
       
   900 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   901 						cleanup stack.
       
   902 		Error Condition	: Leaves with the error code.
       
   903 		@exceptions		KErrNoMemory
       
   904 		@since			7.0
       
   905 		@param			aDataLogger The output logging object.
       
   906 		@param			aObserver The observer of this UnitTest.
       
   907 		@return			CWspHeaderReader_LastModified_UnitTest* The constructed object.
       
   908 		@pre 			None.
       
   909 		@post			CWspHeaderReader_LastModified_UnitTest is fully constructed, and initialized.
       
   910 	 */
       
   911 	static CWspHeaderReader_LastModified_UnitTest* NewL(CDataLogger& aDataLogger,
       
   912 											MUnitTestObserver& aObserver);
       
   913 
       
   914 	/**
       
   915 		@fn				RunError(TInt aError)
       
   916 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
   917 						to restore the CWspHeaderReader_LastModified_UnitTest
       
   918 						object to a sensible state.
       
   919 						(called by the Active Scheduler immediately before the Panic).
       
   920 		Error Condition	: @see CUnitTest::RunError().
       
   921 		@since			7.0
       
   922 		@return			KErrNone if cleanup successful, otherwise
       
   923 						@see CUnitTest::RunError()
       
   924 		@pre 			CWspHeaderReader_LastModified_UnitTest is fully constructed, and initialized.
       
   925 		@post			The object has been restored to a sensible state.
       
   926 	 */
       
   927 	inline TInt RunError(TInt aError);
       
   928 
       
   929 	/**
       
   930 		@fn				~CWspHeaderReader_LastModified_UnitTest()
       
   931 		Intended Usage	: Standard Destructor.
       
   932 		Error Condition	: None.	
       
   933 		@since			7.0
       
   934 		@pre 			CWspHeaderReader_LastModified_UnitTest is fully constructed.
       
   935 		@post			CWspHeaderReader_LastModified_UnitTest is fully destroyed.
       
   936 	*/
       
   937 	~CWspHeaderReader_LastModified_UnitTest();
       
   938 
       
   939 private:
       
   940 	/**
       
   941 		@fn				CWspHeaderReader_LastModified_UnitTest(CDataLogger& aDataLogger,
       
   942 														MUnitTestObserver& aObserver)
       
   943 		Intended Usage	: Default constructor.
       
   944 		Error Condition	: None. 
       
   945 		@since			7.0
       
   946 		@param			aDataLogger The output logging object.
       
   947 		@param			aObserver The observer of this UnitTest.
       
   948 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
   949 		@pre 			None.
       
   950 		@post			CWspHeaderReader_LastModified_UnitTest is fully constructed.
       
   951 	*/
       
   952 	inline CWspHeaderReader_LastModified_UnitTest(CDataLogger& aDataLogger,
       
   953 											MUnitTestObserver& aObserver);
       
   954 
       
   955 	/**
       
   956 		@fn				void ConstructL()
       
   957 		Intended Usage	: Second phase of safe two phase construction, 
       
   958 		to complete the object initialisation.
       
   959 		Error Condition	: Leaves with an error code.
       
   960 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
   961 		@since			7.0
       
   962 		@return			None 
       
   963 		@pre 			CWspHeaderReader_LastModified_UnitTest is fully constructed.
       
   964 		@post			CWspHeaderReader_LastModified_UnitTest is fully initialized.
       
   965 	*/
       
   966 	void ConstructL();
       
   967 
       
   968 	/**
       
   969 	The context of the Unit Test.
       
   970 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
   971 	 */
       
   972 	CWspHeaderReader_UnitTestContext* iUTContext;
       
   973 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
   974 	/* C'tor, d'tor, and method transition validators */
       
   975 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
   976 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iLastModifiedValidator;
       
   977 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
   978 	};	// CWspHeaderReader_LastModified_UnitTest
       
   979 
       
   980 // ______________________________________________________________________________
       
   981 //
       
   982 /**
       
   983 	@internal
       
   984 	@class CWspHeaderReader_PragmaNoCache_UnitTest
       
   985 	@Depends CWspHeaderReader & CUnitTest 
       
   986 
       
   987 	Comments : Unit Test for PragmaNoCache on CWspHeaderReader, the class under test.
       
   988  */
       
   989 class CWspHeaderReader_PragmaNoCache_UnitTest : public CUnitTest
       
   990 	{
       
   991 public:
       
   992 	/**
       
   993 		@fn				NewL(CDataLogger& aDataLogger,
       
   994 							MUnitTestObserver& aObserver)
       
   995 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
   996 						cleanup stack.
       
   997 		Error Condition	: Leaves with the error code.
       
   998 		@exceptions		KErrNoMemory
       
   999 		@since			7.0
       
  1000 		@param			aDataLogger The output logging object.
       
  1001 		@param			aObserver The observer of this UnitTest.
       
  1002 		@return			CWspHeaderReader_PragmaNoCache_UnitTest* The constructed object.
       
  1003 		@pre 			None.
       
  1004 		@post			CWspHeaderReader_PragmaNoCache_UnitTest is fully constructed, and initialized.
       
  1005 	 */
       
  1006 	static CWspHeaderReader_PragmaNoCache_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1007 											MUnitTestObserver& aObserver);
       
  1008 
       
  1009 	/**
       
  1010 		@fn				RunError(TInt aError)
       
  1011 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1012 						to restore the CWspHeaderReader_PragmaNoCache_UnitTest
       
  1013 						object to a sensible state.
       
  1014 						(called by the Active Scheduler immediately before the Panic).
       
  1015 		Error Condition	: @see CUnitTest::RunError().
       
  1016 		@since			7.0
       
  1017 		@return			KErrNone if cleanup successful, otherwise
       
  1018 						@see CUnitTest::RunError()
       
  1019 		@pre 			CWspHeaderReader_PragmaNoCache_UnitTest is fully constructed, and initialized.
       
  1020 		@post			The object has been restored to a sensible state.
       
  1021 	 */
       
  1022 	inline TInt RunError(TInt aError);
       
  1023 
       
  1024 	/**
       
  1025 		@fn				~CWspHeaderReader_PragmaNoCache_UnitTest()
       
  1026 		Intended Usage	: Standard Destructor.
       
  1027 		Error Condition	: None.	
       
  1028 		@since			7.0
       
  1029 		@pre 			CWspHeaderReader_PragmaNoCache_UnitTest is fully constructed.
       
  1030 		@post			CWspHeaderReader_PragmaNoCache_UnitTest is fully destroyed.
       
  1031 	*/
       
  1032 	~CWspHeaderReader_PragmaNoCache_UnitTest();
       
  1033 
       
  1034 private:
       
  1035 	/**
       
  1036 		@fn				CWspHeaderReader_PragmaNoCache_UnitTest(CDataLogger& aDataLogger,
       
  1037 														MUnitTestObserver& aObserver)
       
  1038 		Intended Usage	: Default constructor.
       
  1039 		Error Condition	: None. 
       
  1040 		@since			7.0
       
  1041 		@param			aDataLogger The output logging object.
       
  1042 		@param			aObserver The observer of this UnitTest.
       
  1043 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1044 		@pre 			None.
       
  1045 		@post			CWspHeaderReader_PragmaNoCache_UnitTest is fully constructed.
       
  1046 	*/
       
  1047 	inline CWspHeaderReader_PragmaNoCache_UnitTest(CDataLogger& aDataLogger,
       
  1048 											MUnitTestObserver& aObserver);
       
  1049 
       
  1050 	/**
       
  1051 		@fn				void ConstructL()
       
  1052 		Intended Usage	: Second phase of safe two phase construction, 
       
  1053 		to complete the object initialisation.
       
  1054 		Error Condition	: Leaves with an error code.
       
  1055 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1056 		@since			7.0
       
  1057 		@return			None 
       
  1058 		@pre 			CWspHeaderReader_PragmaNoCache_UnitTest is fully constructed.
       
  1059 		@post			CWspHeaderReader_PragmaNoCache_UnitTest is fully initialized.
       
  1060 	*/
       
  1061 	void ConstructL();
       
  1062 
       
  1063 	/**
       
  1064 	The context of the Unit Test.
       
  1065 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1066 	 */
       
  1067 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1068 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1069 	/* C'tor, d'tor, and method transition validators */
       
  1070 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1071 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPragmaNoCacheValidator;
       
  1072 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1073 	};	// CWspHeaderReader_PragmaNoCache_UnitTest
       
  1074 
       
  1075 // ______________________________________________________________________________
       
  1076 //
       
  1077 /**
       
  1078 	@internal
       
  1079 	@class CWspHeaderReader_PragmaTokenParam_UnitTest
       
  1080 	@Depends CWspHeaderReader & CUnitTest 
       
  1081 
       
  1082 	Comments : Unit Test for PragmaTokenParam on CWspHeaderReader, the class under test.
       
  1083  */
       
  1084 class CWspHeaderReader_PragmaTokenParam_UnitTest : public CUnitTest
       
  1085 	{
       
  1086 public:
       
  1087 	/**
       
  1088 		@fn				NewL(CDataLogger& aDataLogger,
       
  1089 							MUnitTestObserver& aObserver)
       
  1090 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1091 						cleanup stack.
       
  1092 		Error Condition	: Leaves with the error code.
       
  1093 		@exceptions		KErrNoMemory
       
  1094 		@since			7.0
       
  1095 		@param			aDataLogger The output logging object.
       
  1096 		@param			aObserver The observer of this UnitTest.
       
  1097 		@return			CWspHeaderReader_PragmaTokenParam_UnitTest* The constructed object.
       
  1098 		@pre 			None.
       
  1099 		@post			CWspHeaderReader_PragmaTokenParam_UnitTest is fully constructed, and initialized.
       
  1100 	 */
       
  1101 	static CWspHeaderReader_PragmaTokenParam_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1102 											MUnitTestObserver& aObserver);
       
  1103 
       
  1104 	/**
       
  1105 		@fn				RunError(TInt aError)
       
  1106 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1107 						to restore the CWspHeaderReader_PragmaTokenParam_UnitTest
       
  1108 						object to a sensible state.
       
  1109 						(called by the Active Scheduler immediately before the Panic).
       
  1110 		Error Condition	: @see CUnitTest::RunError().
       
  1111 		@since			7.0
       
  1112 		@return			KErrNone if cleanup successful, otherwise
       
  1113 						@see CUnitTest::RunError()
       
  1114 		@pre 			CWspHeaderReader_PragmaTokenParam_UnitTest is fully constructed, and initialized.
       
  1115 		@post			The object has been restored to a sensible state.
       
  1116 	 */
       
  1117 	inline TInt RunError(TInt aError);
       
  1118 
       
  1119 	/**
       
  1120 		@fn				~CWspHeaderReader_PragmaTokenParam_UnitTest()
       
  1121 		Intended Usage	: Standard Destructor.
       
  1122 		Error Condition	: None.	
       
  1123 		@since			7.0
       
  1124 		@pre 			CWspHeaderReader_PragmaTokenParam_UnitTest is fully constructed.
       
  1125 		@post			CWspHeaderReader_PragmaTokenParam_UnitTest is fully destroyed.
       
  1126 	*/
       
  1127 	~CWspHeaderReader_PragmaTokenParam_UnitTest();
       
  1128 
       
  1129 private:
       
  1130 	/**
       
  1131 		@fn				CWspHeaderReader_PragmaTokenParam_UnitTest(CDataLogger& aDataLogger,
       
  1132 														MUnitTestObserver& aObserver)
       
  1133 		Intended Usage	: Default constructor.
       
  1134 		Error Condition	: None. 
       
  1135 		@since			7.0
       
  1136 		@param			aDataLogger The output logging object.
       
  1137 		@param			aObserver The observer of this UnitTest.
       
  1138 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1139 		@pre 			None.
       
  1140 		@post			CWspHeaderReader_PragmaTokenParam_UnitTest is fully constructed.
       
  1141 	*/
       
  1142 	inline CWspHeaderReader_PragmaTokenParam_UnitTest(CDataLogger& aDataLogger,
       
  1143 											MUnitTestObserver& aObserver);
       
  1144 
       
  1145 	/**
       
  1146 		@fn				void ConstructL()
       
  1147 		Intended Usage	: Second phase of safe two phase construction, 
       
  1148 		to complete the object initialisation.
       
  1149 		Error Condition	: Leaves with an error code.
       
  1150 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1151 		@since			7.0
       
  1152 		@return			None 
       
  1153 		@pre 			CWspHeaderReader_PragmaTokenParam_UnitTest is fully constructed.
       
  1154 		@post			CWspHeaderReader_PragmaTokenParam_UnitTest is fully initialized.
       
  1155 	*/
       
  1156 	void ConstructL();
       
  1157 
       
  1158 	/**
       
  1159 	The context of the Unit Test.
       
  1160 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1161 	 */
       
  1162 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1163 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1164 	/* C'tor, d'tor, and method transition validators */
       
  1165 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1166 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPragmaTokenParamValidator;
       
  1167 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1168 	};	// CWspHeaderReader_PragmaTokenParam_UnitTest
       
  1169 
       
  1170 // ______________________________________________________________________________
       
  1171 //
       
  1172 /**
       
  1173 	@internal
       
  1174 	@class CWspHeaderReader_PragmaTokenParamNoValue_UnitTest
       
  1175 	@Depends CWspHeaderReader & CUnitTest 
       
  1176 
       
  1177 	Comments : Unit Test for PragmaTokenParamNoValue on CWspHeaderReader, the class under test.
       
  1178  */
       
  1179 class CWspHeaderReader_PragmaTokenParamNoValue_UnitTest : public CUnitTest
       
  1180 	{
       
  1181 public:
       
  1182 	/**
       
  1183 		@fn				NewL(CDataLogger& aDataLogger,
       
  1184 							MUnitTestObserver& aObserver)
       
  1185 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1186 						cleanup stack.
       
  1187 		Error Condition	: Leaves with the error code.
       
  1188 		@exceptions		KErrNoMemory
       
  1189 		@since			7.0
       
  1190 		@param			aDataLogger The output logging object.
       
  1191 		@param			aObserver The observer of this UnitTest.
       
  1192 		@return			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest* The constructed object.
       
  1193 		@pre 			None.
       
  1194 		@post			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully constructed, and initialized.
       
  1195 	 */
       
  1196 	static CWspHeaderReader_PragmaTokenParamNoValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1197 											MUnitTestObserver& aObserver);
       
  1198 
       
  1199 	/**
       
  1200 		@fn				RunError(TInt aError)
       
  1201 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1202 						to restore the CWspHeaderReader_PragmaTokenParamNoValue_UnitTest
       
  1203 						object to a sensible state.
       
  1204 						(called by the Active Scheduler immediately before the Panic).
       
  1205 		Error Condition	: @see CUnitTest::RunError().
       
  1206 		@since			7.0
       
  1207 		@return			KErrNone if cleanup successful, otherwise
       
  1208 						@see CUnitTest::RunError()
       
  1209 		@pre 			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully constructed, and initialized.
       
  1210 		@post			The object has been restored to a sensible state.
       
  1211 	 */
       
  1212 	inline TInt RunError(TInt aError);
       
  1213 
       
  1214 	/**
       
  1215 		@fn				~CWspHeaderReader_PragmaTokenParamNoValue_UnitTest()
       
  1216 		Intended Usage	: Standard Destructor.
       
  1217 		Error Condition	: None.	
       
  1218 		@since			7.0
       
  1219 		@pre 			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully constructed.
       
  1220 		@post			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully destroyed.
       
  1221 	*/
       
  1222 	~CWspHeaderReader_PragmaTokenParamNoValue_UnitTest();
       
  1223 
       
  1224 private:
       
  1225 	/**
       
  1226 		@fn				CWspHeaderReader_PragmaTokenParamNoValue_UnitTest(CDataLogger& aDataLogger,
       
  1227 														MUnitTestObserver& aObserver)
       
  1228 		Intended Usage	: Default constructor.
       
  1229 		Error Condition	: None. 
       
  1230 		@since			7.0
       
  1231 		@param			aDataLogger The output logging object.
       
  1232 		@param			aObserver The observer of this UnitTest.
       
  1233 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1234 		@pre 			None.
       
  1235 		@post			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully constructed.
       
  1236 	*/
       
  1237 	inline CWspHeaderReader_PragmaTokenParamNoValue_UnitTest(CDataLogger& aDataLogger,
       
  1238 											MUnitTestObserver& aObserver);
       
  1239 
       
  1240 	/**
       
  1241 		@fn				void ConstructL()
       
  1242 		Intended Usage	: Second phase of safe two phase construction, 
       
  1243 		to complete the object initialisation.
       
  1244 		Error Condition	: Leaves with an error code.
       
  1245 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1246 		@since			7.0
       
  1247 		@return			None 
       
  1248 		@pre 			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully constructed.
       
  1249 		@post			CWspHeaderReader_PragmaTokenParamNoValue_UnitTest is fully initialized.
       
  1250 	*/
       
  1251 	void ConstructL();
       
  1252 
       
  1253 	/**
       
  1254 	The context of the Unit Test.
       
  1255 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1256 	 */
       
  1257 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1258 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1259 	/* C'tor, d'tor, and method transition validators */
       
  1260 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1261 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPragmaTokenParamNoValueValidator;
       
  1262 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1263 	};	// CWspHeaderReader_PragmaTokenParamNoValue_UnitTest
       
  1264 
       
  1265 
       
  1266 // ______________________________________________________________________________
       
  1267 //
       
  1268 /**
       
  1269 	@internal
       
  1270 	@class CWspHeaderReader_VaryShortIntToken_UnitTest
       
  1271 	@Depends CWspHeaderReader & CUnitTest 
       
  1272 
       
  1273 	Comments : Unit Test for VaryShortIntToken on CWspHeaderReader, the class under test.
       
  1274  */
       
  1275 class CWspHeaderReader_VaryShortIntToken_UnitTest : public CUnitTest
       
  1276 	{
       
  1277 public:
       
  1278 	/**
       
  1279 		@fn				NewL(CDataLogger& aDataLogger,
       
  1280 							MUnitTestObserver& aObserver)
       
  1281 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1282 						cleanup stack.
       
  1283 		Error Condition	: Leaves with the error code.
       
  1284 		@exceptions		KErrNoMemory
       
  1285 		@since			7.0
       
  1286 		@param			aDataLogger The output logging object.
       
  1287 		@param			aObserver The observer of this UnitTest.
       
  1288 		@return			CWspHeaderReader_VaryShortIntToken_UnitTest* The constructed object.
       
  1289 		@pre 			None.
       
  1290 		@post			CWspHeaderReader_VaryShortIntToken_UnitTest is fully constructed, and initialized.
       
  1291 	 */
       
  1292 	static CWspHeaderReader_VaryShortIntToken_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1293 											MUnitTestObserver& aObserver);
       
  1294 
       
  1295 	/**
       
  1296 		@fn				RunError(TInt aError)
       
  1297 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1298 						to restore the CWspHeaderReader_VaryShortIntToken_UnitTest
       
  1299 						object to a sensible state.
       
  1300 						(called by the Active Scheduler immediately before the Panic).
       
  1301 		Error Condition	: @see CUnitTest::RunError().
       
  1302 		@since			7.0
       
  1303 		@return			KErrNone if cleanup successful, otherwise
       
  1304 						@see CUnitTest::RunError()
       
  1305 		@pre 			CWspHeaderReader_VaryShortIntToken_UnitTest is fully constructed, and initialized.
       
  1306 		@post			The object has been restored to a sensible state.
       
  1307 	 */
       
  1308 	inline TInt RunError(TInt aError);
       
  1309 
       
  1310 	/**
       
  1311 		@fn				~CWspHeaderReader_VaryShortIntToken_UnitTest()
       
  1312 		Intended Usage	: Standard Destructor.
       
  1313 		Error Condition	: None.	
       
  1314 		@since			7.0
       
  1315 		@pre 			CWspHeaderReader_VaryShortIntToken_UnitTest is fully constructed.
       
  1316 		@post			CWspHeaderReader_VaryShortIntToken_UnitTest is fully destroyed.
       
  1317 	*/
       
  1318 	~CWspHeaderReader_VaryShortIntToken_UnitTest();
       
  1319 
       
  1320 private:
       
  1321 	/**
       
  1322 		@fn				CWspHeaderReader_VaryShortIntToken_UnitTest(CDataLogger& aDataLogger,
       
  1323 														MUnitTestObserver& aObserver)
       
  1324 		Intended Usage	: Default constructor.
       
  1325 		Error Condition	: None. 
       
  1326 		@since			7.0
       
  1327 		@param			aDataLogger The output logging object.
       
  1328 		@param			aObserver The observer of this UnitTest.
       
  1329 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1330 		@pre 			None.
       
  1331 		@post			CWspHeaderReader_VaryShortIntToken_UnitTest is fully constructed.
       
  1332 	*/
       
  1333 	inline CWspHeaderReader_VaryShortIntToken_UnitTest(CDataLogger& aDataLogger,
       
  1334 											MUnitTestObserver& aObserver);
       
  1335 
       
  1336 	/**
       
  1337 		@fn				void ConstructL()
       
  1338 		Intended Usage	: Second phase of safe two phase construction, 
       
  1339 		to complete the object initialisation.
       
  1340 		Error Condition	: Leaves with an error code.
       
  1341 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1342 		@since			7.0
       
  1343 		@return			None 
       
  1344 		@pre 			CWspHeaderReader_VaryShortIntToken_UnitTest is fully constructed.
       
  1345 		@post			CWspHeaderReader_VaryShortIntToken_UnitTest is fully initialized.
       
  1346 	*/
       
  1347 	void ConstructL();
       
  1348 
       
  1349 	/**
       
  1350 	The context of the Unit Test.
       
  1351 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1352 	 */
       
  1353 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1354 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1355 	/* C'tor, d'tor, and method transition validators */
       
  1356 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1357 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iVaryShortIntTokenValidator;
       
  1358 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1359 	};	// CWspHeaderReader_VaryShortIntToken_UnitTest
       
  1360 
       
  1361 // ______________________________________________________________________________
       
  1362 //
       
  1363 /**
       
  1364 	@internal
       
  1365 	@class CWspHeaderReader_VaryTokenText_UnitTest
       
  1366 	@Depends CWspHeaderReader & CUnitTest 
       
  1367 
       
  1368 	Comments : Unit Test for VaryTokenText on CWspHeaderReader, the class under test.
       
  1369  */
       
  1370 class CWspHeaderReader_VaryTokenText_UnitTest : public CUnitTest
       
  1371 	{
       
  1372 public:
       
  1373 	/**
       
  1374 		@fn				NewL(CDataLogger& aDataLogger,
       
  1375 							MUnitTestObserver& aObserver)
       
  1376 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1377 						cleanup stack.
       
  1378 		Error Condition	: Leaves with the error code.
       
  1379 		@exceptions		KErrNoMemory
       
  1380 		@since			7.0
       
  1381 		@param			aDataLogger The output logging object.
       
  1382 		@param			aObserver The observer of this UnitTest.
       
  1383 		@return			CWspHeaderReader_VaryTokenText_UnitTest* The constructed object.
       
  1384 		@pre 			None.
       
  1385 		@post			CWspHeaderReader_VaryTokenText_UnitTest is fully constructed, and initialized.
       
  1386 	 */
       
  1387 	static CWspHeaderReader_VaryTokenText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1388 											MUnitTestObserver& aObserver);
       
  1389 
       
  1390 	/**
       
  1391 		@fn				RunError(TInt aError)
       
  1392 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1393 						to restore the CWspHeaderReader_VaryTokenText_UnitTest
       
  1394 						object to a sensible state.
       
  1395 						(called by the Active Scheduler immediately before the Panic).
       
  1396 		Error Condition	: @see CUnitTest::RunError().
       
  1397 		@since			7.0
       
  1398 		@return			KErrNone if cleanup successful, otherwise
       
  1399 						@see CUnitTest::RunError()
       
  1400 		@pre 			CWspHeaderReader_VaryTokenText_UnitTest is fully constructed, and initialized.
       
  1401 		@post			The object has been restored to a sensible state.
       
  1402 	 */
       
  1403 	inline TInt RunError(TInt aError);
       
  1404 
       
  1405 	/**
       
  1406 		@fn				~CWspHeaderReader_VaryTokenText_UnitTest()
       
  1407 		Intended Usage	: Standard Destructor.
       
  1408 		Error Condition	: None.	
       
  1409 		@since			7.0
       
  1410 		@pre 			CWspHeaderReader_VaryTokenText_UnitTest is fully constructed.
       
  1411 		@post			CWspHeaderReader_VaryTokenText_UnitTest is fully destroyed.
       
  1412 	*/
       
  1413 	~CWspHeaderReader_VaryTokenText_UnitTest();
       
  1414 
       
  1415 private:
       
  1416 	/**
       
  1417 		@fn				CWspHeaderReader_VaryTokenText_UnitTest(CDataLogger& aDataLogger,
       
  1418 														MUnitTestObserver& aObserver)
       
  1419 		Intended Usage	: Default constructor.
       
  1420 		Error Condition	: None. 
       
  1421 		@since			7.0
       
  1422 		@param			aDataLogger The output logging object.
       
  1423 		@param			aObserver The observer of this UnitTest.
       
  1424 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1425 		@pre 			None.
       
  1426 		@post			CWspHeaderReader_VaryTokenText_UnitTest is fully constructed.
       
  1427 	*/
       
  1428 	inline CWspHeaderReader_VaryTokenText_UnitTest(CDataLogger& aDataLogger,
       
  1429 											MUnitTestObserver& aObserver);
       
  1430 
       
  1431 	/**
       
  1432 		@fn				void ConstructL()
       
  1433 		Intended Usage	: Second phase of safe two phase construction, 
       
  1434 		to complete the object initialisation.
       
  1435 		Error Condition	: Leaves with an error code.
       
  1436 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1437 		@since			7.0
       
  1438 		@return			None 
       
  1439 		@pre 			CWspHeaderReader_VaryTokenText_UnitTest is fully constructed.
       
  1440 		@post			CWspHeaderReader_VaryTokenText_UnitTest is fully initialized.
       
  1441 	*/
       
  1442 	void ConstructL();
       
  1443 
       
  1444 	/**
       
  1445 	The context of the Unit Test.
       
  1446 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1447 	 */
       
  1448 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1449 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1450 	/* C'tor, d'tor, and method transition validators */
       
  1451 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1452 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iVaryTokenTextValidator;
       
  1453 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1454 	};	// CWspHeaderReader_VaryTokenText_UnitTest
       
  1455 
       
  1456 // ______________________________________________________________________________
       
  1457 //
       
  1458 /**
       
  1459 	@internal
       
  1460 	@class CWspHeaderReader_WWWAuthenticateBasic_UnitTest
       
  1461 	@Depends CWspHeaderReader & CUnitTest 
       
  1462 
       
  1463 	Comments : Unit Test for WWWAuthenticateBasic on CWspHeaderReader, the class under test.
       
  1464  */
       
  1465 class CWspHeaderReader_WWWAuthenticateBasic_UnitTest : public CUnitTest
       
  1466 	{
       
  1467 public:
       
  1468 	/**
       
  1469 		@fn				NewL(CDataLogger& aDataLogger,
       
  1470 							MUnitTestObserver& aObserver)
       
  1471 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1472 						cleanup stack.
       
  1473 		Error Condition	: Leaves with the error code.
       
  1474 		@exceptions		KErrNoMemory
       
  1475 		@since			7.0
       
  1476 		@param			aDataLogger The output logging object.
       
  1477 		@param			aObserver The observer of this UnitTest.
       
  1478 		@return			CWspHeaderReader_WWWAuthenticateBasic_UnitTest* The constructed object.
       
  1479 		@pre 			None.
       
  1480 		@post			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully constructed, and initialized.
       
  1481 	 */
       
  1482 	static CWspHeaderReader_WWWAuthenticateBasic_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1483 											MUnitTestObserver& aObserver);
       
  1484 
       
  1485 	/**
       
  1486 		@fn				RunError(TInt aError)
       
  1487 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1488 						to restore the CWspHeaderReader_WWWAuthenticateBasic_UnitTest
       
  1489 						object to a sensible state.
       
  1490 						(called by the Active Scheduler immediately before the Panic).
       
  1491 		Error Condition	: @see CUnitTest::RunError().
       
  1492 		@since			7.0
       
  1493 		@return			KErrNone if cleanup successful, otherwise
       
  1494 						@see CUnitTest::RunError()
       
  1495 		@pre 			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully constructed, and initialized.
       
  1496 		@post			The object has been restored to a sensible state.
       
  1497 	 */
       
  1498 	inline TInt RunError(TInt aError);
       
  1499 
       
  1500 	/**
       
  1501 		@fn				~CWspHeaderReader_WWWAuthenticateBasic_UnitTest()
       
  1502 		Intended Usage	: Standard Destructor.
       
  1503 		Error Condition	: None.	
       
  1504 		@since			7.0
       
  1505 		@pre 			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully constructed.
       
  1506 		@post			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully destroyed.
       
  1507 	*/
       
  1508 	~CWspHeaderReader_WWWAuthenticateBasic_UnitTest();
       
  1509 
       
  1510 private:
       
  1511 	/**
       
  1512 		@fn				CWspHeaderReader_WWWAuthenticateBasic_UnitTest(CDataLogger& aDataLogger,
       
  1513 														MUnitTestObserver& aObserver)
       
  1514 		Intended Usage	: Default constructor.
       
  1515 		Error Condition	: None. 
       
  1516 		@since			7.0
       
  1517 		@param			aDataLogger The output logging object.
       
  1518 		@param			aObserver The observer of this UnitTest.
       
  1519 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1520 		@pre 			None.
       
  1521 		@post			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully constructed.
       
  1522 	*/
       
  1523 	inline CWspHeaderReader_WWWAuthenticateBasic_UnitTest(CDataLogger& aDataLogger,
       
  1524 											MUnitTestObserver& aObserver);
       
  1525 
       
  1526 	/**
       
  1527 		@fn				void ConstructL()
       
  1528 		Intended Usage	: Second phase of safe two phase construction, 
       
  1529 		to complete the object initialisation.
       
  1530 		Error Condition	: Leaves with an error code.
       
  1531 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1532 		@since			7.0
       
  1533 		@return			None 
       
  1534 		@pre 			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully constructed.
       
  1535 		@post			CWspHeaderReader_WWWAuthenticateBasic_UnitTest is fully initialized.
       
  1536 	*/
       
  1537 	void ConstructL();
       
  1538 
       
  1539 	/**
       
  1540 	The context of the Unit Test.
       
  1541 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1542 	 */
       
  1543 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1544 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1545 	/* C'tor, d'tor, and method transition validators */
       
  1546 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1547 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateBasicValidator;
       
  1548 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1549 	};	// CWspHeaderReader_WWWAuthenticateBasic_UnitTest
       
  1550 
       
  1551 // ______________________________________________________________________________
       
  1552 //
       
  1553 /**
       
  1554 	@internal
       
  1555 	@class CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest
       
  1556 	@Depends CWspHeaderReader & CUnitTest 
       
  1557 
       
  1558 	Comments : Unit Test for WWWAuthenticateBasicWithoutRealm on CWspHeaderReader, the class under test.
       
  1559  */
       
  1560 class CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest : public CUnitTest
       
  1561 	{
       
  1562 public:
       
  1563 	/**
       
  1564 		@fn				NewL(CDataLogger& aDataLogger,
       
  1565 							MUnitTestObserver& aObserver)
       
  1566 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1567 						cleanup stack.
       
  1568 		Error Condition	: Leaves with the error code.
       
  1569 		@exceptions		KErrNoMemory
       
  1570 		@since			7.0
       
  1571 		@param			aDataLogger The output logging object.
       
  1572 		@param			aObserver The observer of this UnitTest.
       
  1573 		@return			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest* The constructed object.
       
  1574 		@pre 			None.
       
  1575 		@post			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully constructed, and initialized.
       
  1576 	 */
       
  1577 	static CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1578 											MUnitTestObserver& aObserver);
       
  1579 
       
  1580 	/**
       
  1581 		@fn				RunError(TInt aError)
       
  1582 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1583 						to restore the CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest
       
  1584 						object to a sensible state.
       
  1585 						(called by the Active Scheduler immediately before the Panic).
       
  1586 		Error Condition	: @see CUnitTest::RunError().
       
  1587 		@since			7.0
       
  1588 		@return			KErrNone if cleanup successful, otherwise
       
  1589 						@see CUnitTest::RunError()
       
  1590 		@pre 			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully constructed, and initialized.
       
  1591 		@post			The object has been restored to a sensible state.
       
  1592 	 */
       
  1593 	inline TInt RunError(TInt aError);
       
  1594 
       
  1595 	/**
       
  1596 		@fn				~CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest()
       
  1597 		Intended Usage	: Standard Destructor.
       
  1598 		Error Condition	: None.	
       
  1599 		@since			7.0
       
  1600 		@pre 			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully constructed.
       
  1601 		@post			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully destroyed.
       
  1602 	*/
       
  1603 	~CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest();
       
  1604 
       
  1605 private:
       
  1606 	/**
       
  1607 		@fn				CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest(CDataLogger& aDataLogger,
       
  1608 														MUnitTestObserver& aObserver)
       
  1609 		Intended Usage	: Default constructor.
       
  1610 		Error Condition	: None. 
       
  1611 		@since			7.0
       
  1612 		@param			aDataLogger The output logging object.
       
  1613 		@param			aObserver The observer of this UnitTest.
       
  1614 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1615 		@pre 			None.
       
  1616 		@post			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully constructed.
       
  1617 	*/
       
  1618 	inline CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest(CDataLogger& aDataLogger,
       
  1619 											MUnitTestObserver& aObserver);
       
  1620 
       
  1621 	/**
       
  1622 		@fn				void ConstructL()
       
  1623 		Intended Usage	: Second phase of safe two phase construction, 
       
  1624 		to complete the object initialisation.
       
  1625 		Error Condition	: Leaves with an error code.
       
  1626 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1627 		@since			7.0
       
  1628 		@return			None 
       
  1629 		@pre 			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully constructed.
       
  1630 		@post			CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest is fully initialized.
       
  1631 	*/
       
  1632 	void ConstructL();
       
  1633 
       
  1634 	/**
       
  1635 	The context of the Unit Test.
       
  1636 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1637 	 */
       
  1638 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1639 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1640 	/* C'tor, d'tor, and method transition validators */
       
  1641 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1642 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateBasicWithoutRealmValidator;
       
  1643 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1644 	};	// CWspHeaderReader_WWWAuthenticateBasicWithoutRealm_UnitTest
       
  1645 
       
  1646 // ______________________________________________________________________________
       
  1647 //
       
  1648 /**
       
  1649 	@internal
       
  1650 	@class CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest
       
  1651 	@Depends CWspHeaderReader & CUnitTest 
       
  1652 
       
  1653 	Comments : Unit Test for WWWAuthenticateAuthScheme on CWspHeaderReader, the class under test.
       
  1654  */
       
  1655 class CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest : public CUnitTest
       
  1656 	{
       
  1657 public:
       
  1658 	/**
       
  1659 		@fn				NewL(CDataLogger& aDataLogger,
       
  1660 							MUnitTestObserver& aObserver)
       
  1661 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1662 						cleanup stack.
       
  1663 		Error Condition	: Leaves with the error code.
       
  1664 		@exceptions		KErrNoMemory
       
  1665 		@since			7.0
       
  1666 		@param			aDataLogger The output logging object.
       
  1667 		@param			aObserver The observer of this UnitTest.
       
  1668 		@return			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest* The constructed object.
       
  1669 		@pre 			None.
       
  1670 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully constructed, and initialized.
       
  1671 	 */
       
  1672 	static CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1673 											MUnitTestObserver& aObserver);
       
  1674 
       
  1675 	/**
       
  1676 		@fn				RunError(TInt aError)
       
  1677 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1678 						to restore the CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest
       
  1679 						object to a sensible state.
       
  1680 						(called by the Active Scheduler immediately before the Panic).
       
  1681 		Error Condition	: @see CUnitTest::RunError().
       
  1682 		@since			7.0
       
  1683 		@return			KErrNone if cleanup successful, otherwise
       
  1684 						@see CUnitTest::RunError()
       
  1685 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully constructed, and initialized.
       
  1686 		@post			The object has been restored to a sensible state.
       
  1687 	 */
       
  1688 	inline TInt RunError(TInt aError);
       
  1689 
       
  1690 	/**
       
  1691 		@fn				~CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest()
       
  1692 		Intended Usage	: Standard Destructor.
       
  1693 		Error Condition	: None.	
       
  1694 		@since			7.0
       
  1695 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully constructed.
       
  1696 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully destroyed.
       
  1697 	*/
       
  1698 	~CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest();
       
  1699 
       
  1700 private:
       
  1701 	/**
       
  1702 		@fn				CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest(CDataLogger& aDataLogger,
       
  1703 														MUnitTestObserver& aObserver)
       
  1704 		Intended Usage	: Default constructor.
       
  1705 		Error Condition	: None. 
       
  1706 		@since			7.0
       
  1707 		@param			aDataLogger The output logging object.
       
  1708 		@param			aObserver The observer of this UnitTest.
       
  1709 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1710 		@pre 			None.
       
  1711 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully constructed.
       
  1712 	*/
       
  1713 	inline CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest(CDataLogger& aDataLogger,
       
  1714 											MUnitTestObserver& aObserver);
       
  1715 
       
  1716 	/**
       
  1717 		@fn				void ConstructL()
       
  1718 		Intended Usage	: Second phase of safe two phase construction, 
       
  1719 		to complete the object initialisation.
       
  1720 		Error Condition	: Leaves with an error code.
       
  1721 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1722 		@since			7.0
       
  1723 		@return			None 
       
  1724 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully constructed.
       
  1725 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest is fully initialized.
       
  1726 	*/
       
  1727 	void ConstructL();
       
  1728 
       
  1729 	/**
       
  1730 	The context of the Unit Test.
       
  1731 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1732 	 */
       
  1733 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1734 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1735 	/* C'tor, d'tor, and method transition validators */
       
  1736 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1737 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateAuthSchemeValidator;
       
  1738 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1739 	};	// CWspHeaderReader_WWWAuthenticateAuthScheme_UnitTest
       
  1740 
       
  1741 // ______________________________________________________________________________
       
  1742 //
       
  1743 /**
       
  1744 	@internal
       
  1745 	@class CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest
       
  1746 	@Depends CWspHeaderReader & CUnitTest 
       
  1747 
       
  1748 	Comments : Unit Test for WWWAuthenticateAuthSchemeNoRealm on CWspHeaderReader, the class under test.
       
  1749  */
       
  1750 class CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest : public CUnitTest
       
  1751 	{
       
  1752 public:
       
  1753 	/**
       
  1754 		@fn				NewL(CDataLogger& aDataLogger,
       
  1755 							MUnitTestObserver& aObserver)
       
  1756 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1757 						cleanup stack.
       
  1758 		Error Condition	: Leaves with the error code.
       
  1759 		@exceptions		KErrNoMemory
       
  1760 		@since			7.0
       
  1761 		@param			aDataLogger The output logging object.
       
  1762 		@param			aObserver The observer of this UnitTest.
       
  1763 		@return			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest* The constructed object.
       
  1764 		@pre 			None.
       
  1765 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully constructed, and initialized.
       
  1766 	 */
       
  1767 	static CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1768 											MUnitTestObserver& aObserver);
       
  1769 
       
  1770 	/**
       
  1771 		@fn				RunError(TInt aError)
       
  1772 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1773 						to restore the CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest
       
  1774 						object to a sensible state.
       
  1775 						(called by the Active Scheduler immediately before the Panic).
       
  1776 		Error Condition	: @see CUnitTest::RunError().
       
  1777 		@since			7.0
       
  1778 		@return			KErrNone if cleanup successful, otherwise
       
  1779 						@see CUnitTest::RunError()
       
  1780 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully constructed, and initialized.
       
  1781 		@post			The object has been restored to a sensible state.
       
  1782 	 */
       
  1783 	inline TInt RunError(TInt aError);
       
  1784 
       
  1785 	/**
       
  1786 		@fn				~CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest()
       
  1787 		Intended Usage	: Standard Destructor.
       
  1788 		Error Condition	: None.	
       
  1789 		@since			7.0
       
  1790 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully constructed.
       
  1791 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully destroyed.
       
  1792 	*/
       
  1793 	~CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest();
       
  1794 
       
  1795 private:
       
  1796 	/**
       
  1797 		@fn				CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest(CDataLogger& aDataLogger,
       
  1798 														MUnitTestObserver& aObserver)
       
  1799 		Intended Usage	: Default constructor.
       
  1800 		Error Condition	: None. 
       
  1801 		@since			7.0
       
  1802 		@param			aDataLogger The output logging object.
       
  1803 		@param			aObserver The observer of this UnitTest.
       
  1804 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1805 		@pre 			None.
       
  1806 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully constructed.
       
  1807 	*/
       
  1808 	inline CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest(CDataLogger& aDataLogger,
       
  1809 											MUnitTestObserver& aObserver);
       
  1810 
       
  1811 	/**
       
  1812 		@fn				void ConstructL()
       
  1813 		Intended Usage	: Second phase of safe two phase construction, 
       
  1814 		to complete the object initialisation.
       
  1815 		Error Condition	: Leaves with an error code.
       
  1816 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1817 		@since			7.0
       
  1818 		@return			None 
       
  1819 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully constructed.
       
  1820 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest is fully initialized.
       
  1821 	*/
       
  1822 	void ConstructL();
       
  1823 
       
  1824 	/**
       
  1825 	The context of the Unit Test.
       
  1826 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1827 	 */
       
  1828 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1829 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1830 	/* C'tor, d'tor, and method transition validators */
       
  1831 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1832 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateAuthSchemeNoRealmValidator;
       
  1833 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1834 	};	// CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm_UnitTest
       
  1835 
       
  1836 // ______________________________________________________________________________
       
  1837 //
       
  1838 /**
       
  1839 	@internal
       
  1840 	@class CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest
       
  1841 	@Depends CWspHeaderReader & CUnitTest 
       
  1842 
       
  1843 	Comments : Unit Test for WWWAuthenticateAuthScheme2Params on CWspHeaderReader, the class under test.
       
  1844  */
       
  1845 class CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest : public CUnitTest
       
  1846 	{
       
  1847 public:
       
  1848 	/**
       
  1849 		@fn				NewL(CDataLogger& aDataLogger,
       
  1850 							MUnitTestObserver& aObserver)
       
  1851 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1852 						cleanup stack.
       
  1853 		Error Condition	: Leaves with the error code.
       
  1854 		@exceptions		KErrNoMemory
       
  1855 		@since			7.0
       
  1856 		@param			aDataLogger The output logging object.
       
  1857 		@param			aObserver The observer of this UnitTest.
       
  1858 		@return			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest* The constructed object.
       
  1859 		@pre 			None.
       
  1860 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully constructed, and initialized.
       
  1861 	 */
       
  1862 	static CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1863 											MUnitTestObserver& aObserver);
       
  1864 
       
  1865 	/**
       
  1866 		@fn				RunError(TInt aError)
       
  1867 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1868 						to restore the CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest
       
  1869 						object to a sensible state.
       
  1870 						(called by the Active Scheduler immediately before the Panic).
       
  1871 		Error Condition	: @see CUnitTest::RunError().
       
  1872 		@since			7.0
       
  1873 		@return			KErrNone if cleanup successful, otherwise
       
  1874 						@see CUnitTest::RunError()
       
  1875 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully constructed, and initialized.
       
  1876 		@post			The object has been restored to a sensible state.
       
  1877 	 */
       
  1878 	inline TInt RunError(TInt aError);
       
  1879 
       
  1880 	/**
       
  1881 		@fn				~CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest()
       
  1882 		Intended Usage	: Standard Destructor.
       
  1883 		Error Condition	: None.	
       
  1884 		@since			7.0
       
  1885 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully constructed.
       
  1886 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully destroyed.
       
  1887 	*/
       
  1888 	~CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest();
       
  1889 
       
  1890 private:
       
  1891 	/**
       
  1892 		@fn				CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest(CDataLogger& aDataLogger,
       
  1893 														MUnitTestObserver& aObserver)
       
  1894 		Intended Usage	: Default constructor.
       
  1895 		Error Condition	: None. 
       
  1896 		@since			7.0
       
  1897 		@param			aDataLogger The output logging object.
       
  1898 		@param			aObserver The observer of this UnitTest.
       
  1899 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1900 		@pre 			None.
       
  1901 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully constructed.
       
  1902 	*/
       
  1903 	inline CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest(CDataLogger& aDataLogger,
       
  1904 											MUnitTestObserver& aObserver);
       
  1905 
       
  1906 	/**
       
  1907 		@fn				void ConstructL()
       
  1908 		Intended Usage	: Second phase of safe two phase construction, 
       
  1909 		to complete the object initialisation.
       
  1910 		Error Condition	: Leaves with an error code.
       
  1911 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  1912 		@since			7.0
       
  1913 		@return			None 
       
  1914 		@pre 			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully constructed.
       
  1915 		@post			CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest is fully initialized.
       
  1916 	*/
       
  1917 	void ConstructL();
       
  1918 
       
  1919 	/**
       
  1920 	The context of the Unit Test.
       
  1921 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  1922 	 */
       
  1923 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  1924 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  1925 	/* C'tor, d'tor, and method transition validators */
       
  1926 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  1927 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateAuthScheme2ParamsValidator;
       
  1928 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  1929 	};	// CWspHeaderReader_WWWAuthenticateAuthScheme2Params_UnitTest
       
  1930 
       
  1931 // ______________________________________________________________________________
       
  1932 //
       
  1933 /**
       
  1934 	@internal
       
  1935 	@class CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest
       
  1936 	@Depends CWspHeaderReader & CUnitTest 
       
  1937 
       
  1938 	Comments : Unit Test for WWWAuthenticateAuthSchemeNoRealm2Params on CWspHeaderReader, the class under test.
       
  1939  */
       
  1940 class CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest : public CUnitTest
       
  1941 	{
       
  1942 public:
       
  1943 	/**
       
  1944 		@fn				NewL(CDataLogger& aDataLogger,
       
  1945 							MUnitTestObserver& aObserver)
       
  1946 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  1947 						cleanup stack.
       
  1948 		Error Condition	: Leaves with the error code.
       
  1949 		@exceptions		KErrNoMemory
       
  1950 		@since			7.0
       
  1951 		@param			aDataLogger The output logging object.
       
  1952 		@param			aObserver The observer of this UnitTest.
       
  1953 		@return			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest* The constructed object.
       
  1954 		@pre 			None.
       
  1955 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully constructed, and initialized.
       
  1956 	 */
       
  1957 	static CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest* NewL(CDataLogger& aDataLogger,
       
  1958 											MUnitTestObserver& aObserver);
       
  1959 
       
  1960 	/**
       
  1961 		@fn				RunError(TInt aError)
       
  1962 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  1963 						to restore the CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest
       
  1964 						object to a sensible state.
       
  1965 						(called by the Active Scheduler immediately before the Panic).
       
  1966 		Error Condition	: @see CUnitTest::RunError().
       
  1967 		@since			7.0
       
  1968 		@return			KErrNone if cleanup successful, otherwise
       
  1969 						@see CUnitTest::RunError()
       
  1970 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully constructed, and initialized.
       
  1971 		@post			The object has been restored to a sensible state.
       
  1972 	 */
       
  1973 	inline TInt RunError(TInt aError);
       
  1974 
       
  1975 	/**
       
  1976 		@fn				~CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest()
       
  1977 		Intended Usage	: Standard Destructor.
       
  1978 		Error Condition	: None.	
       
  1979 		@since			7.0
       
  1980 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully constructed.
       
  1981 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully destroyed.
       
  1982 	*/
       
  1983 	~CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest();
       
  1984 
       
  1985 private:
       
  1986 	/**
       
  1987 		@fn				CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest(CDataLogger& aDataLogger,
       
  1988 														MUnitTestObserver& aObserver)
       
  1989 		Intended Usage	: Default constructor.
       
  1990 		Error Condition	: None. 
       
  1991 		@since			7.0
       
  1992 		@param			aDataLogger The output logging object.
       
  1993 		@param			aObserver The observer of this UnitTest.
       
  1994 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  1995 		@pre 			None.
       
  1996 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully constructed.
       
  1997 	*/
       
  1998 	inline CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest(CDataLogger& aDataLogger,
       
  1999 											MUnitTestObserver& aObserver);
       
  2000 
       
  2001 	/**
       
  2002 		@fn				void ConstructL()
       
  2003 		Intended Usage	: Second phase of safe two phase construction, 
       
  2004 		to complete the object initialisation.
       
  2005 		Error Condition	: Leaves with an error code.
       
  2006 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2007 		@since			7.0
       
  2008 		@return			None 
       
  2009 		@pre 			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully constructed.
       
  2010 		@post			CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest is fully initialized.
       
  2011 	*/
       
  2012 	void ConstructL();
       
  2013 
       
  2014 	/**
       
  2015 	The context of the Unit Test.
       
  2016 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2017 	 */
       
  2018 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2019 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2020 	/* C'tor, d'tor, and method transition validators */
       
  2021 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2022 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWWWAuthenticateAuthSchemeNoRealm2ParamsValidator;
       
  2023 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2024 	};	// CWspHeaderReader_WWWAuthenticateAuthSchemeNoRealm2Params_UnitTest
       
  2025 
       
  2026 // ______________________________________________________________________________
       
  2027 //
       
  2028 /**
       
  2029 	@internal
       
  2030 	@class CWspHeaderReader_SetCookieShortIntVersion_UnitTest
       
  2031 	@Depends CWspHeaderReader & CUnitTest 
       
  2032 
       
  2033 	Comments : Unit Test for SetCookieShortIntVersion on CWspHeaderReader, the class under test.
       
  2034  */
       
  2035 class CWspHeaderReader_SetCookieShortIntVersion_UnitTest : public CUnitTest
       
  2036 	{
       
  2037 public:
       
  2038 	/**
       
  2039 		@fn				NewL(CDataLogger& aDataLogger,
       
  2040 							MUnitTestObserver& aObserver)
       
  2041 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2042 						cleanup stack.
       
  2043 		Error Condition	: Leaves with the error code.
       
  2044 		@exceptions		KErrNoMemory
       
  2045 		@since			7.0
       
  2046 		@param			aDataLogger The output logging object.
       
  2047 		@param			aObserver The observer of this UnitTest.
       
  2048 		@return			CWspHeaderReader_SetCookieShortIntVersion_UnitTest* The constructed object.
       
  2049 		@pre 			None.
       
  2050 		@post			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully constructed, and initialized.
       
  2051 	 */
       
  2052 	static CWspHeaderReader_SetCookieShortIntVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2053 											MUnitTestObserver& aObserver);
       
  2054 
       
  2055 	/**
       
  2056 		@fn				RunError(TInt aError)
       
  2057 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2058 						to restore the CWspHeaderReader_SetCookieShortIntVersion_UnitTest
       
  2059 						object to a sensible state.
       
  2060 						(called by the Active Scheduler immediately before the Panic).
       
  2061 		Error Condition	: @see CUnitTest::RunError().
       
  2062 		@since			7.0
       
  2063 		@return			KErrNone if cleanup successful, otherwise
       
  2064 						@see CUnitTest::RunError()
       
  2065 		@pre 			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully constructed, and initialized.
       
  2066 		@post			The object has been restored to a sensible state.
       
  2067 	 */
       
  2068 	inline TInt RunError(TInt aError);
       
  2069 
       
  2070 	/**
       
  2071 		@fn				~CWspHeaderReader_SetCookieShortIntVersion_UnitTest()
       
  2072 		Intended Usage	: Standard Destructor.
       
  2073 		Error Condition	: None.	
       
  2074 		@since			7.0
       
  2075 		@pre 			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully constructed.
       
  2076 		@post			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully destroyed.
       
  2077 	*/
       
  2078 	~CWspHeaderReader_SetCookieShortIntVersion_UnitTest();
       
  2079 
       
  2080 private:
       
  2081 	/**
       
  2082 		@fn				CWspHeaderReader_SetCookieShortIntVersion_UnitTest(CDataLogger& aDataLogger,
       
  2083 														MUnitTestObserver& aObserver)
       
  2084 		Intended Usage	: Default constructor.
       
  2085 		Error Condition	: None. 
       
  2086 		@since			7.0
       
  2087 		@param			aDataLogger The output logging object.
       
  2088 		@param			aObserver The observer of this UnitTest.
       
  2089 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2090 		@pre 			None.
       
  2091 		@post			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully constructed.
       
  2092 	*/
       
  2093 	inline CWspHeaderReader_SetCookieShortIntVersion_UnitTest(CDataLogger& aDataLogger,
       
  2094 											MUnitTestObserver& aObserver);
       
  2095 
       
  2096 	/**
       
  2097 		@fn				void ConstructL()
       
  2098 		Intended Usage	: Second phase of safe two phase construction, 
       
  2099 		to complete the object initialisation.
       
  2100 		Error Condition	: Leaves with an error code.
       
  2101 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2102 		@since			7.0
       
  2103 		@return			None 
       
  2104 		@pre 			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully constructed.
       
  2105 		@post			CWspHeaderReader_SetCookieShortIntVersion_UnitTest is fully initialized.
       
  2106 	*/
       
  2107 	void ConstructL();
       
  2108 
       
  2109 	/**
       
  2110 	The context of the Unit Test.
       
  2111 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2112 	 */
       
  2113 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2114 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2115 	/* C'tor, d'tor, and method transition validators */
       
  2116 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2117 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iSetCookieShortIntVersionValidator;
       
  2118 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2119 	};	// CWspHeaderReader_SetCookieShortIntVersion_UnitTest
       
  2120 
       
  2121 // ______________________________________________________________________________
       
  2122 //
       
  2123 /**
       
  2124 	@internal
       
  2125 	@class CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest
       
  2126 	@Depends CWspHeaderReader & CUnitTest 
       
  2127 
       
  2128 	Comments : Unit Test for SetCookieMajorVersionNullName1Param on CWspHeaderReader, the class under test.
       
  2129  */
       
  2130 class CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest : public CUnitTest
       
  2131 	{
       
  2132 public:
       
  2133 	/**
       
  2134 		@fn				NewL(CDataLogger& aDataLogger,
       
  2135 							MUnitTestObserver& aObserver)
       
  2136 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2137 						cleanup stack.
       
  2138 		Error Condition	: Leaves with the error code.
       
  2139 		@exceptions		KErrNoMemory
       
  2140 		@since			7.0
       
  2141 		@param			aDataLogger The output logging object.
       
  2142 		@param			aObserver The observer of this UnitTest.
       
  2143 		@return			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest* The constructed object.
       
  2144 		@pre 			None.
       
  2145 		@post			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully constructed, and initialized.
       
  2146 	 */
       
  2147 	static CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2148 											MUnitTestObserver& aObserver);
       
  2149 
       
  2150 	/**
       
  2151 		@fn				RunError(TInt aError)
       
  2152 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2153 						to restore the CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest
       
  2154 						object to a sensible state.
       
  2155 						(called by the Active Scheduler immediately before the Panic).
       
  2156 		Error Condition	: @see CUnitTest::RunError().
       
  2157 		@since			7.0
       
  2158 		@return			KErrNone if cleanup successful, otherwise
       
  2159 						@see CUnitTest::RunError()
       
  2160 		@pre 			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully constructed, and initialized.
       
  2161 		@post			The object has been restored to a sensible state.
       
  2162 	 */
       
  2163 	inline TInt RunError(TInt aError);
       
  2164 
       
  2165 	/**
       
  2166 		@fn				~CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest()
       
  2167 		Intended Usage	: Standard Destructor.
       
  2168 		Error Condition	: None.	
       
  2169 		@since			7.0
       
  2170 		@pre 			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully constructed.
       
  2171 		@post			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully destroyed.
       
  2172 	*/
       
  2173 	~CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest();
       
  2174 
       
  2175 private:
       
  2176 	/**
       
  2177 		@fn				CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest(CDataLogger& aDataLogger,
       
  2178 														MUnitTestObserver& aObserver)
       
  2179 		Intended Usage	: Default constructor.
       
  2180 		Error Condition	: None. 
       
  2181 		@since			7.0
       
  2182 		@param			aDataLogger The output logging object.
       
  2183 		@param			aObserver The observer of this UnitTest.
       
  2184 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2185 		@pre 			None.
       
  2186 		@post			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully constructed.
       
  2187 	*/
       
  2188 	inline CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest(CDataLogger& aDataLogger,
       
  2189 											MUnitTestObserver& aObserver);
       
  2190 
       
  2191 	/**
       
  2192 		@fn				void ConstructL()
       
  2193 		Intended Usage	: Second phase of safe two phase construction, 
       
  2194 		to complete the object initialisation.
       
  2195 		Error Condition	: Leaves with an error code.
       
  2196 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2197 		@since			7.0
       
  2198 		@return			None 
       
  2199 		@pre 			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully constructed.
       
  2200 		@post			CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest is fully initialized.
       
  2201 	*/
       
  2202 	void ConstructL();
       
  2203 
       
  2204 	/**
       
  2205 	The context of the Unit Test.
       
  2206 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2207 	 */
       
  2208 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2209 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2210 	/* C'tor, d'tor, and method transition validators */
       
  2211 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2212 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iSetCookieMajorVersionNullName1ParamValidator;
       
  2213 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2214 	};	// CWspHeaderReader_SetCookieMajorVersionNullName1Param_UnitTest
       
  2215 
       
  2216 // ______________________________________________________________________________
       
  2217 //
       
  2218 /**
       
  2219 	@internal
       
  2220 	@class CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest
       
  2221 	@Depends CWspHeaderReader & CUnitTest 
       
  2222 
       
  2223 	Comments : Unit Test for SetCookieTextVersionNullValue on CWspHeaderReader, the class under test.
       
  2224  */
       
  2225 class CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest : public CUnitTest
       
  2226 	{
       
  2227 public:
       
  2228 	/**
       
  2229 		@fn				NewL(CDataLogger& aDataLogger,
       
  2230 							MUnitTestObserver& aObserver)
       
  2231 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2232 						cleanup stack.
       
  2233 		Error Condition	: Leaves with the error code.
       
  2234 		@exceptions		KErrNoMemory
       
  2235 		@since			7.0
       
  2236 		@param			aDataLogger The output logging object.
       
  2237 		@param			aObserver The observer of this UnitTest.
       
  2238 		@return			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest* The constructed object.
       
  2239 		@pre 			None.
       
  2240 		@post			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully constructed, and initialized.
       
  2241 	 */
       
  2242 	static CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2243 											MUnitTestObserver& aObserver);
       
  2244 
       
  2245 	/**
       
  2246 		@fn				RunError(TInt aError)
       
  2247 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2248 						to restore the CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest
       
  2249 						object to a sensible state.
       
  2250 						(called by the Active Scheduler immediately before the Panic).
       
  2251 		Error Condition	: @see CUnitTest::RunError().
       
  2252 		@since			7.0
       
  2253 		@return			KErrNone if cleanup successful, otherwise
       
  2254 						@see CUnitTest::RunError()
       
  2255 		@pre 			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully constructed, and initialized.
       
  2256 		@post			The object has been restored to a sensible state.
       
  2257 	 */
       
  2258 	inline TInt RunError(TInt aError);
       
  2259 
       
  2260 	/**
       
  2261 		@fn				~CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest()
       
  2262 		Intended Usage	: Standard Destructor.
       
  2263 		Error Condition	: None.	
       
  2264 		@since			7.0
       
  2265 		@pre 			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully constructed.
       
  2266 		@post			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully destroyed.
       
  2267 	*/
       
  2268 	~CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest();
       
  2269 
       
  2270 private:
       
  2271 	/**
       
  2272 		@fn				CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest(CDataLogger& aDataLogger,
       
  2273 														MUnitTestObserver& aObserver)
       
  2274 		Intended Usage	: Default constructor.
       
  2275 		Error Condition	: None. 
       
  2276 		@since			7.0
       
  2277 		@param			aDataLogger The output logging object.
       
  2278 		@param			aObserver The observer of this UnitTest.
       
  2279 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2280 		@pre 			None.
       
  2281 		@post			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully constructed.
       
  2282 	*/
       
  2283 	inline CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest(CDataLogger& aDataLogger,
       
  2284 											MUnitTestObserver& aObserver);
       
  2285 
       
  2286 	/**
       
  2287 		@fn				void ConstructL()
       
  2288 		Intended Usage	: Second phase of safe two phase construction, 
       
  2289 		to complete the object initialisation.
       
  2290 		Error Condition	: Leaves with an error code.
       
  2291 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2292 		@since			7.0
       
  2293 		@return			None 
       
  2294 		@pre 			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully constructed.
       
  2295 		@post			CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest is fully initialized.
       
  2296 	*/
       
  2297 	void ConstructL();
       
  2298 
       
  2299 	/**
       
  2300 	The context of the Unit Test.
       
  2301 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2302 	 */
       
  2303 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2304 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2305 	/* C'tor, d'tor, and method transition validators */
       
  2306 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2307 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iSetCookieTextVersionNullValueValidator;
       
  2308 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2309 	};	// CWspHeaderReader_SetCookieTextVersionNullValue_UnitTest
       
  2310 
       
  2311 // ______________________________________________________________________________
       
  2312 //
       
  2313 /**
       
  2314 	@internal
       
  2315 	@class CWspHeaderReader_SetCookieNullVersion_UnitTest
       
  2316 	@Depends CWspHeaderReader & CUnitTest 
       
  2317 
       
  2318 	Comments : Unit Test for SetCookieNullVersion on CWspHeaderReader, the class under test.
       
  2319  */
       
  2320 class CWspHeaderReader_SetCookieNullVersion_UnitTest : public CUnitTest
       
  2321 	{
       
  2322 public:
       
  2323 	/**
       
  2324 		@fn				NewL(CDataLogger& aDataLogger,
       
  2325 							MUnitTestObserver& aObserver)
       
  2326 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2327 						cleanup stack.
       
  2328 		Error Condition	: Leaves with the error code.
       
  2329 		@exceptions		KErrNoMemory
       
  2330 		@since			7.0
       
  2331 		@param			aDataLogger The output logging object.
       
  2332 		@param			aObserver The observer of this UnitTest.
       
  2333 		@return			CWspHeaderReader_SetCookieNullVersion_UnitTest* The constructed object.
       
  2334 		@pre 			None.
       
  2335 		@post			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully constructed, and initialized.
       
  2336 	 */
       
  2337 	static CWspHeaderReader_SetCookieNullVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2338 											MUnitTestObserver& aObserver);
       
  2339 
       
  2340 	/**
       
  2341 		@fn				RunError(TInt aError)
       
  2342 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2343 						to restore the CWspHeaderReader_SetCookieNullVersion_UnitTest
       
  2344 						object to a sensible state.
       
  2345 						(called by the Active Scheduler immediately before the Panic).
       
  2346 		Error Condition	: @see CUnitTest::RunError().
       
  2347 		@since			7.0
       
  2348 		@return			KErrNone if cleanup successful, otherwise
       
  2349 						@see CUnitTest::RunError()
       
  2350 		@pre 			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully constructed, and initialized.
       
  2351 		@post			The object has been restored to a sensible state.
       
  2352 	 */
       
  2353 	inline TInt RunError(TInt aError);
       
  2354 
       
  2355 	/**
       
  2356 		@fn				~CWspHeaderReader_SetCookieNullVersion_UnitTest()
       
  2357 		Intended Usage	: Standard Destructor.
       
  2358 		Error Condition	: None.	
       
  2359 		@since			7.0
       
  2360 		@pre 			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully constructed.
       
  2361 		@post			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully destroyed.
       
  2362 	*/
       
  2363 	~CWspHeaderReader_SetCookieNullVersion_UnitTest();
       
  2364 
       
  2365 private:
       
  2366 	/**
       
  2367 		@fn				CWspHeaderReader_SetCookieNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  2368 														MUnitTestObserver& aObserver)
       
  2369 		Intended Usage	: Default constructor.
       
  2370 		Error Condition	: None. 
       
  2371 		@since			7.0
       
  2372 		@param			aDataLogger The output logging object.
       
  2373 		@param			aObserver The observer of this UnitTest.
       
  2374 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2375 		@pre 			None.
       
  2376 		@post			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully constructed.
       
  2377 	*/
       
  2378 	inline CWspHeaderReader_SetCookieNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  2379 											MUnitTestObserver& aObserver);
       
  2380 
       
  2381 	/**
       
  2382 		@fn				void ConstructL()
       
  2383 		Intended Usage	: Second phase of safe two phase construction, 
       
  2384 		to complete the object initialisation.
       
  2385 		Error Condition	: Leaves with an error code.
       
  2386 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2387 		@since			7.0
       
  2388 		@return			None 
       
  2389 		@pre 			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully constructed.
       
  2390 		@post			CWspHeaderReader_SetCookieNullVersion_UnitTest is fully initialized.
       
  2391 	*/
       
  2392 	void ConstructL();
       
  2393 
       
  2394 	/**
       
  2395 	The context of the Unit Test.
       
  2396 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2397 	 */
       
  2398 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2399 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2400 	/* C'tor, d'tor, and method transition validators */
       
  2401 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2402 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iSetCookieNullVersionValidator;
       
  2403 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2404 	};	// CWspHeaderReader_SetCookieNullVersion_UnitTest
       
  2405 
       
  2406 // ______________________________________________________________________________
       
  2407 //
       
  2408 /**
       
  2409 	@internal
       
  2410 	@class CWspHeaderReader_ContentLocation_UnitTest
       
  2411 	@Depends CWspHeaderReader & CUnitTest 
       
  2412 
       
  2413 	Comments : Unit Test for ContentLocation on CWspHeaderReader, the class under test.
       
  2414  */
       
  2415 class CWspHeaderReader_ContentLocation_UnitTest : public CUnitTest
       
  2416 	{
       
  2417 public:
       
  2418 	/**
       
  2419 		@fn				NewL(CDataLogger& aDataLogger,
       
  2420 							MUnitTestObserver& aObserver)
       
  2421 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2422 						cleanup stack.
       
  2423 		Error Condition	: Leaves with the error code.
       
  2424 		@exceptions		KErrNoMemory
       
  2425 		@since			7.0
       
  2426 		@param			aDataLogger The output logging object.
       
  2427 		@param			aObserver The observer of this UnitTest.
       
  2428 		@return			CWspHeaderReader_ContentLocation_UnitTest* The constructed object.
       
  2429 		@pre 			None.
       
  2430 		@post			CWspHeaderReader_ContentLocation_UnitTest is fully constructed, and initialized.
       
  2431 	 */
       
  2432 	static CWspHeaderReader_ContentLocation_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2433 											MUnitTestObserver& aObserver);
       
  2434 
       
  2435 	/**
       
  2436 		@fn				RunError(TInt aError)
       
  2437 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2438 						to restore the CWspHeaderReader_ContentLocation_UnitTest
       
  2439 						object to a sensible state.
       
  2440 						(called by the Active Scheduler immediately before the Panic).
       
  2441 		Error Condition	: @see CUnitTest::RunError().
       
  2442 		@since			7.0
       
  2443 		@return			KErrNone if cleanup successful, otherwise
       
  2444 						@see CUnitTest::RunError()
       
  2445 		@pre 			CWspHeaderReader_ContentLocation_UnitTest is fully constructed, and initialized.
       
  2446 		@post			The object has been restored to a sensible state.
       
  2447 	 */
       
  2448 	inline TInt RunError(TInt aError);
       
  2449 
       
  2450 	/**
       
  2451 		@fn				~CWspHeaderReader_ContentLocation_UnitTest()
       
  2452 		Intended Usage	: Standard Destructor.
       
  2453 		Error Condition	: None.	
       
  2454 		@since			7.0
       
  2455 		@pre 			CWspHeaderReader_ContentLocation_UnitTest is fully constructed.
       
  2456 		@post			CWspHeaderReader_ContentLocation_UnitTest is fully destroyed.
       
  2457 	*/
       
  2458 	~CWspHeaderReader_ContentLocation_UnitTest();
       
  2459 
       
  2460 private:
       
  2461 	/**
       
  2462 		@fn				CWspHeaderReader_ContentLocation_UnitTest(CDataLogger& aDataLogger,
       
  2463 														MUnitTestObserver& aObserver)
       
  2464 		Intended Usage	: Default constructor.
       
  2465 		Error Condition	: None. 
       
  2466 		@since			7.0
       
  2467 		@param			aDataLogger The output logging object.
       
  2468 		@param			aObserver The observer of this UnitTest.
       
  2469 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2470 		@pre 			None.
       
  2471 		@post			CWspHeaderReader_ContentLocation_UnitTest is fully constructed.
       
  2472 	*/
       
  2473 	inline CWspHeaderReader_ContentLocation_UnitTest(CDataLogger& aDataLogger,
       
  2474 											MUnitTestObserver& aObserver);
       
  2475 
       
  2476 	/**
       
  2477 		@fn				void ConstructL()
       
  2478 		Intended Usage	: Second phase of safe two phase construction, 
       
  2479 		to complete the object initialisation.
       
  2480 		Error Condition	: Leaves with an error code.
       
  2481 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2482 		@since			7.0
       
  2483 		@return			None 
       
  2484 		@pre 			CWspHeaderReader_ContentLocation_UnitTest is fully constructed.
       
  2485 		@post			CWspHeaderReader_ContentLocation_UnitTest is fully initialized.
       
  2486 	*/
       
  2487 	void ConstructL();
       
  2488 
       
  2489 	/**
       
  2490 	The context of the Unit Test.
       
  2491 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2492 	 */
       
  2493 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2494 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2495 	/* C'tor, d'tor, and method transition validators */
       
  2496 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2497 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLocationValidator;
       
  2498 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2499 	};	// CWspHeaderReader_ContentLocation_UnitTest
       
  2500 
       
  2501 // ______________________________________________________________________________
       
  2502 //
       
  2503 /**
       
  2504 	@internal
       
  2505 	@class CWspHeaderReader_LocationWithoutQuote_UnitTest
       
  2506 	@Depends CWspHeaderReader & CUnitTest 
       
  2507 
       
  2508 	Comments : Unit Test for LocationWithoutQuote on CWspHeaderReader, the class under test.
       
  2509  */
       
  2510 class CWspHeaderReader_LocationWithoutQuote_UnitTest : public CUnitTest
       
  2511 	{
       
  2512 public:
       
  2513 	/**
       
  2514 		@fn				NewL(CDataLogger& aDataLogger,
       
  2515 							MUnitTestObserver& aObserver)
       
  2516 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2517 						cleanup stack.
       
  2518 		Error Condition	: Leaves with the error code.
       
  2519 		@exceptions		KErrNoMemory
       
  2520 		@since			7.0
       
  2521 		@param			aDataLogger The output logging object.
       
  2522 		@param			aObserver The observer of this UnitTest.
       
  2523 		@return			CWspHeaderReader_LocationWithoutQuote_UnitTest* The constructed object.
       
  2524 		@pre 			None.
       
  2525 		@post			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully constructed, and initialized.
       
  2526 	 */
       
  2527 	static CWspHeaderReader_LocationWithoutQuote_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2528 											MUnitTestObserver& aObserver);
       
  2529 
       
  2530 	/**
       
  2531 		@fn				RunError(TInt aError)
       
  2532 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2533 						to restore the CWspHeaderReader_LocationWithoutQuote_UnitTest
       
  2534 						object to a sensible state.
       
  2535 						(called by the Active Scheduler immediately before the Panic).
       
  2536 		Error Condition	: @see CUnitTest::RunError().
       
  2537 		@since			7.0
       
  2538 		@return			KErrNone if cleanup successful, otherwise
       
  2539 						@see CUnitTest::RunError()
       
  2540 		@pre 			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully constructed, and initialized.
       
  2541 		@post			The object has been restored to a sensible state.
       
  2542 	 */
       
  2543 	inline TInt RunError(TInt aError);
       
  2544 
       
  2545 	/**
       
  2546 		@fn				~CWspHeaderReader_LocationWithoutQuote_UnitTest()
       
  2547 		Intended Usage	: Standard Destructor.
       
  2548 		Error Condition	: None.	
       
  2549 		@since			7.0
       
  2550 		@pre 			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully constructed.
       
  2551 		@post			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully destroyed.
       
  2552 	*/
       
  2553 	~CWspHeaderReader_LocationWithoutQuote_UnitTest();
       
  2554 
       
  2555 private:
       
  2556 	/**
       
  2557 		@fn				CWspHeaderReader_LocationWithoutQuote_UnitTest(CDataLogger& aDataLogger,
       
  2558 														MUnitTestObserver& aObserver)
       
  2559 		Intended Usage	: Default constructor.
       
  2560 		Error Condition	: None. 
       
  2561 		@since			7.0
       
  2562 		@param			aDataLogger The output logging object.
       
  2563 		@param			aObserver The observer of this UnitTest.
       
  2564 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2565 		@pre 			None.
       
  2566 		@post			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully constructed.
       
  2567 	*/
       
  2568 	inline CWspHeaderReader_LocationWithoutQuote_UnitTest(CDataLogger& aDataLogger,
       
  2569 											MUnitTestObserver& aObserver);
       
  2570 
       
  2571 	/**
       
  2572 		@fn				void ConstructL()
       
  2573 		Intended Usage	: Second phase of safe two phase construction, 
       
  2574 		to complete the object initialisation.
       
  2575 		Error Condition	: Leaves with an error code.
       
  2576 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2577 		@since			7.0
       
  2578 		@return			None 
       
  2579 		@pre 			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully constructed.
       
  2580 		@post			CWspHeaderReader_LocationWithoutQuote_UnitTest is fully initialized.
       
  2581 	*/
       
  2582 	void ConstructL();
       
  2583 
       
  2584 	/**
       
  2585 	The context of the Unit Test.
       
  2586 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2587 	 */
       
  2588 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2589 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2590 	/* C'tor, d'tor, and method transition validators */
       
  2591 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2592 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iLocationWithoutQuoteValidator;
       
  2593 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2594 	};	// CWspHeaderReader_LocationWithoutQuote_UnitTest
       
  2595 
       
  2596 // ______________________________________________________________________________
       
  2597 //
       
  2598 /**
       
  2599 	@internal
       
  2600 	@class CWspHeaderReader_EncodingVersionShortInt_UnitTest
       
  2601 	@Depends CWspHeaderReader & CUnitTest 
       
  2602 
       
  2603 	Comments : Unit Test for EncodingVersionShortInt on CWspHeaderReader, the class under test.
       
  2604  */
       
  2605 class CWspHeaderReader_EncodingVersionShortInt_UnitTest : public CUnitTest
       
  2606 	{
       
  2607 public:
       
  2608 	/**
       
  2609 		@fn				NewL(CDataLogger& aDataLogger,
       
  2610 							MUnitTestObserver& aObserver)
       
  2611 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2612 						cleanup stack.
       
  2613 		Error Condition	: Leaves with the error code.
       
  2614 		@exceptions		KErrNoMemory
       
  2615 		@since			7.0
       
  2616 		@param			aDataLogger The output logging object.
       
  2617 		@param			aObserver The observer of this UnitTest.
       
  2618 		@return			CWspHeaderReader_EncodingVersionShortInt_UnitTest* The constructed object.
       
  2619 		@pre 			None.
       
  2620 		@post			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully constructed, and initialized.
       
  2621 	 */
       
  2622 	static CWspHeaderReader_EncodingVersionShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2623 											MUnitTestObserver& aObserver);
       
  2624 
       
  2625 	/**
       
  2626 		@fn				RunError(TInt aError)
       
  2627 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2628 						to restore the CWspHeaderReader_EncodingVersionShortInt_UnitTest
       
  2629 						object to a sensible state.
       
  2630 						(called by the Active Scheduler immediately before the Panic).
       
  2631 		Error Condition	: @see CUnitTest::RunError().
       
  2632 		@since			7.0
       
  2633 		@return			KErrNone if cleanup successful, otherwise
       
  2634 						@see CUnitTest::RunError()
       
  2635 		@pre 			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully constructed, and initialized.
       
  2636 		@post			The object has been restored to a sensible state.
       
  2637 	 */
       
  2638 	inline TInt RunError(TInt aError);
       
  2639 
       
  2640 	/**
       
  2641 		@fn				~CWspHeaderReader_EncodingVersionShortInt_UnitTest()
       
  2642 		Intended Usage	: Standard Destructor.
       
  2643 		Error Condition	: None.	
       
  2644 		@since			7.0
       
  2645 		@pre 			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully constructed.
       
  2646 		@post			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully destroyed.
       
  2647 	*/
       
  2648 	~CWspHeaderReader_EncodingVersionShortInt_UnitTest();
       
  2649 
       
  2650 private:
       
  2651 	/**
       
  2652 		@fn				CWspHeaderReader_EncodingVersionShortInt_UnitTest(CDataLogger& aDataLogger,
       
  2653 														MUnitTestObserver& aObserver)
       
  2654 		Intended Usage	: Default constructor.
       
  2655 		Error Condition	: None. 
       
  2656 		@since			7.0
       
  2657 		@param			aDataLogger The output logging object.
       
  2658 		@param			aObserver The observer of this UnitTest.
       
  2659 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2660 		@pre 			None.
       
  2661 		@post			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully constructed.
       
  2662 	*/
       
  2663 	inline CWspHeaderReader_EncodingVersionShortInt_UnitTest(CDataLogger& aDataLogger,
       
  2664 											MUnitTestObserver& aObserver);
       
  2665 
       
  2666 	/**
       
  2667 		@fn				void ConstructL()
       
  2668 		Intended Usage	: Second phase of safe two phase construction, 
       
  2669 		to complete the object initialisation.
       
  2670 		Error Condition	: Leaves with an error code.
       
  2671 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2672 		@since			7.0
       
  2673 		@return			None 
       
  2674 		@pre 			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully constructed.
       
  2675 		@post			CWspHeaderReader_EncodingVersionShortInt_UnitTest is fully initialized.
       
  2676 	*/
       
  2677 	void ConstructL();
       
  2678 
       
  2679 	/**
       
  2680 	The context of the Unit Test.
       
  2681 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2682 	 */
       
  2683 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2684 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2685 	/* C'tor, d'tor, and method transition validators */
       
  2686 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2687 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionShortIntValidator;
       
  2688 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2689 	};	// CWspHeaderReader_EncodingVersionShortInt_UnitTest
       
  2690 
       
  2691 // ______________________________________________________________________________
       
  2692 //
       
  2693 /**
       
  2694 	@internal
       
  2695 	@class CWspHeaderReader_EncodingVersionNullVersion_UnitTest
       
  2696 	@Depends CWspHeaderReader & CUnitTest 
       
  2697 
       
  2698 	Comments : Unit Test for EncodingVersionNullVersion on CWspHeaderReader, the class under test.
       
  2699  */
       
  2700 class CWspHeaderReader_EncodingVersionNullVersion_UnitTest : public CUnitTest
       
  2701 	{
       
  2702 public:
       
  2703 	/**
       
  2704 		@fn				NewL(CDataLogger& aDataLogger,
       
  2705 							MUnitTestObserver& aObserver)
       
  2706 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2707 						cleanup stack.
       
  2708 		Error Condition	: Leaves with the error code.
       
  2709 		@exceptions		KErrNoMemory
       
  2710 		@since			7.0
       
  2711 		@param			aDataLogger The output logging object.
       
  2712 		@param			aObserver The observer of this UnitTest.
       
  2713 		@return			CWspHeaderReader_EncodingVersionNullVersion_UnitTest* The constructed object.
       
  2714 		@pre 			None.
       
  2715 		@post			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully constructed, and initialized.
       
  2716 	 */
       
  2717 	static CWspHeaderReader_EncodingVersionNullVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2718 											MUnitTestObserver& aObserver);
       
  2719 
       
  2720 	/**
       
  2721 		@fn				RunError(TInt aError)
       
  2722 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2723 						to restore the CWspHeaderReader_EncodingVersionNullVersion_UnitTest
       
  2724 						object to a sensible state.
       
  2725 						(called by the Active Scheduler immediately before the Panic).
       
  2726 		Error Condition	: @see CUnitTest::RunError().
       
  2727 		@since			7.0
       
  2728 		@return			KErrNone if cleanup successful, otherwise
       
  2729 						@see CUnitTest::RunError()
       
  2730 		@pre 			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully constructed, and initialized.
       
  2731 		@post			The object has been restored to a sensible state.
       
  2732 	 */
       
  2733 	inline TInt RunError(TInt aError);
       
  2734 
       
  2735 	/**
       
  2736 		@fn				~CWspHeaderReader_EncodingVersionNullVersion_UnitTest()
       
  2737 		Intended Usage	: Standard Destructor.
       
  2738 		Error Condition	: None.	
       
  2739 		@since			7.0
       
  2740 		@pre 			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully constructed.
       
  2741 		@post			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully destroyed.
       
  2742 	*/
       
  2743 	~CWspHeaderReader_EncodingVersionNullVersion_UnitTest();
       
  2744 
       
  2745 private:
       
  2746 	/**
       
  2747 		@fn				CWspHeaderReader_EncodingVersionNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  2748 														MUnitTestObserver& aObserver)
       
  2749 		Intended Usage	: Default constructor.
       
  2750 		Error Condition	: None. 
       
  2751 		@since			7.0
       
  2752 		@param			aDataLogger The output logging object.
       
  2753 		@param			aObserver The observer of this UnitTest.
       
  2754 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2755 		@pre 			None.
       
  2756 		@post			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully constructed.
       
  2757 	*/
       
  2758 	inline CWspHeaderReader_EncodingVersionNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  2759 											MUnitTestObserver& aObserver);
       
  2760 
       
  2761 	/**
       
  2762 		@fn				void ConstructL()
       
  2763 		Intended Usage	: Second phase of safe two phase construction, 
       
  2764 		to complete the object initialisation.
       
  2765 		Error Condition	: Leaves with an error code.
       
  2766 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2767 		@since			7.0
       
  2768 		@return			None 
       
  2769 		@pre 			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully constructed.
       
  2770 		@post			CWspHeaderReader_EncodingVersionNullVersion_UnitTest is fully initialized.
       
  2771 	*/
       
  2772 	void ConstructL();
       
  2773 
       
  2774 	/**
       
  2775 	The context of the Unit Test.
       
  2776 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2777 	 */
       
  2778 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2779 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2780 	/* C'tor, d'tor, and method transition validators */
       
  2781 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2782 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionNullVersionValidator;
       
  2783 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2784 	};	// CWspHeaderReader_EncodingVersionNullVersion_UnitTest
       
  2785 
       
  2786 // ______________________________________________________________________________
       
  2787 //
       
  2788 /**
       
  2789 	@internal
       
  2790 	@class CWspHeaderReader_EncodingVersionTextVersion_UnitTest
       
  2791 	@Depends CWspHeaderReader & CUnitTest 
       
  2792 
       
  2793 	Comments : Unit Test for EncodingVersionTextVersion on CWspHeaderReader, the class under test.
       
  2794  */
       
  2795 class CWspHeaderReader_EncodingVersionTextVersion_UnitTest : public CUnitTest
       
  2796 	{
       
  2797 public:
       
  2798 	/**
       
  2799 		@fn				NewL(CDataLogger& aDataLogger,
       
  2800 							MUnitTestObserver& aObserver)
       
  2801 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2802 						cleanup stack.
       
  2803 		Error Condition	: Leaves with the error code.
       
  2804 		@exceptions		KErrNoMemory
       
  2805 		@since			7.0
       
  2806 		@param			aDataLogger The output logging object.
       
  2807 		@param			aObserver The observer of this UnitTest.
       
  2808 		@return			CWspHeaderReader_EncodingVersionTextVersion_UnitTest* The constructed object.
       
  2809 		@pre 			None.
       
  2810 		@post			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully constructed, and initialized.
       
  2811 	 */
       
  2812 	static CWspHeaderReader_EncodingVersionTextVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2813 											MUnitTestObserver& aObserver);
       
  2814 
       
  2815 	/**
       
  2816 		@fn				RunError(TInt aError)
       
  2817 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2818 						to restore the CWspHeaderReader_EncodingVersionTextVersion_UnitTest
       
  2819 						object to a sensible state.
       
  2820 						(called by the Active Scheduler immediately before the Panic).
       
  2821 		Error Condition	: @see CUnitTest::RunError().
       
  2822 		@since			7.0
       
  2823 		@return			KErrNone if cleanup successful, otherwise
       
  2824 						@see CUnitTest::RunError()
       
  2825 		@pre 			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully constructed, and initialized.
       
  2826 		@post			The object has been restored to a sensible state.
       
  2827 	 */
       
  2828 	inline TInt RunError(TInt aError);
       
  2829 
       
  2830 	/**
       
  2831 		@fn				~CWspHeaderReader_EncodingVersionTextVersion_UnitTest()
       
  2832 		Intended Usage	: Standard Destructor.
       
  2833 		Error Condition	: None.	
       
  2834 		@since			7.0
       
  2835 		@pre 			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully constructed.
       
  2836 		@post			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully destroyed.
       
  2837 	*/
       
  2838 	~CWspHeaderReader_EncodingVersionTextVersion_UnitTest();
       
  2839 
       
  2840 private:
       
  2841 	/**
       
  2842 		@fn				CWspHeaderReader_EncodingVersionTextVersion_UnitTest(CDataLogger& aDataLogger,
       
  2843 														MUnitTestObserver& aObserver)
       
  2844 		Intended Usage	: Default constructor.
       
  2845 		Error Condition	: None. 
       
  2846 		@since			7.0
       
  2847 		@param			aDataLogger The output logging object.
       
  2848 		@param			aObserver The observer of this UnitTest.
       
  2849 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2850 		@pre 			None.
       
  2851 		@post			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully constructed.
       
  2852 	*/
       
  2853 	inline CWspHeaderReader_EncodingVersionTextVersion_UnitTest(CDataLogger& aDataLogger,
       
  2854 											MUnitTestObserver& aObserver);
       
  2855 
       
  2856 	/**
       
  2857 		@fn				void ConstructL()
       
  2858 		Intended Usage	: Second phase of safe two phase construction, 
       
  2859 		to complete the object initialisation.
       
  2860 		Error Condition	: Leaves with an error code.
       
  2861 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2862 		@since			7.0
       
  2863 		@return			None 
       
  2864 		@pre 			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully constructed.
       
  2865 		@post			CWspHeaderReader_EncodingVersionTextVersion_UnitTest is fully initialized.
       
  2866 	*/
       
  2867 	void ConstructL();
       
  2868 
       
  2869 	/**
       
  2870 	The context of the Unit Test.
       
  2871 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2872 	 */
       
  2873 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2874 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2875 	/* C'tor, d'tor, and method transition validators */
       
  2876 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2877 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionTextVersionValidator;
       
  2878 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2879 	};	// CWspHeaderReader_EncodingVersionTextVersion_UnitTest
       
  2880 
       
  2881 // ______________________________________________________________________________
       
  2882 //
       
  2883 /**
       
  2884 	@internal
       
  2885 	@class CWspHeaderReader_EncodingVersionCodePage_UnitTest
       
  2886 	@Depends CWspHeaderReader & CUnitTest 
       
  2887 
       
  2888 	Comments : Unit Test for EncodingVersionCodePage on CWspHeaderReader, the class under test.
       
  2889  */
       
  2890 class CWspHeaderReader_EncodingVersionCodePage_UnitTest : public CUnitTest
       
  2891 	{
       
  2892 public:
       
  2893 	/**
       
  2894 		@fn				NewL(CDataLogger& aDataLogger,
       
  2895 							MUnitTestObserver& aObserver)
       
  2896 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2897 						cleanup stack.
       
  2898 		Error Condition	: Leaves with the error code.
       
  2899 		@exceptions		KErrNoMemory
       
  2900 		@since			7.0
       
  2901 		@param			aDataLogger The output logging object.
       
  2902 		@param			aObserver The observer of this UnitTest.
       
  2903 		@return			CWspHeaderReader_EncodingVersionCodePage_UnitTest* The constructed object.
       
  2904 		@pre 			None.
       
  2905 		@post			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully constructed, and initialized.
       
  2906 	 */
       
  2907 	static CWspHeaderReader_EncodingVersionCodePage_UnitTest* NewL(CDataLogger& aDataLogger,
       
  2908 											MUnitTestObserver& aObserver);
       
  2909 
       
  2910 	/**
       
  2911 		@fn				RunError(TInt aError)
       
  2912 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  2913 						to restore the CWspHeaderReader_EncodingVersionCodePage_UnitTest
       
  2914 						object to a sensible state.
       
  2915 						(called by the Active Scheduler immediately before the Panic).
       
  2916 		Error Condition	: @see CUnitTest::RunError().
       
  2917 		@since			7.0
       
  2918 		@return			KErrNone if cleanup successful, otherwise
       
  2919 						@see CUnitTest::RunError()
       
  2920 		@pre 			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully constructed, and initialized.
       
  2921 		@post			The object has been restored to a sensible state.
       
  2922 	 */
       
  2923 	inline TInt RunError(TInt aError);
       
  2924 
       
  2925 	/**
       
  2926 		@fn				~CWspHeaderReader_EncodingVersionCodePage_UnitTest()
       
  2927 		Intended Usage	: Standard Destructor.
       
  2928 		Error Condition	: None.	
       
  2929 		@since			7.0
       
  2930 		@pre 			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully constructed.
       
  2931 		@post			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully destroyed.
       
  2932 	*/
       
  2933 	~CWspHeaderReader_EncodingVersionCodePage_UnitTest();
       
  2934 
       
  2935 private:
       
  2936 	/**
       
  2937 		@fn				CWspHeaderReader_EncodingVersionCodePage_UnitTest(CDataLogger& aDataLogger,
       
  2938 														MUnitTestObserver& aObserver)
       
  2939 		Intended Usage	: Default constructor.
       
  2940 		Error Condition	: None. 
       
  2941 		@since			7.0
       
  2942 		@param			aDataLogger The output logging object.
       
  2943 		@param			aObserver The observer of this UnitTest.
       
  2944 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  2945 		@pre 			None.
       
  2946 		@post			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully constructed.
       
  2947 	*/
       
  2948 	inline CWspHeaderReader_EncodingVersionCodePage_UnitTest(CDataLogger& aDataLogger,
       
  2949 											MUnitTestObserver& aObserver);
       
  2950 
       
  2951 	/**
       
  2952 		@fn				void ConstructL()
       
  2953 		Intended Usage	: Second phase of safe two phase construction, 
       
  2954 		to complete the object initialisation.
       
  2955 		Error Condition	: Leaves with an error code.
       
  2956 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  2957 		@since			7.0
       
  2958 		@return			None 
       
  2959 		@pre 			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully constructed.
       
  2960 		@post			CWspHeaderReader_EncodingVersionCodePage_UnitTest is fully initialized.
       
  2961 	*/
       
  2962 	void ConstructL();
       
  2963 
       
  2964 	/**
       
  2965 	The context of the Unit Test.
       
  2966 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  2967 	 */
       
  2968 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  2969 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  2970 	/* C'tor, d'tor, and method transition validators */
       
  2971 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  2972 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionCodePageValidator;
       
  2973 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  2974 	};	// CWspHeaderReader_EncodingVersionCodePage_UnitTest
       
  2975 
       
  2976 // ______________________________________________________________________________
       
  2977 //
       
  2978 /**
       
  2979 	@internal
       
  2980 	@class CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest
       
  2981 	@Depends CWspHeaderReader & CUnitTest 
       
  2982 
       
  2983 	Comments : Unit Test for EncodingVersionCodePageIntVersion on CWspHeaderReader, the class under test.
       
  2984  */
       
  2985 class CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest : public CUnitTest
       
  2986 	{
       
  2987 public:
       
  2988 	/**
       
  2989 		@fn				NewL(CDataLogger& aDataLogger,
       
  2990 							MUnitTestObserver& aObserver)
       
  2991 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  2992 						cleanup stack.
       
  2993 		Error Condition	: Leaves with the error code.
       
  2994 		@exceptions		KErrNoMemory
       
  2995 		@since			7.0
       
  2996 		@param			aDataLogger The output logging object.
       
  2997 		@param			aObserver The observer of this UnitTest.
       
  2998 		@return			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest* The constructed object.
       
  2999 		@pre 			None.
       
  3000 		@post			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully constructed, and initialized.
       
  3001 	 */
       
  3002 	static CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3003 											MUnitTestObserver& aObserver);
       
  3004 
       
  3005 	/**
       
  3006 		@fn				RunError(TInt aError)
       
  3007 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3008 						to restore the CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest
       
  3009 						object to a sensible state.
       
  3010 						(called by the Active Scheduler immediately before the Panic).
       
  3011 		Error Condition	: @see CUnitTest::RunError().
       
  3012 		@since			7.0
       
  3013 		@return			KErrNone if cleanup successful, otherwise
       
  3014 						@see CUnitTest::RunError()
       
  3015 		@pre 			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully constructed, and initialized.
       
  3016 		@post			The object has been restored to a sensible state.
       
  3017 	 */
       
  3018 	inline TInt RunError(TInt aError);
       
  3019 
       
  3020 	/**
       
  3021 		@fn				~CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest()
       
  3022 		Intended Usage	: Standard Destructor.
       
  3023 		Error Condition	: None.	
       
  3024 		@since			7.0
       
  3025 		@pre 			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully constructed.
       
  3026 		@post			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully destroyed.
       
  3027 	*/
       
  3028 	~CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest();
       
  3029 
       
  3030 private:
       
  3031 	/**
       
  3032 		@fn				CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest(CDataLogger& aDataLogger,
       
  3033 														MUnitTestObserver& aObserver)
       
  3034 		Intended Usage	: Default constructor.
       
  3035 		Error Condition	: None. 
       
  3036 		@since			7.0
       
  3037 		@param			aDataLogger The output logging object.
       
  3038 		@param			aObserver The observer of this UnitTest.
       
  3039 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3040 		@pre 			None.
       
  3041 		@post			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully constructed.
       
  3042 	*/
       
  3043 	inline CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest(CDataLogger& aDataLogger,
       
  3044 											MUnitTestObserver& aObserver);
       
  3045 
       
  3046 	/**
       
  3047 		@fn				void ConstructL()
       
  3048 		Intended Usage	: Second phase of safe two phase construction, 
       
  3049 		to complete the object initialisation.
       
  3050 		Error Condition	: Leaves with an error code.
       
  3051 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3052 		@since			7.0
       
  3053 		@return			None 
       
  3054 		@pre 			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully constructed.
       
  3055 		@post			CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest is fully initialized.
       
  3056 	*/
       
  3057 	void ConstructL();
       
  3058 
       
  3059 	/**
       
  3060 	The context of the Unit Test.
       
  3061 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3062 	 */
       
  3063 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3064 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3065 	/* C'tor, d'tor, and method transition validators */
       
  3066 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3067 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionCodePageIntVersionValidator;
       
  3068 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3069 	};	// CWspHeaderReader_EncodingVersionCodePageIntVersion_UnitTest
       
  3070 
       
  3071 // ______________________________________________________________________________
       
  3072 //
       
  3073 /**
       
  3074 	@internal
       
  3075 	@class CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest
       
  3076 	@Depends CWspHeaderReader & CUnitTest 
       
  3077 
       
  3078 	Comments : Unit Test for EncodingVersionCodePageTextVersion on CWspHeaderReader, the class under test.
       
  3079  */
       
  3080 class CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest : public CUnitTest
       
  3081 	{
       
  3082 public:
       
  3083 	/**
       
  3084 		@fn				NewL(CDataLogger& aDataLogger,
       
  3085 							MUnitTestObserver& aObserver)
       
  3086 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3087 						cleanup stack.
       
  3088 		Error Condition	: Leaves with the error code.
       
  3089 		@exceptions		KErrNoMemory
       
  3090 		@since			7.0
       
  3091 		@param			aDataLogger The output logging object.
       
  3092 		@param			aObserver The observer of this UnitTest.
       
  3093 		@return			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest* The constructed object.
       
  3094 		@pre 			None.
       
  3095 		@post			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully constructed, and initialized.
       
  3096 	 */
       
  3097 	static CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3098 											MUnitTestObserver& aObserver);
       
  3099 
       
  3100 	/**
       
  3101 		@fn				RunError(TInt aError)
       
  3102 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3103 						to restore the CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest
       
  3104 						object to a sensible state.
       
  3105 						(called by the Active Scheduler immediately before the Panic).
       
  3106 		Error Condition	: @see CUnitTest::RunError().
       
  3107 		@since			7.0
       
  3108 		@return			KErrNone if cleanup successful, otherwise
       
  3109 						@see CUnitTest::RunError()
       
  3110 		@pre 			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully constructed, and initialized.
       
  3111 		@post			The object has been restored to a sensible state.
       
  3112 	 */
       
  3113 	inline TInt RunError(TInt aError);
       
  3114 
       
  3115 	/**
       
  3116 		@fn				~CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest()
       
  3117 		Intended Usage	: Standard Destructor.
       
  3118 		Error Condition	: None.	
       
  3119 		@since			7.0
       
  3120 		@pre 			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully constructed.
       
  3121 		@post			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully destroyed.
       
  3122 	*/
       
  3123 	~CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest();
       
  3124 
       
  3125 private:
       
  3126 	/**
       
  3127 		@fn				CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest(CDataLogger& aDataLogger,
       
  3128 														MUnitTestObserver& aObserver)
       
  3129 		Intended Usage	: Default constructor.
       
  3130 		Error Condition	: None. 
       
  3131 		@since			7.0
       
  3132 		@param			aDataLogger The output logging object.
       
  3133 		@param			aObserver The observer of this UnitTest.
       
  3134 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3135 		@pre 			None.
       
  3136 		@post			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully constructed.
       
  3137 	*/
       
  3138 	inline CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest(CDataLogger& aDataLogger,
       
  3139 											MUnitTestObserver& aObserver);
       
  3140 
       
  3141 	/**
       
  3142 		@fn				void ConstructL()
       
  3143 		Intended Usage	: Second phase of safe two phase construction, 
       
  3144 		to complete the object initialisation.
       
  3145 		Error Condition	: Leaves with an error code.
       
  3146 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3147 		@since			7.0
       
  3148 		@return			None 
       
  3149 		@pre 			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully constructed.
       
  3150 		@post			CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest is fully initialized.
       
  3151 	*/
       
  3152 	void ConstructL();
       
  3153 
       
  3154 	/**
       
  3155 	The context of the Unit Test.
       
  3156 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3157 	 */
       
  3158 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3159 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3160 	/* C'tor, d'tor, and method transition validators */
       
  3161 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3162 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionCodePageTextVersionValidator;
       
  3163 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3164 	};	// CWspHeaderReader_EncodingVersionCodePageTextVersion_UnitTest
       
  3165 
       
  3166 // ______________________________________________________________________________
       
  3167 //
       
  3168 /**
       
  3169 	@internal
       
  3170 	@class CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest
       
  3171 	@Depends CWspHeaderReader & CUnitTest 
       
  3172 
       
  3173 	Comments : Unit Test for EncodingVersionCodePageNullVersion on CWspHeaderReader, the class under test.
       
  3174  */
       
  3175 class CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest : public CUnitTest
       
  3176 	{
       
  3177 public:
       
  3178 	/**
       
  3179 		@fn				NewL(CDataLogger& aDataLogger,
       
  3180 							MUnitTestObserver& aObserver)
       
  3181 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3182 						cleanup stack.
       
  3183 		Error Condition	: Leaves with the error code.
       
  3184 		@exceptions		KErrNoMemory
       
  3185 		@since			7.0
       
  3186 		@param			aDataLogger The output logging object.
       
  3187 		@param			aObserver The observer of this UnitTest.
       
  3188 		@return			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest* The constructed object.
       
  3189 		@pre 			None.
       
  3190 		@post			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully constructed, and initialized.
       
  3191 	 */
       
  3192 	static CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3193 											MUnitTestObserver& aObserver);
       
  3194 
       
  3195 	/**
       
  3196 		@fn				RunError(TInt aError)
       
  3197 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3198 						to restore the CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest
       
  3199 						object to a sensible state.
       
  3200 						(called by the Active Scheduler immediately before the Panic).
       
  3201 		Error Condition	: @see CUnitTest::RunError().
       
  3202 		@since			7.0
       
  3203 		@return			KErrNone if cleanup successful, otherwise
       
  3204 						@see CUnitTest::RunError()
       
  3205 		@pre 			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully constructed, and initialized.
       
  3206 		@post			The object has been restored to a sensible state.
       
  3207 	 */
       
  3208 	inline TInt RunError(TInt aError);
       
  3209 
       
  3210 	/**
       
  3211 		@fn				~CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest()
       
  3212 		Intended Usage	: Standard Destructor.
       
  3213 		Error Condition	: None.	
       
  3214 		@since			7.0
       
  3215 		@pre 			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully constructed.
       
  3216 		@post			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully destroyed.
       
  3217 	*/
       
  3218 	~CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest();
       
  3219 
       
  3220 private:
       
  3221 	/**
       
  3222 		@fn				CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  3223 														MUnitTestObserver& aObserver)
       
  3224 		Intended Usage	: Default constructor.
       
  3225 		Error Condition	: None. 
       
  3226 		@since			7.0
       
  3227 		@param			aDataLogger The output logging object.
       
  3228 		@param			aObserver The observer of this UnitTest.
       
  3229 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3230 		@pre 			None.
       
  3231 		@post			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully constructed.
       
  3232 	*/
       
  3233 	inline CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest(CDataLogger& aDataLogger,
       
  3234 											MUnitTestObserver& aObserver);
       
  3235 
       
  3236 	/**
       
  3237 		@fn				void ConstructL()
       
  3238 		Intended Usage	: Second phase of safe two phase construction, 
       
  3239 		to complete the object initialisation.
       
  3240 		Error Condition	: Leaves with an error code.
       
  3241 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3242 		@since			7.0
       
  3243 		@return			None 
       
  3244 		@pre 			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully constructed.
       
  3245 		@post			CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest is fully initialized.
       
  3246 	*/
       
  3247 	void ConstructL();
       
  3248 
       
  3249 	/**
       
  3250 	The context of the Unit Test.
       
  3251 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3252 	 */
       
  3253 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3254 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3255 	/* C'tor, d'tor, and method transition validators */
       
  3256 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3257 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iEncodingVersionCodePageNullVersionValidator;
       
  3258 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3259 	};	// CWspHeaderReader_EncodingVersionCodePageNullVersion_UnitTest
       
  3260 
       
  3261 // ______________________________________________________________________________
       
  3262 //
       
  3263 /**
       
  3264 	@internal
       
  3265 	@class CWspHeaderReader_AcceptRangesNone_UnitTest
       
  3266 	@Depends CWspHeaderReader & CUnitTest 
       
  3267 
       
  3268 	Comments : Unit Test for AcceptRangesNone on CWspHeaderReader, the class under test.
       
  3269  */
       
  3270 class CWspHeaderReader_AcceptRangesNone_UnitTest : public CUnitTest
       
  3271 	{
       
  3272 public:
       
  3273 	/**
       
  3274 		@fn				NewL(CDataLogger& aDataLogger,
       
  3275 							MUnitTestObserver& aObserver)
       
  3276 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3277 						cleanup stack.
       
  3278 		Error Condition	: Leaves with the error code.
       
  3279 		@exceptions		KErrNoMemory
       
  3280 		@since			7.0
       
  3281 		@param			aDataLogger The output logging object.
       
  3282 		@param			aObserver The observer of this UnitTest.
       
  3283 		@return			CWspHeaderReader_AcceptRangesNone_UnitTest* The constructed object.
       
  3284 		@pre 			None.
       
  3285 		@post			CWspHeaderReader_AcceptRangesNone_UnitTest is fully constructed, and initialized.
       
  3286 	 */
       
  3287 	static CWspHeaderReader_AcceptRangesNone_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3288 											MUnitTestObserver& aObserver);
       
  3289 
       
  3290 	/**
       
  3291 		@fn				RunError(TInt aError)
       
  3292 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3293 						to restore the CWspHeaderReader_AcceptRangesNone_UnitTest
       
  3294 						object to a sensible state.
       
  3295 						(called by the Active Scheduler immediately before the Panic).
       
  3296 		Error Condition	: @see CUnitTest::RunError().
       
  3297 		@since			7.0
       
  3298 		@return			KErrNone if cleanup successful, otherwise
       
  3299 						@see CUnitTest::RunError()
       
  3300 		@pre 			CWspHeaderReader_AcceptRangesNone_UnitTest is fully constructed, and initialized.
       
  3301 		@post			The object has been restored to a sensible state.
       
  3302 	 */
       
  3303 	inline TInt RunError(TInt aError);
       
  3304 
       
  3305 	/**
       
  3306 		@fn				~CWspHeaderReader_AcceptRangesNone_UnitTest()
       
  3307 		Intended Usage	: Standard Destructor.
       
  3308 		Error Condition	: None.	
       
  3309 		@since			7.0
       
  3310 		@pre 			CWspHeaderReader_AcceptRangesNone_UnitTest is fully constructed.
       
  3311 		@post			CWspHeaderReader_AcceptRangesNone_UnitTest is fully destroyed.
       
  3312 	*/
       
  3313 	~CWspHeaderReader_AcceptRangesNone_UnitTest();
       
  3314 
       
  3315 private:
       
  3316 	/**
       
  3317 		@fn				CWspHeaderReader_AcceptRangesNone_UnitTest(CDataLogger& aDataLogger,
       
  3318 														MUnitTestObserver& aObserver)
       
  3319 		Intended Usage	: Default constructor.
       
  3320 		Error Condition	: None. 
       
  3321 		@since			7.0
       
  3322 		@param			aDataLogger The output logging object.
       
  3323 		@param			aObserver The observer of this UnitTest.
       
  3324 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3325 		@pre 			None.
       
  3326 		@post			CWspHeaderReader_AcceptRangesNone_UnitTest is fully constructed.
       
  3327 	*/
       
  3328 	inline CWspHeaderReader_AcceptRangesNone_UnitTest(CDataLogger& aDataLogger,
       
  3329 											MUnitTestObserver& aObserver);
       
  3330 
       
  3331 	/**
       
  3332 		@fn				void ConstructL()
       
  3333 		Intended Usage	: Second phase of safe two phase construction, 
       
  3334 		to complete the object initialisation.
       
  3335 		Error Condition	: Leaves with an error code.
       
  3336 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3337 		@since			7.0
       
  3338 		@return			None 
       
  3339 		@pre 			CWspHeaderReader_AcceptRangesNone_UnitTest is fully constructed.
       
  3340 		@post			CWspHeaderReader_AcceptRangesNone_UnitTest is fully initialized.
       
  3341 	*/
       
  3342 	void ConstructL();
       
  3343 
       
  3344 	/**
       
  3345 	The context of the Unit Test.
       
  3346 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3347 	 */
       
  3348 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3349 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3350 	/* C'tor, d'tor, and method transition validators */
       
  3351 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3352 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAcceptRangesNoneValidator;
       
  3353 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3354 	};	// CWspHeaderReader_AcceptRangesNone_UnitTest
       
  3355 
       
  3356 // ______________________________________________________________________________
       
  3357 //
       
  3358 /**
       
  3359 	@internal
       
  3360 	@class CWspHeaderReader_AcceptRangesBytes_UnitTest
       
  3361 	@Depends CWspHeaderReader & CUnitTest 
       
  3362 
       
  3363 	Comments : Unit Test for AcceptRangesBytes on CWspHeaderReader, the class under test.
       
  3364  */
       
  3365 class CWspHeaderReader_AcceptRangesBytes_UnitTest : public CUnitTest
       
  3366 	{
       
  3367 public:
       
  3368 	/**
       
  3369 		@fn				NewL(CDataLogger& aDataLogger,
       
  3370 							MUnitTestObserver& aObserver)
       
  3371 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3372 						cleanup stack.
       
  3373 		Error Condition	: Leaves with the error code.
       
  3374 		@exceptions		KErrNoMemory
       
  3375 		@since			7.0
       
  3376 		@param			aDataLogger The output logging object.
       
  3377 		@param			aObserver The observer of this UnitTest.
       
  3378 		@return			CWspHeaderReader_AcceptRangesBytes_UnitTest* The constructed object.
       
  3379 		@pre 			None.
       
  3380 		@post			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully constructed, and initialized.
       
  3381 	 */
       
  3382 	static CWspHeaderReader_AcceptRangesBytes_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3383 											MUnitTestObserver& aObserver);
       
  3384 
       
  3385 	/**
       
  3386 		@fn				RunError(TInt aError)
       
  3387 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3388 						to restore the CWspHeaderReader_AcceptRangesBytes_UnitTest
       
  3389 						object to a sensible state.
       
  3390 						(called by the Active Scheduler immediately before the Panic).
       
  3391 		Error Condition	: @see CUnitTest::RunError().
       
  3392 		@since			7.0
       
  3393 		@return			KErrNone if cleanup successful, otherwise
       
  3394 						@see CUnitTest::RunError()
       
  3395 		@pre 			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully constructed, and initialized.
       
  3396 		@post			The object has been restored to a sensible state.
       
  3397 	 */
       
  3398 	inline TInt RunError(TInt aError);
       
  3399 
       
  3400 	/**
       
  3401 		@fn				~CWspHeaderReader_AcceptRangesBytes_UnitTest()
       
  3402 		Intended Usage	: Standard Destructor.
       
  3403 		Error Condition	: None.	
       
  3404 		@since			7.0
       
  3405 		@pre 			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully constructed.
       
  3406 		@post			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully destroyed.
       
  3407 	*/
       
  3408 	~CWspHeaderReader_AcceptRangesBytes_UnitTest();
       
  3409 
       
  3410 private:
       
  3411 	/**
       
  3412 		@fn				CWspHeaderReader_AcceptRangesBytes_UnitTest(CDataLogger& aDataLogger,
       
  3413 														MUnitTestObserver& aObserver)
       
  3414 		Intended Usage	: Default constructor.
       
  3415 		Error Condition	: None. 
       
  3416 		@since			7.0
       
  3417 		@param			aDataLogger The output logging object.
       
  3418 		@param			aObserver The observer of this UnitTest.
       
  3419 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3420 		@pre 			None.
       
  3421 		@post			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully constructed.
       
  3422 	*/
       
  3423 	inline CWspHeaderReader_AcceptRangesBytes_UnitTest(CDataLogger& aDataLogger,
       
  3424 											MUnitTestObserver& aObserver);
       
  3425 
       
  3426 	/**
       
  3427 		@fn				void ConstructL()
       
  3428 		Intended Usage	: Second phase of safe two phase construction, 
       
  3429 		to complete the object initialisation.
       
  3430 		Error Condition	: Leaves with an error code.
       
  3431 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3432 		@since			7.0
       
  3433 		@return			None 
       
  3434 		@pre 			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully constructed.
       
  3435 		@post			CWspHeaderReader_AcceptRangesBytes_UnitTest is fully initialized.
       
  3436 	*/
       
  3437 	void ConstructL();
       
  3438 
       
  3439 	/**
       
  3440 	The context of the Unit Test.
       
  3441 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3442 	 */
       
  3443 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3444 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3445 	/* C'tor, d'tor, and method transition validators */
       
  3446 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3447 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAcceptRangesBytesValidator;
       
  3448 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3449 	};	// CWspHeaderReader_AcceptRangesBytes_UnitTest
       
  3450 
       
  3451 // ______________________________________________________________________________
       
  3452 //
       
  3453 /**
       
  3454 	@internal
       
  3455 	@class CWspHeaderReader_AcceptRangesTokenText_UnitTest
       
  3456 	@Depends CWspHeaderReader & CUnitTest 
       
  3457 
       
  3458 	Comments : Unit Test for AcceptRangesTokenText on CWspHeaderReader, the class under test.
       
  3459  */
       
  3460 class CWspHeaderReader_AcceptRangesTokenText_UnitTest : public CUnitTest
       
  3461 	{
       
  3462 public:
       
  3463 	/**
       
  3464 		@fn				NewL(CDataLogger& aDataLogger,
       
  3465 							MUnitTestObserver& aObserver)
       
  3466 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3467 						cleanup stack.
       
  3468 		Error Condition	: Leaves with the error code.
       
  3469 		@exceptions		KErrNoMemory
       
  3470 		@since			7.0
       
  3471 		@param			aDataLogger The output logging object.
       
  3472 		@param			aObserver The observer of this UnitTest.
       
  3473 		@return			CWspHeaderReader_AcceptRangesTokenText_UnitTest* The constructed object.
       
  3474 		@pre 			None.
       
  3475 		@post			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully constructed, and initialized.
       
  3476 	 */
       
  3477 	static CWspHeaderReader_AcceptRangesTokenText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3478 											MUnitTestObserver& aObserver);
       
  3479 
       
  3480 	/**
       
  3481 		@fn				RunError(TInt aError)
       
  3482 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3483 						to restore the CWspHeaderReader_AcceptRangesTokenText_UnitTest
       
  3484 						object to a sensible state.
       
  3485 						(called by the Active Scheduler immediately before the Panic).
       
  3486 		Error Condition	: @see CUnitTest::RunError().
       
  3487 		@since			7.0
       
  3488 		@return			KErrNone if cleanup successful, otherwise
       
  3489 						@see CUnitTest::RunError()
       
  3490 		@pre 			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully constructed, and initialized.
       
  3491 		@post			The object has been restored to a sensible state.
       
  3492 	 */
       
  3493 	inline TInt RunError(TInt aError);
       
  3494 
       
  3495 	/**
       
  3496 		@fn				~CWspHeaderReader_AcceptRangesTokenText_UnitTest()
       
  3497 		Intended Usage	: Standard Destructor.
       
  3498 		Error Condition	: None.	
       
  3499 		@since			7.0
       
  3500 		@pre 			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully constructed.
       
  3501 		@post			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully destroyed.
       
  3502 	*/
       
  3503 	~CWspHeaderReader_AcceptRangesTokenText_UnitTest();
       
  3504 
       
  3505 private:
       
  3506 	/**
       
  3507 		@fn				CWspHeaderReader_AcceptRangesTokenText_UnitTest(CDataLogger& aDataLogger,
       
  3508 														MUnitTestObserver& aObserver)
       
  3509 		Intended Usage	: Default constructor.
       
  3510 		Error Condition	: None. 
       
  3511 		@since			7.0
       
  3512 		@param			aDataLogger The output logging object.
       
  3513 		@param			aObserver The observer of this UnitTest.
       
  3514 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3515 		@pre 			None.
       
  3516 		@post			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully constructed.
       
  3517 	*/
       
  3518 	inline CWspHeaderReader_AcceptRangesTokenText_UnitTest(CDataLogger& aDataLogger,
       
  3519 											MUnitTestObserver& aObserver);
       
  3520 
       
  3521 	/**
       
  3522 		@fn				void ConstructL()
       
  3523 		Intended Usage	: Second phase of safe two phase construction, 
       
  3524 		to complete the object initialisation.
       
  3525 		Error Condition	: Leaves with an error code.
       
  3526 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3527 		@since			7.0
       
  3528 		@return			None 
       
  3529 		@pre 			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully constructed.
       
  3530 		@post			CWspHeaderReader_AcceptRangesTokenText_UnitTest is fully initialized.
       
  3531 	*/
       
  3532 	void ConstructL();
       
  3533 
       
  3534 	/**
       
  3535 	The context of the Unit Test.
       
  3536 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3537 	 */
       
  3538 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3539 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3540 	/* C'tor, d'tor, and method transition validators */
       
  3541 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3542 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAcceptRangesTokenTextValidator;
       
  3543 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3544 	};	// CWspHeaderReader_AcceptRangesTokenText_UnitTest
       
  3545 
       
  3546 // ______________________________________________________________________________
       
  3547 //
       
  3548 /**
       
  3549 	@internal
       
  3550 	@class CWspHeaderReader_ContentEncodingGZip_UnitTest
       
  3551 	@Depends CWspHeaderReader & CUnitTest 
       
  3552 
       
  3553 	Comments : Unit Test for ContentEncodingGZip on CWspHeaderReader, the class under test.
       
  3554  */
       
  3555 class CWspHeaderReader_ContentEncodingGZip_UnitTest : public CUnitTest
       
  3556 	{
       
  3557 public:
       
  3558 	/**
       
  3559 		@fn				NewL(CDataLogger& aDataLogger,
       
  3560 							MUnitTestObserver& aObserver)
       
  3561 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3562 						cleanup stack.
       
  3563 		Error Condition	: Leaves with the error code.
       
  3564 		@exceptions		KErrNoMemory
       
  3565 		@since			7.0
       
  3566 		@param			aDataLogger The output logging object.
       
  3567 		@param			aObserver The observer of this UnitTest.
       
  3568 		@return			CWspHeaderReader_ContentEncodingGZip_UnitTest* The constructed object.
       
  3569 		@pre 			None.
       
  3570 		@post			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully constructed, and initialized.
       
  3571 	 */
       
  3572 	static CWspHeaderReader_ContentEncodingGZip_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3573 											MUnitTestObserver& aObserver);
       
  3574 
       
  3575 	/**
       
  3576 		@fn				RunError(TInt aError)
       
  3577 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3578 						to restore the CWspHeaderReader_ContentEncodingGZip_UnitTest
       
  3579 						object to a sensible state.
       
  3580 						(called by the Active Scheduler immediately before the Panic).
       
  3581 		Error Condition	: @see CUnitTest::RunError().
       
  3582 		@since			7.0
       
  3583 		@return			KErrNone if cleanup successful, otherwise
       
  3584 						@see CUnitTest::RunError()
       
  3585 		@pre 			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully constructed, and initialized.
       
  3586 		@post			The object has been restored to a sensible state.
       
  3587 	 */
       
  3588 	inline TInt RunError(TInt aError);
       
  3589 
       
  3590 	/**
       
  3591 		@fn				~CWspHeaderReader_ContentEncodingGZip_UnitTest()
       
  3592 		Intended Usage	: Standard Destructor.
       
  3593 		Error Condition	: None.	
       
  3594 		@since			7.0
       
  3595 		@pre 			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully constructed.
       
  3596 		@post			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully destroyed.
       
  3597 	*/
       
  3598 	~CWspHeaderReader_ContentEncodingGZip_UnitTest();
       
  3599 
       
  3600 private:
       
  3601 	/**
       
  3602 		@fn				CWspHeaderReader_ContentEncodingGZip_UnitTest(CDataLogger& aDataLogger,
       
  3603 														MUnitTestObserver& aObserver)
       
  3604 		Intended Usage	: Default constructor.
       
  3605 		Error Condition	: None. 
       
  3606 		@since			7.0
       
  3607 		@param			aDataLogger The output logging object.
       
  3608 		@param			aObserver The observer of this UnitTest.
       
  3609 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3610 		@pre 			None.
       
  3611 		@post			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully constructed.
       
  3612 	*/
       
  3613 	inline CWspHeaderReader_ContentEncodingGZip_UnitTest(CDataLogger& aDataLogger,
       
  3614 											MUnitTestObserver& aObserver);
       
  3615 
       
  3616 	/**
       
  3617 		@fn				void ConstructL()
       
  3618 		Intended Usage	: Second phase of safe two phase construction, 
       
  3619 		to complete the object initialisation.
       
  3620 		Error Condition	: Leaves with an error code.
       
  3621 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3622 		@since			7.0
       
  3623 		@return			None 
       
  3624 		@pre 			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully constructed.
       
  3625 		@post			CWspHeaderReader_ContentEncodingGZip_UnitTest is fully initialized.
       
  3626 	*/
       
  3627 	void ConstructL();
       
  3628 
       
  3629 	/**
       
  3630 	The context of the Unit Test.
       
  3631 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3632 	 */
       
  3633 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3634 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3635 	/* C'tor, d'tor, and method transition validators */
       
  3636 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3637 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentEncodingGZipValidator;
       
  3638 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3639 	};	// CWspHeaderReader_ContentEncodingGZip_UnitTest
       
  3640 
       
  3641 // ______________________________________________________________________________
       
  3642 //
       
  3643 /**
       
  3644 	@internal
       
  3645 	@class CWspHeaderReader_ContentEncodingCompress_UnitTest
       
  3646 	@Depends CWspHeaderReader & CUnitTest 
       
  3647 
       
  3648 	Comments : Unit Test for ContentEncodingCompress on CWspHeaderReader, the class under test.
       
  3649  */
       
  3650 class CWspHeaderReader_ContentEncodingCompress_UnitTest : public CUnitTest
       
  3651 	{
       
  3652 public:
       
  3653 	/**
       
  3654 		@fn				NewL(CDataLogger& aDataLogger,
       
  3655 							MUnitTestObserver& aObserver)
       
  3656 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3657 						cleanup stack.
       
  3658 		Error Condition	: Leaves with the error code.
       
  3659 		@exceptions		KErrNoMemory
       
  3660 		@since			7.0
       
  3661 		@param			aDataLogger The output logging object.
       
  3662 		@param			aObserver The observer of this UnitTest.
       
  3663 		@return			CWspHeaderReader_ContentEncodingCompress_UnitTest* The constructed object.
       
  3664 		@pre 			None.
       
  3665 		@post			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully constructed, and initialized.
       
  3666 	 */
       
  3667 	static CWspHeaderReader_ContentEncodingCompress_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3668 											MUnitTestObserver& aObserver);
       
  3669 
       
  3670 	/**
       
  3671 		@fn				RunError(TInt aError)
       
  3672 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3673 						to restore the CWspHeaderReader_ContentEncodingCompress_UnitTest
       
  3674 						object to a sensible state.
       
  3675 						(called by the Active Scheduler immediately before the Panic).
       
  3676 		Error Condition	: @see CUnitTest::RunError().
       
  3677 		@since			7.0
       
  3678 		@return			KErrNone if cleanup successful, otherwise
       
  3679 						@see CUnitTest::RunError()
       
  3680 		@pre 			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully constructed, and initialized.
       
  3681 		@post			The object has been restored to a sensible state.
       
  3682 	 */
       
  3683 	inline TInt RunError(TInt aError);
       
  3684 
       
  3685 	/**
       
  3686 		@fn				~CWspHeaderReader_ContentEncodingCompress_UnitTest()
       
  3687 		Intended Usage	: Standard Destructor.
       
  3688 		Error Condition	: None.	
       
  3689 		@since			7.0
       
  3690 		@pre 			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully constructed.
       
  3691 		@post			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully destroyed.
       
  3692 	*/
       
  3693 	~CWspHeaderReader_ContentEncodingCompress_UnitTest();
       
  3694 
       
  3695 private:
       
  3696 	/**
       
  3697 		@fn				CWspHeaderReader_ContentEncodingCompress_UnitTest(CDataLogger& aDataLogger,
       
  3698 														MUnitTestObserver& aObserver)
       
  3699 		Intended Usage	: Default constructor.
       
  3700 		Error Condition	: None. 
       
  3701 		@since			7.0
       
  3702 		@param			aDataLogger The output logging object.
       
  3703 		@param			aObserver The observer of this UnitTest.
       
  3704 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3705 		@pre 			None.
       
  3706 		@post			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully constructed.
       
  3707 	*/
       
  3708 	inline CWspHeaderReader_ContentEncodingCompress_UnitTest(CDataLogger& aDataLogger,
       
  3709 											MUnitTestObserver& aObserver);
       
  3710 
       
  3711 	/**
       
  3712 		@fn				void ConstructL()
       
  3713 		Intended Usage	: Second phase of safe two phase construction, 
       
  3714 		to complete the object initialisation.
       
  3715 		Error Condition	: Leaves with an error code.
       
  3716 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3717 		@since			7.0
       
  3718 		@return			None 
       
  3719 		@pre 			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully constructed.
       
  3720 		@post			CWspHeaderReader_ContentEncodingCompress_UnitTest is fully initialized.
       
  3721 	*/
       
  3722 	void ConstructL();
       
  3723 
       
  3724 	/**
       
  3725 	The context of the Unit Test.
       
  3726 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3727 	 */
       
  3728 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3729 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3730 	/* C'tor, d'tor, and method transition validators */
       
  3731 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3732 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentEncodingCompressValidator;
       
  3733 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3734 	};	// CWspHeaderReader_ContentEncodingCompress_UnitTest
       
  3735 
       
  3736 // ______________________________________________________________________________
       
  3737 //
       
  3738 /**
       
  3739 	@internal
       
  3740 	@class CWspHeaderReader_ContentEncodingDeflate_UnitTest
       
  3741 	@Depends CWspHeaderReader & CUnitTest 
       
  3742 
       
  3743 	Comments : Unit Test for ContentEncodingDeflate on CWspHeaderReader, the class under test.
       
  3744  */
       
  3745 class CWspHeaderReader_ContentEncodingDeflate_UnitTest : public CUnitTest
       
  3746 	{
       
  3747 public:
       
  3748 	/**
       
  3749 		@fn				NewL(CDataLogger& aDataLogger,
       
  3750 							MUnitTestObserver& aObserver)
       
  3751 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3752 						cleanup stack.
       
  3753 		Error Condition	: Leaves with the error code.
       
  3754 		@exceptions		KErrNoMemory
       
  3755 		@since			7.0
       
  3756 		@param			aDataLogger The output logging object.
       
  3757 		@param			aObserver The observer of this UnitTest.
       
  3758 		@return			CWspHeaderReader_ContentEncodingDeflate_UnitTest* The constructed object.
       
  3759 		@pre 			None.
       
  3760 		@post			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully constructed, and initialized.
       
  3761 	 */
       
  3762 	static CWspHeaderReader_ContentEncodingDeflate_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3763 											MUnitTestObserver& aObserver);
       
  3764 
       
  3765 	/**
       
  3766 		@fn				RunError(TInt aError)
       
  3767 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3768 						to restore the CWspHeaderReader_ContentEncodingDeflate_UnitTest
       
  3769 						object to a sensible state.
       
  3770 						(called by the Active Scheduler immediately before the Panic).
       
  3771 		Error Condition	: @see CUnitTest::RunError().
       
  3772 		@since			7.0
       
  3773 		@return			KErrNone if cleanup successful, otherwise
       
  3774 						@see CUnitTest::RunError()
       
  3775 		@pre 			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully constructed, and initialized.
       
  3776 		@post			The object has been restored to a sensible state.
       
  3777 	 */
       
  3778 	inline TInt RunError(TInt aError);
       
  3779 
       
  3780 	/**
       
  3781 		@fn				~CWspHeaderReader_ContentEncodingDeflate_UnitTest()
       
  3782 		Intended Usage	: Standard Destructor.
       
  3783 		Error Condition	: None.	
       
  3784 		@since			7.0
       
  3785 		@pre 			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully constructed.
       
  3786 		@post			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully destroyed.
       
  3787 	*/
       
  3788 	~CWspHeaderReader_ContentEncodingDeflate_UnitTest();
       
  3789 
       
  3790 private:
       
  3791 	/**
       
  3792 		@fn				CWspHeaderReader_ContentEncodingDeflate_UnitTest(CDataLogger& aDataLogger,
       
  3793 														MUnitTestObserver& aObserver)
       
  3794 		Intended Usage	: Default constructor.
       
  3795 		Error Condition	: None. 
       
  3796 		@since			7.0
       
  3797 		@param			aDataLogger The output logging object.
       
  3798 		@param			aObserver The observer of this UnitTest.
       
  3799 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3800 		@pre 			None.
       
  3801 		@post			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully constructed.
       
  3802 	*/
       
  3803 	inline CWspHeaderReader_ContentEncodingDeflate_UnitTest(CDataLogger& aDataLogger,
       
  3804 											MUnitTestObserver& aObserver);
       
  3805 
       
  3806 	/**
       
  3807 		@fn				void ConstructL()
       
  3808 		Intended Usage	: Second phase of safe two phase construction, 
       
  3809 		to complete the object initialisation.
       
  3810 		Error Condition	: Leaves with an error code.
       
  3811 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3812 		@since			7.0
       
  3813 		@return			None 
       
  3814 		@pre 			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully constructed.
       
  3815 		@post			CWspHeaderReader_ContentEncodingDeflate_UnitTest is fully initialized.
       
  3816 	*/
       
  3817 	void ConstructL();
       
  3818 
       
  3819 	/**
       
  3820 	The context of the Unit Test.
       
  3821 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3822 	 */
       
  3823 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3824 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3825 	/* C'tor, d'tor, and method transition validators */
       
  3826 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3827 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentEncodingDeflateValidator;
       
  3828 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3829 	};	// CWspHeaderReader_ContentEncodingDeflate_UnitTest
       
  3830 
       
  3831 // ______________________________________________________________________________
       
  3832 //
       
  3833 /**
       
  3834 	@internal
       
  3835 	@class CWspHeaderReader_ContentEncodingTokenText_UnitTest
       
  3836 	@Depends CWspHeaderReader & CUnitTest 
       
  3837 
       
  3838 	Comments : Unit Test for ContentEncodingTokenText on CWspHeaderReader, the class under test.
       
  3839  */
       
  3840 class CWspHeaderReader_ContentEncodingTokenText_UnitTest : public CUnitTest
       
  3841 	{
       
  3842 public:
       
  3843 	/**
       
  3844 		@fn				NewL(CDataLogger& aDataLogger,
       
  3845 							MUnitTestObserver& aObserver)
       
  3846 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3847 						cleanup stack.
       
  3848 		Error Condition	: Leaves with the error code.
       
  3849 		@exceptions		KErrNoMemory
       
  3850 		@since			7.0
       
  3851 		@param			aDataLogger The output logging object.
       
  3852 		@param			aObserver The observer of this UnitTest.
       
  3853 		@return			CWspHeaderReader_ContentEncodingTokenText_UnitTest* The constructed object.
       
  3854 		@pre 			None.
       
  3855 		@post			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully constructed, and initialized.
       
  3856 	 */
       
  3857 	static CWspHeaderReader_ContentEncodingTokenText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3858 											MUnitTestObserver& aObserver);
       
  3859 
       
  3860 	/**
       
  3861 		@fn				RunError(TInt aError)
       
  3862 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3863 						to restore the CWspHeaderReader_ContentEncodingTokenText_UnitTest
       
  3864 						object to a sensible state.
       
  3865 						(called by the Active Scheduler immediately before the Panic).
       
  3866 		Error Condition	: @see CUnitTest::RunError().
       
  3867 		@since			7.0
       
  3868 		@return			KErrNone if cleanup successful, otherwise
       
  3869 						@see CUnitTest::RunError()
       
  3870 		@pre 			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully constructed, and initialized.
       
  3871 		@post			The object has been restored to a sensible state.
       
  3872 	 */
       
  3873 	inline TInt RunError(TInt aError);
       
  3874 
       
  3875 	/**
       
  3876 		@fn				~CWspHeaderReader_ContentEncodingTokenText_UnitTest()
       
  3877 		Intended Usage	: Standard Destructor.
       
  3878 		Error Condition	: None.	
       
  3879 		@since			7.0
       
  3880 		@pre 			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully constructed.
       
  3881 		@post			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully destroyed.
       
  3882 	*/
       
  3883 	~CWspHeaderReader_ContentEncodingTokenText_UnitTest();
       
  3884 
       
  3885 private:
       
  3886 	/**
       
  3887 		@fn				CWspHeaderReader_ContentEncodingTokenText_UnitTest(CDataLogger& aDataLogger,
       
  3888 														MUnitTestObserver& aObserver)
       
  3889 		Intended Usage	: Default constructor.
       
  3890 		Error Condition	: None. 
       
  3891 		@since			7.0
       
  3892 		@param			aDataLogger The output logging object.
       
  3893 		@param			aObserver The observer of this UnitTest.
       
  3894 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3895 		@pre 			None.
       
  3896 		@post			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully constructed.
       
  3897 	*/
       
  3898 	inline CWspHeaderReader_ContentEncodingTokenText_UnitTest(CDataLogger& aDataLogger,
       
  3899 											MUnitTestObserver& aObserver);
       
  3900 
       
  3901 	/**
       
  3902 		@fn				void ConstructL()
       
  3903 		Intended Usage	: Second phase of safe two phase construction, 
       
  3904 		to complete the object initialisation.
       
  3905 		Error Condition	: Leaves with an error code.
       
  3906 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  3907 		@since			7.0
       
  3908 		@return			None 
       
  3909 		@pre 			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully constructed.
       
  3910 		@post			CWspHeaderReader_ContentEncodingTokenText_UnitTest is fully initialized.
       
  3911 	*/
       
  3912 	void ConstructL();
       
  3913 
       
  3914 	/**
       
  3915 	The context of the Unit Test.
       
  3916 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  3917 	 */
       
  3918 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  3919 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  3920 	/* C'tor, d'tor, and method transition validators */
       
  3921 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  3922 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentEncodingTokenTextValidator;
       
  3923 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  3924 	};	// CWspHeaderReader_ContentEncodingTokenText_UnitTest
       
  3925 
       
  3926 // ______________________________________________________________________________
       
  3927 //
       
  3928 /**
       
  3929 	@internal
       
  3930 	@class CWspHeaderReader_ContentLanguageAnyLang_UnitTest
       
  3931 	@Depends CWspHeaderReader & CUnitTest 
       
  3932 
       
  3933 	Comments : Unit Test for ContentLanguageAnyLang on CWspHeaderReader, the class under test.
       
  3934  */
       
  3935 class CWspHeaderReader_ContentLanguageAnyLang_UnitTest : public CUnitTest
       
  3936 	{
       
  3937 public:
       
  3938 	/**
       
  3939 		@fn				NewL(CDataLogger& aDataLogger,
       
  3940 							MUnitTestObserver& aObserver)
       
  3941 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  3942 						cleanup stack.
       
  3943 		Error Condition	: Leaves with the error code.
       
  3944 		@exceptions		KErrNoMemory
       
  3945 		@since			7.0
       
  3946 		@param			aDataLogger The output logging object.
       
  3947 		@param			aObserver The observer of this UnitTest.
       
  3948 		@return			CWspHeaderReader_ContentLanguageAnyLang_UnitTest* The constructed object.
       
  3949 		@pre 			None.
       
  3950 		@post			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully constructed, and initialized.
       
  3951 	 */
       
  3952 	static CWspHeaderReader_ContentLanguageAnyLang_UnitTest* NewL(CDataLogger& aDataLogger,
       
  3953 											MUnitTestObserver& aObserver);
       
  3954 
       
  3955 	/**
       
  3956 		@fn				RunError(TInt aError)
       
  3957 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  3958 						to restore the CWspHeaderReader_ContentLanguageAnyLang_UnitTest
       
  3959 						object to a sensible state.
       
  3960 						(called by the Active Scheduler immediately before the Panic).
       
  3961 		Error Condition	: @see CUnitTest::RunError().
       
  3962 		@since			7.0
       
  3963 		@return			KErrNone if cleanup successful, otherwise
       
  3964 						@see CUnitTest::RunError()
       
  3965 		@pre 			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully constructed, and initialized.
       
  3966 		@post			The object has been restored to a sensible state.
       
  3967 	 */
       
  3968 	inline TInt RunError(TInt aError);
       
  3969 
       
  3970 	/**
       
  3971 		@fn				~CWspHeaderReader_ContentLanguageAnyLang_UnitTest()
       
  3972 		Intended Usage	: Standard Destructor.
       
  3973 		Error Condition	: None.	
       
  3974 		@since			7.0
       
  3975 		@pre 			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully constructed.
       
  3976 		@post			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully destroyed.
       
  3977 	*/
       
  3978 	~CWspHeaderReader_ContentLanguageAnyLang_UnitTest();
       
  3979 
       
  3980 private:
       
  3981 	/**
       
  3982 		@fn				CWspHeaderReader_ContentLanguageAnyLang_UnitTest(CDataLogger& aDataLogger,
       
  3983 														MUnitTestObserver& aObserver)
       
  3984 		Intended Usage	: Default constructor.
       
  3985 		Error Condition	: None. 
       
  3986 		@since			7.0
       
  3987 		@param			aDataLogger The output logging object.
       
  3988 		@param			aObserver The observer of this UnitTest.
       
  3989 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  3990 		@pre 			None.
       
  3991 		@post			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully constructed.
       
  3992 	*/
       
  3993 	inline CWspHeaderReader_ContentLanguageAnyLang_UnitTest(CDataLogger& aDataLogger,
       
  3994 											MUnitTestObserver& aObserver);
       
  3995 
       
  3996 	/**
       
  3997 		@fn				void ConstructL()
       
  3998 		Intended Usage	: Second phase of safe two phase construction, 
       
  3999 		to complete the object initialisation.
       
  4000 		Error Condition	: Leaves with an error code.
       
  4001 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4002 		@since			7.0
       
  4003 		@return			None 
       
  4004 		@pre 			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully constructed.
       
  4005 		@post			CWspHeaderReader_ContentLanguageAnyLang_UnitTest is fully initialized.
       
  4006 	*/
       
  4007 	void ConstructL();
       
  4008 
       
  4009 	/**
       
  4010 	The context of the Unit Test.
       
  4011 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4012 	 */
       
  4013 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4014 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4015 	/* C'tor, d'tor, and method transition validators */
       
  4016 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4017 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageAnyLangValidator;
       
  4018 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4019 	};	// CWspHeaderReader_ContentLanguageAnyLang_UnitTest
       
  4020 
       
  4021 // ______________________________________________________________________________
       
  4022 //
       
  4023 /**
       
  4024 	@internal
       
  4025 	@class CWspHeaderReader_ContentLanguageShortInt_UnitTest
       
  4026 	@Depends CWspHeaderReader & CUnitTest 
       
  4027 
       
  4028 	Comments : Unit Test for ContentLanguageShortInt on CWspHeaderReader, the class under test.
       
  4029  */
       
  4030 class CWspHeaderReader_ContentLanguageShortInt_UnitTest : public CUnitTest
       
  4031 	{
       
  4032 public:
       
  4033 	/**
       
  4034 		@fn				NewL(CDataLogger& aDataLogger,
       
  4035 							MUnitTestObserver& aObserver)
       
  4036 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4037 						cleanup stack.
       
  4038 		Error Condition	: Leaves with the error code.
       
  4039 		@exceptions		KErrNoMemory
       
  4040 		@since			7.0
       
  4041 		@param			aDataLogger The output logging object.
       
  4042 		@param			aObserver The observer of this UnitTest.
       
  4043 		@return			CWspHeaderReader_ContentLanguageShortInt_UnitTest* The constructed object.
       
  4044 		@pre 			None.
       
  4045 		@post			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully constructed, and initialized.
       
  4046 	 */
       
  4047 	static CWspHeaderReader_ContentLanguageShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4048 											MUnitTestObserver& aObserver);
       
  4049 
       
  4050 	/**
       
  4051 		@fn				RunError(TInt aError)
       
  4052 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4053 						to restore the CWspHeaderReader_ContentLanguageShortInt_UnitTest
       
  4054 						object to a sensible state.
       
  4055 						(called by the Active Scheduler immediately before the Panic).
       
  4056 		Error Condition	: @see CUnitTest::RunError().
       
  4057 		@since			7.0
       
  4058 		@return			KErrNone if cleanup successful, otherwise
       
  4059 						@see CUnitTest::RunError()
       
  4060 		@pre 			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully constructed, and initialized.
       
  4061 		@post			The object has been restored to a sensible state.
       
  4062 	 */
       
  4063 	inline TInt RunError(TInt aError);
       
  4064 
       
  4065 	/**
       
  4066 		@fn				~CWspHeaderReader_ContentLanguageShortInt_UnitTest()
       
  4067 		Intended Usage	: Standard Destructor.
       
  4068 		Error Condition	: None.	
       
  4069 		@since			7.0
       
  4070 		@pre 			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully constructed.
       
  4071 		@post			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully destroyed.
       
  4072 	*/
       
  4073 	~CWspHeaderReader_ContentLanguageShortInt_UnitTest();
       
  4074 
       
  4075 private:
       
  4076 	/**
       
  4077 		@fn				CWspHeaderReader_ContentLanguageShortInt_UnitTest(CDataLogger& aDataLogger,
       
  4078 														MUnitTestObserver& aObserver)
       
  4079 		Intended Usage	: Default constructor.
       
  4080 		Error Condition	: None. 
       
  4081 		@since			7.0
       
  4082 		@param			aDataLogger The output logging object.
       
  4083 		@param			aObserver The observer of this UnitTest.
       
  4084 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4085 		@pre 			None.
       
  4086 		@post			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully constructed.
       
  4087 	*/
       
  4088 	inline CWspHeaderReader_ContentLanguageShortInt_UnitTest(CDataLogger& aDataLogger,
       
  4089 											MUnitTestObserver& aObserver);
       
  4090 
       
  4091 	/**
       
  4092 		@fn				void ConstructL()
       
  4093 		Intended Usage	: Second phase of safe two phase construction, 
       
  4094 		to complete the object initialisation.
       
  4095 		Error Condition	: Leaves with an error code.
       
  4096 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4097 		@since			7.0
       
  4098 		@return			None 
       
  4099 		@pre 			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully constructed.
       
  4100 		@post			CWspHeaderReader_ContentLanguageShortInt_UnitTest is fully initialized.
       
  4101 	*/
       
  4102 	void ConstructL();
       
  4103 
       
  4104 	/**
       
  4105 	The context of the Unit Test.
       
  4106 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4107 	 */
       
  4108 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4109 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4110 	/* C'tor, d'tor, and method transition validators */
       
  4111 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4112 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageShortIntValidator;
       
  4113 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4114 	};	// CWspHeaderReader_ContentLanguageShortInt_UnitTest
       
  4115 
       
  4116 // ______________________________________________________________________________
       
  4117 //
       
  4118 /**
       
  4119 	@internal
       
  4120 	@class CWspHeaderReader_ContentLanguageLongInt_UnitTest
       
  4121 	@Depends CWspHeaderReader & CUnitTest 
       
  4122 
       
  4123 	Comments : Unit Test for ContentLanguageLongInt on CWspHeaderReader, the class under test.
       
  4124  */
       
  4125 class CWspHeaderReader_ContentLanguageLongInt_UnitTest : public CUnitTest
       
  4126 	{
       
  4127 public:
       
  4128 	/**
       
  4129 		@fn				NewL(CDataLogger& aDataLogger,
       
  4130 							MUnitTestObserver& aObserver)
       
  4131 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4132 						cleanup stack.
       
  4133 		Error Condition	: Leaves with the error code.
       
  4134 		@exceptions		KErrNoMemory
       
  4135 		@since			7.0
       
  4136 		@param			aDataLogger The output logging object.
       
  4137 		@param			aObserver The observer of this UnitTest.
       
  4138 		@return			CWspHeaderReader_ContentLanguageLongInt_UnitTest* The constructed object.
       
  4139 		@pre 			None.
       
  4140 		@post			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully constructed, and initialized.
       
  4141 	 */
       
  4142 	static CWspHeaderReader_ContentLanguageLongInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4143 											MUnitTestObserver& aObserver);
       
  4144 
       
  4145 	/**
       
  4146 		@fn				RunError(TInt aError)
       
  4147 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4148 						to restore the CWspHeaderReader_ContentLanguageLongInt_UnitTest
       
  4149 						object to a sensible state.
       
  4150 						(called by the Active Scheduler immediately before the Panic).
       
  4151 		Error Condition	: @see CUnitTest::RunError().
       
  4152 		@since			7.0
       
  4153 		@return			KErrNone if cleanup successful, otherwise
       
  4154 						@see CUnitTest::RunError()
       
  4155 		@pre 			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully constructed, and initialized.
       
  4156 		@post			The object has been restored to a sensible state.
       
  4157 	 */
       
  4158 	inline TInt RunError(TInt aError);
       
  4159 
       
  4160 	/**
       
  4161 		@fn				~CWspHeaderReader_ContentLanguageLongInt_UnitTest()
       
  4162 		Intended Usage	: Standard Destructor.
       
  4163 		Error Condition	: None.	
       
  4164 		@since			7.0
       
  4165 		@pre 			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully constructed.
       
  4166 		@post			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully destroyed.
       
  4167 	*/
       
  4168 	~CWspHeaderReader_ContentLanguageLongInt_UnitTest();
       
  4169 
       
  4170 private:
       
  4171 	/**
       
  4172 		@fn				CWspHeaderReader_ContentLanguageLongInt_UnitTest(CDataLogger& aDataLogger,
       
  4173 														MUnitTestObserver& aObserver)
       
  4174 		Intended Usage	: Default constructor.
       
  4175 		Error Condition	: None. 
       
  4176 		@since			7.0
       
  4177 		@param			aDataLogger The output logging object.
       
  4178 		@param			aObserver The observer of this UnitTest.
       
  4179 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4180 		@pre 			None.
       
  4181 		@post			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully constructed.
       
  4182 	*/
       
  4183 	inline CWspHeaderReader_ContentLanguageLongInt_UnitTest(CDataLogger& aDataLogger,
       
  4184 											MUnitTestObserver& aObserver);
       
  4185 
       
  4186 	/**
       
  4187 		@fn				void ConstructL()
       
  4188 		Intended Usage	: Second phase of safe two phase construction, 
       
  4189 		to complete the object initialisation.
       
  4190 		Error Condition	: Leaves with an error code.
       
  4191 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4192 		@since			7.0
       
  4193 		@return			None 
       
  4194 		@pre 			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully constructed.
       
  4195 		@post			CWspHeaderReader_ContentLanguageLongInt_UnitTest is fully initialized.
       
  4196 	*/
       
  4197 	void ConstructL();
       
  4198 
       
  4199 	/**
       
  4200 	The context of the Unit Test.
       
  4201 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4202 	 */
       
  4203 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4204 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4205 	/* C'tor, d'tor, and method transition validators */
       
  4206 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4207 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageLongIntValidator;
       
  4208 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4209 	};	// CWspHeaderReader_ContentLanguageLongInt_UnitTest
       
  4210 
       
  4211 // ______________________________________________________________________________
       
  4212 //
       
  4213 /**
       
  4214 	@internal
       
  4215 	@class CWspHeaderReader_ContentLanguageTokenText_UnitTest
       
  4216 	@Depends CWspHeaderReader & CUnitTest 
       
  4217 
       
  4218 	Comments : Unit Test for ContentLanguageTokenText on CWspHeaderReader, the class under test.
       
  4219  */
       
  4220 class CWspHeaderReader_ContentLanguageTokenText_UnitTest : public CUnitTest
       
  4221 	{
       
  4222 public:
       
  4223 	/**
       
  4224 		@fn				NewL(CDataLogger& aDataLogger,
       
  4225 							MUnitTestObserver& aObserver)
       
  4226 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4227 						cleanup stack.
       
  4228 		Error Condition	: Leaves with the error code.
       
  4229 		@exceptions		KErrNoMemory
       
  4230 		@since			7.0
       
  4231 		@param			aDataLogger The output logging object.
       
  4232 		@param			aObserver The observer of this UnitTest.
       
  4233 		@return			CWspHeaderReader_ContentLanguageTokenText_UnitTest* The constructed object.
       
  4234 		@pre 			None.
       
  4235 		@post			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully constructed, and initialized.
       
  4236 	 */
       
  4237 	static CWspHeaderReader_ContentLanguageTokenText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4238 											MUnitTestObserver& aObserver);
       
  4239 
       
  4240 	/**
       
  4241 		@fn				RunError(TInt aError)
       
  4242 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4243 						to restore the CWspHeaderReader_ContentLanguageTokenText_UnitTest
       
  4244 						object to a sensible state.
       
  4245 						(called by the Active Scheduler immediately before the Panic).
       
  4246 		Error Condition	: @see CUnitTest::RunError().
       
  4247 		@since			7.0
       
  4248 		@return			KErrNone if cleanup successful, otherwise
       
  4249 						@see CUnitTest::RunError()
       
  4250 		@pre 			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully constructed, and initialized.
       
  4251 		@post			The object has been restored to a sensible state.
       
  4252 	 */
       
  4253 	inline TInt RunError(TInt aError);
       
  4254 
       
  4255 	/**
       
  4256 		@fn				~CWspHeaderReader_ContentLanguageTokenText_UnitTest()
       
  4257 		Intended Usage	: Standard Destructor.
       
  4258 		Error Condition	: None.	
       
  4259 		@since			7.0
       
  4260 		@pre 			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully constructed.
       
  4261 		@post			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully destroyed.
       
  4262 	*/
       
  4263 	~CWspHeaderReader_ContentLanguageTokenText_UnitTest();
       
  4264 
       
  4265 private:
       
  4266 	/**
       
  4267 		@fn				CWspHeaderReader_ContentLanguageTokenText_UnitTest(CDataLogger& aDataLogger,
       
  4268 														MUnitTestObserver& aObserver)
       
  4269 		Intended Usage	: Default constructor.
       
  4270 		Error Condition	: None. 
       
  4271 		@since			7.0
       
  4272 		@param			aDataLogger The output logging object.
       
  4273 		@param			aObserver The observer of this UnitTest.
       
  4274 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4275 		@pre 			None.
       
  4276 		@post			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully constructed.
       
  4277 	*/
       
  4278 	inline CWspHeaderReader_ContentLanguageTokenText_UnitTest(CDataLogger& aDataLogger,
       
  4279 											MUnitTestObserver& aObserver);
       
  4280 
       
  4281 	/**
       
  4282 		@fn				void ConstructL()
       
  4283 		Intended Usage	: Second phase of safe two phase construction, 
       
  4284 		to complete the object initialisation.
       
  4285 		Error Condition	: Leaves with an error code.
       
  4286 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4287 		@since			7.0
       
  4288 		@return			None 
       
  4289 		@pre 			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully constructed.
       
  4290 		@post			CWspHeaderReader_ContentLanguageTokenText_UnitTest is fully initialized.
       
  4291 	*/
       
  4292 	void ConstructL();
       
  4293 
       
  4294 	/**
       
  4295 	The context of the Unit Test.
       
  4296 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4297 	 */
       
  4298 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4299 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4300 	/* C'tor, d'tor, and method transition validators */
       
  4301 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4302 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageTokenTextValidator;
       
  4303 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4304 	};	// CWspHeaderReader_ContentLanguageTokenText_UnitTest
       
  4305 
       
  4306 // ______________________________________________________________________________
       
  4307 //
       
  4308 /**
       
  4309 	@internal
       
  4310 	@class CWspHeaderReader_ContentLanguageNotExist_UnitTest
       
  4311 	@Depends CWspHeaderReader & CUnitTest 
       
  4312 
       
  4313 	Comments : Unit Test for ContentLanguageNotExist on CWspHeaderReader, the class under test.
       
  4314  */
       
  4315 class CWspHeaderReader_ContentLanguageNotExist_UnitTest : public CUnitTest
       
  4316 	{
       
  4317 public:
       
  4318 	/**
       
  4319 		@fn				NewL(CDataLogger& aDataLogger,
       
  4320 							MUnitTestObserver& aObserver)
       
  4321 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4322 						cleanup stack.
       
  4323 		Error Condition	: Leaves with the error code.
       
  4324 		@exceptions		KErrNoMemory
       
  4325 		@since			7.0
       
  4326 		@param			aDataLogger The output logging object.
       
  4327 		@param			aObserver The observer of this UnitTest.
       
  4328 		@return			CWspHeaderReader_ContentLanguageNotExist_UnitTest* The constructed object.
       
  4329 		@pre 			None.
       
  4330 		@post			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully constructed, and initialized.
       
  4331 	 */
       
  4332 	static CWspHeaderReader_ContentLanguageNotExist_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4333 											MUnitTestObserver& aObserver);
       
  4334 
       
  4335 	/**
       
  4336 		@fn				RunError(TInt aError)
       
  4337 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4338 						to restore the CWspHeaderReader_ContentLanguageNotExist_UnitTest
       
  4339 						object to a sensible state.
       
  4340 						(called by the Active Scheduler immediately before the Panic).
       
  4341 		Error Condition	: @see CUnitTest::RunError().
       
  4342 		@since			7.0
       
  4343 		@return			KErrNone if cleanup successful, otherwise
       
  4344 						@see CUnitTest::RunError()
       
  4345 		@pre 			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully constructed, and initialized.
       
  4346 		@post			The object has been restored to a sensible state.
       
  4347 	 */
       
  4348 	inline TInt RunError(TInt aError);
       
  4349 
       
  4350 	/**
       
  4351 		@fn				~CWspHeaderReader_ContentLanguageNotExist_UnitTest()
       
  4352 		Intended Usage	: Standard Destructor.
       
  4353 		Error Condition	: None.	
       
  4354 		@since			7.0
       
  4355 		@pre 			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully constructed.
       
  4356 		@post			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully destroyed.
       
  4357 	*/
       
  4358 	~CWspHeaderReader_ContentLanguageNotExist_UnitTest();
       
  4359 
       
  4360 private:
       
  4361 	/**
       
  4362 		@fn				CWspHeaderReader_ContentLanguageNotExist_UnitTest(CDataLogger& aDataLogger,
       
  4363 														MUnitTestObserver& aObserver)
       
  4364 		Intended Usage	: Default constructor.
       
  4365 		Error Condition	: None. 
       
  4366 		@since			7.0
       
  4367 		@param			aDataLogger The output logging object.
       
  4368 		@param			aObserver The observer of this UnitTest.
       
  4369 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4370 		@pre 			None.
       
  4371 		@post			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully constructed.
       
  4372 	*/
       
  4373 	inline CWspHeaderReader_ContentLanguageNotExist_UnitTest(CDataLogger& aDataLogger,
       
  4374 											MUnitTestObserver& aObserver);
       
  4375 
       
  4376 	/**
       
  4377 		@fn				void ConstructL()
       
  4378 		Intended Usage	: Second phase of safe two phase construction, 
       
  4379 		to complete the object initialisation.
       
  4380 		Error Condition	: Leaves with an error code.
       
  4381 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4382 		@since			7.0
       
  4383 		@return			None 
       
  4384 		@pre 			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully constructed.
       
  4385 		@post			CWspHeaderReader_ContentLanguageNotExist_UnitTest is fully initialized.
       
  4386 	*/
       
  4387 	void ConstructL();
       
  4388 
       
  4389 	/**
       
  4390 	The context of the Unit Test.
       
  4391 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4392 	 */
       
  4393 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4394 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4395 	/* C'tor, d'tor, and method transition validators */
       
  4396 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4397 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageNotExistValidator;
       
  4398 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4399 	};	// CWspHeaderReader_ContentLanguageNotExist_UnitTest
       
  4400 
       
  4401 // ______________________________________________________________________________
       
  4402 //
       
  4403 /**
       
  4404 	@internal
       
  4405 	@class CWspHeaderReader_ContentMD5_UnitTest
       
  4406 	@Depends CWspHeaderReader & CUnitTest 
       
  4407 
       
  4408 	Comments : Unit Test for ContentMD5 on CWspHeaderReader, the class under test.
       
  4409  */
       
  4410 class CWspHeaderReader_ContentMD5_UnitTest : public CUnitTest
       
  4411 	{
       
  4412 public:
       
  4413 	/**
       
  4414 		@fn				NewL(CDataLogger& aDataLogger,
       
  4415 							MUnitTestObserver& aObserver)
       
  4416 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4417 						cleanup stack.
       
  4418 		Error Condition	: Leaves with the error code.
       
  4419 		@exceptions		KErrNoMemory
       
  4420 		@since			7.0
       
  4421 		@param			aDataLogger The output logging object.
       
  4422 		@param			aObserver The observer of this UnitTest.
       
  4423 		@return			CWspHeaderReader_ContentMD5_UnitTest* The constructed object.
       
  4424 		@pre 			None.
       
  4425 		@post			CWspHeaderReader_ContentMD5_UnitTest is fully constructed, and initialized.
       
  4426 	 */
       
  4427 	static CWspHeaderReader_ContentMD5_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4428 											MUnitTestObserver& aObserver);
       
  4429 
       
  4430 	/**
       
  4431 		@fn				RunError(TInt aError)
       
  4432 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4433 						to restore the CWspHeaderReader_ContentMD5_UnitTest
       
  4434 						object to a sensible state.
       
  4435 						(called by the Active Scheduler immediately before the Panic).
       
  4436 		Error Condition	: @see CUnitTest::RunError().
       
  4437 		@since			7.0
       
  4438 		@return			KErrNone if cleanup successful, otherwise
       
  4439 						@see CUnitTest::RunError()
       
  4440 		@pre 			CWspHeaderReader_ContentMD5_UnitTest is fully constructed, and initialized.
       
  4441 		@post			The object has been restored to a sensible state.
       
  4442 	 */
       
  4443 	inline TInt RunError(TInt aError);
       
  4444 
       
  4445 	/**
       
  4446 		@fn				~CWspHeaderReader_ContentMD5_UnitTest()
       
  4447 		Intended Usage	: Standard Destructor.
       
  4448 		Error Condition	: None.	
       
  4449 		@since			7.0
       
  4450 		@pre 			CWspHeaderReader_ContentMD5_UnitTest is fully constructed.
       
  4451 		@post			CWspHeaderReader_ContentMD5_UnitTest is fully destroyed.
       
  4452 	*/
       
  4453 	~CWspHeaderReader_ContentMD5_UnitTest();
       
  4454 
       
  4455 private:
       
  4456 	/**
       
  4457 		@fn				CWspHeaderReader_ContentMD5_UnitTest(CDataLogger& aDataLogger,
       
  4458 														MUnitTestObserver& aObserver)
       
  4459 		Intended Usage	: Default constructor.
       
  4460 		Error Condition	: None. 
       
  4461 		@since			7.0
       
  4462 		@param			aDataLogger The output logging object.
       
  4463 		@param			aObserver The observer of this UnitTest.
       
  4464 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4465 		@pre 			None.
       
  4466 		@post			CWspHeaderReader_ContentMD5_UnitTest is fully constructed.
       
  4467 	*/
       
  4468 	inline CWspHeaderReader_ContentMD5_UnitTest(CDataLogger& aDataLogger,
       
  4469 											MUnitTestObserver& aObserver);
       
  4470 
       
  4471 	/**
       
  4472 		@fn				void ConstructL()
       
  4473 		Intended Usage	: Second phase of safe two phase construction, 
       
  4474 		to complete the object initialisation.
       
  4475 		Error Condition	: Leaves with an error code.
       
  4476 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4477 		@since			7.0
       
  4478 		@return			None 
       
  4479 		@pre 			CWspHeaderReader_ContentMD5_UnitTest is fully constructed.
       
  4480 		@post			CWspHeaderReader_ContentMD5_UnitTest is fully initialized.
       
  4481 	*/
       
  4482 	void ConstructL();
       
  4483 
       
  4484 	/**
       
  4485 	The context of the Unit Test.
       
  4486 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4487 	 */
       
  4488 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4489 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4490 	/* C'tor, d'tor, and method transition validators */
       
  4491 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4492 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentMD5Validator;
       
  4493 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4494 	};	// CWspHeaderReader_ContentMD5_UnitTest
       
  4495 
       
  4496 // ______________________________________________________________________________
       
  4497 //
       
  4498 /**
       
  4499 	@internal
       
  4500 	@class CWspHeaderReader_ContentMD5TooShort_UnitTest
       
  4501 	@Depends CWspHeaderReader & CUnitTest 
       
  4502 
       
  4503 	Comments : Unit Test for ContentMD5TooShort on CWspHeaderReader, the class under test.
       
  4504  */
       
  4505 class CWspHeaderReader_ContentMD5TooShort_UnitTest : public CUnitTest
       
  4506 	{
       
  4507 public:
       
  4508 	/**
       
  4509 		@fn				NewL(CDataLogger& aDataLogger,
       
  4510 							MUnitTestObserver& aObserver)
       
  4511 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4512 						cleanup stack.
       
  4513 		Error Condition	: Leaves with the error code.
       
  4514 		@exceptions		KErrNoMemory
       
  4515 		@since			7.0
       
  4516 		@param			aDataLogger The output logging object.
       
  4517 		@param			aObserver The observer of this UnitTest.
       
  4518 		@return			CWspHeaderReader_ContentMD5TooShort_UnitTest* The constructed object.
       
  4519 		@pre 			None.
       
  4520 		@post			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully constructed, and initialized.
       
  4521 	 */
       
  4522 	static CWspHeaderReader_ContentMD5TooShort_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4523 											MUnitTestObserver& aObserver);
       
  4524 
       
  4525 	/**
       
  4526 		@fn				RunError(TInt aError)
       
  4527 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4528 						to restore the CWspHeaderReader_ContentMD5TooShort_UnitTest
       
  4529 						object to a sensible state.
       
  4530 						(called by the Active Scheduler immediately before the Panic).
       
  4531 		Error Condition	: @see CUnitTest::RunError().
       
  4532 		@since			7.0
       
  4533 		@return			KErrNone if cleanup successful, otherwise
       
  4534 						@see CUnitTest::RunError()
       
  4535 		@pre 			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully constructed, and initialized.
       
  4536 		@post			The object has been restored to a sensible state.
       
  4537 	 */
       
  4538 	inline TInt RunError(TInt aError);
       
  4539 
       
  4540 	/**
       
  4541 		@fn				~CWspHeaderReader_ContentMD5TooShort_UnitTest()
       
  4542 		Intended Usage	: Standard Destructor.
       
  4543 		Error Condition	: None.	
       
  4544 		@since			7.0
       
  4545 		@pre 			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully constructed.
       
  4546 		@post			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully destroyed.
       
  4547 	*/
       
  4548 	~CWspHeaderReader_ContentMD5TooShort_UnitTest();
       
  4549 
       
  4550 private:
       
  4551 	/**
       
  4552 		@fn				CWspHeaderReader_ContentMD5TooShort_UnitTest(CDataLogger& aDataLogger,
       
  4553 														MUnitTestObserver& aObserver)
       
  4554 		Intended Usage	: Default constructor.
       
  4555 		Error Condition	: None. 
       
  4556 		@since			7.0
       
  4557 		@param			aDataLogger The output logging object.
       
  4558 		@param			aObserver The observer of this UnitTest.
       
  4559 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4560 		@pre 			None.
       
  4561 		@post			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully constructed.
       
  4562 	*/
       
  4563 	inline CWspHeaderReader_ContentMD5TooShort_UnitTest(CDataLogger& aDataLogger,
       
  4564 											MUnitTestObserver& aObserver);
       
  4565 
       
  4566 	/**
       
  4567 		@fn				void ConstructL()
       
  4568 		Intended Usage	: Second phase of safe two phase construction, 
       
  4569 		to complete the object initialisation.
       
  4570 		Error Condition	: Leaves with an error code.
       
  4571 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4572 		@since			7.0
       
  4573 		@return			None 
       
  4574 		@pre 			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully constructed.
       
  4575 		@post			CWspHeaderReader_ContentMD5TooShort_UnitTest is fully initialized.
       
  4576 	*/
       
  4577 	void ConstructL();
       
  4578 
       
  4579 	/**
       
  4580 	The context of the Unit Test.
       
  4581 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4582 	 */
       
  4583 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4584 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4585 	/* C'tor, d'tor, and method transition validators */
       
  4586 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4587 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentMD5TooShortValidator;
       
  4588 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4589 	};	// CWspHeaderReader_ContentMD5TooShort_UnitTest
       
  4590 
       
  4591 // ______________________________________________________________________________
       
  4592 //
       
  4593 /**
       
  4594 	@internal
       
  4595 	@class CWspHeaderReader_ProxyAuthenticateBasic_UnitTest
       
  4596 	@Depends CWspHeaderReader & CUnitTest 
       
  4597 
       
  4598 	Comments : Unit Test for ProxyAuthenticateBasic on CWspHeaderReader, the class under test.
       
  4599  */
       
  4600 class CWspHeaderReader_ProxyAuthenticateBasic_UnitTest : public CUnitTest
       
  4601 	{
       
  4602 public:
       
  4603 	/**
       
  4604 		@fn				NewL(CDataLogger& aDataLogger,
       
  4605 							MUnitTestObserver& aObserver)
       
  4606 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4607 						cleanup stack.
       
  4608 		Error Condition	: Leaves with the error code.
       
  4609 		@exceptions		KErrNoMemory
       
  4610 		@since			7.0
       
  4611 		@param			aDataLogger The output logging object.
       
  4612 		@param			aObserver The observer of this UnitTest.
       
  4613 		@return			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest* The constructed object.
       
  4614 		@pre 			None.
       
  4615 		@post			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully constructed, and initialized.
       
  4616 	 */
       
  4617 	static CWspHeaderReader_ProxyAuthenticateBasic_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4618 											MUnitTestObserver& aObserver);
       
  4619 
       
  4620 	/**
       
  4621 		@fn				RunError(TInt aError)
       
  4622 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4623 						to restore the CWspHeaderReader_ProxyAuthenticateBasic_UnitTest
       
  4624 						object to a sensible state.
       
  4625 						(called by the Active Scheduler immediately before the Panic).
       
  4626 		Error Condition	: @see CUnitTest::RunError().
       
  4627 		@since			7.0
       
  4628 		@return			KErrNone if cleanup successful, otherwise
       
  4629 						@see CUnitTest::RunError()
       
  4630 		@pre 			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully constructed, and initialized.
       
  4631 		@post			The object has been restored to a sensible state.
       
  4632 	 */
       
  4633 	inline TInt RunError(TInt aError);
       
  4634 
       
  4635 	/**
       
  4636 		@fn				~CWspHeaderReader_ProxyAuthenticateBasic_UnitTest()
       
  4637 		Intended Usage	: Standard Destructor.
       
  4638 		Error Condition	: None.	
       
  4639 		@since			7.0
       
  4640 		@pre 			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully constructed.
       
  4641 		@post			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully destroyed.
       
  4642 	*/
       
  4643 	~CWspHeaderReader_ProxyAuthenticateBasic_UnitTest();
       
  4644 
       
  4645 private:
       
  4646 	/**
       
  4647 		@fn				CWspHeaderReader_ProxyAuthenticateBasic_UnitTest(CDataLogger& aDataLogger,
       
  4648 														MUnitTestObserver& aObserver)
       
  4649 		Intended Usage	: Default constructor.
       
  4650 		Error Condition	: None. 
       
  4651 		@since			7.0
       
  4652 		@param			aDataLogger The output logging object.
       
  4653 		@param			aObserver The observer of this UnitTest.
       
  4654 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4655 		@pre 			None.
       
  4656 		@post			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully constructed.
       
  4657 	*/
       
  4658 	inline CWspHeaderReader_ProxyAuthenticateBasic_UnitTest(CDataLogger& aDataLogger,
       
  4659 											MUnitTestObserver& aObserver);
       
  4660 
       
  4661 	/**
       
  4662 		@fn				void ConstructL()
       
  4663 		Intended Usage	: Second phase of safe two phase construction, 
       
  4664 		to complete the object initialisation.
       
  4665 		Error Condition	: Leaves with an error code.
       
  4666 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4667 		@since			7.0
       
  4668 		@return			None 
       
  4669 		@pre 			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully constructed.
       
  4670 		@post			CWspHeaderReader_ProxyAuthenticateBasic_UnitTest is fully initialized.
       
  4671 	*/
       
  4672 	void ConstructL();
       
  4673 
       
  4674 	/**
       
  4675 	The context of the Unit Test.
       
  4676 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4677 	 */
       
  4678 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4679 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4680 	/* C'tor, d'tor, and method transition validators */
       
  4681 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4682 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProxyAuthenticateBasicValidator;
       
  4683 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4684 	};	// CWspHeaderReader_ProxyAuthenticateBasic_UnitTest
       
  4685 
       
  4686 // ______________________________________________________________________________
       
  4687 //
       
  4688 /**
       
  4689 	@internal
       
  4690 	@class CWspHeaderReader_ServerText_UnitTest
       
  4691 	@Depends CWspHeaderReader & CUnitTest 
       
  4692 
       
  4693 	Comments : Unit Test for ServerText on CWspHeaderReader, the class under test.
       
  4694  */
       
  4695 class CWspHeaderReader_ServerText_UnitTest : public CUnitTest
       
  4696 	{
       
  4697 public:
       
  4698 	/**
       
  4699 		@fn				NewL(CDataLogger& aDataLogger,
       
  4700 							MUnitTestObserver& aObserver)
       
  4701 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4702 						cleanup stack.
       
  4703 		Error Condition	: Leaves with the error code.
       
  4704 		@exceptions		KErrNoMemory
       
  4705 		@since			7.0
       
  4706 		@param			aDataLogger The output logging object.
       
  4707 		@param			aObserver The observer of this UnitTest.
       
  4708 		@return			CWspHeaderReader_ServerText_UnitTest* The constructed object.
       
  4709 		@pre 			None.
       
  4710 		@post			CWspHeaderReader_ServerText_UnitTest is fully constructed, and initialized.
       
  4711 	 */
       
  4712 	static CWspHeaderReader_ServerText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4713 											MUnitTestObserver& aObserver);
       
  4714 
       
  4715 	/**
       
  4716 		@fn				RunError(TInt aError)
       
  4717 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4718 						to restore the CWspHeaderReader_ServerText_UnitTest
       
  4719 						object to a sensible state.
       
  4720 						(called by the Active Scheduler immediately before the Panic).
       
  4721 		Error Condition	: @see CUnitTest::RunError().
       
  4722 		@since			7.0
       
  4723 		@return			KErrNone if cleanup successful, otherwise
       
  4724 						@see CUnitTest::RunError()
       
  4725 		@pre 			CWspHeaderReader_ServerText_UnitTest is fully constructed, and initialized.
       
  4726 		@post			The object has been restored to a sensible state.
       
  4727 	 */
       
  4728 	inline TInt RunError(TInt aError);
       
  4729 
       
  4730 	/**
       
  4731 		@fn				~CWspHeaderReader_ServerText_UnitTest()
       
  4732 		Intended Usage	: Standard Destructor.
       
  4733 		Error Condition	: None.	
       
  4734 		@since			7.0
       
  4735 		@pre 			CWspHeaderReader_ServerText_UnitTest is fully constructed.
       
  4736 		@post			CWspHeaderReader_ServerText_UnitTest is fully destroyed.
       
  4737 	*/
       
  4738 	~CWspHeaderReader_ServerText_UnitTest();
       
  4739 
       
  4740 private:
       
  4741 	/**
       
  4742 		@fn				CWspHeaderReader_ServerText_UnitTest(CDataLogger& aDataLogger,
       
  4743 														MUnitTestObserver& aObserver)
       
  4744 		Intended Usage	: Default constructor.
       
  4745 		Error Condition	: None. 
       
  4746 		@since			7.0
       
  4747 		@param			aDataLogger The output logging object.
       
  4748 		@param			aObserver The observer of this UnitTest.
       
  4749 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4750 		@pre 			None.
       
  4751 		@post			CWspHeaderReader_ServerText_UnitTest is fully constructed.
       
  4752 	*/
       
  4753 	inline CWspHeaderReader_ServerText_UnitTest(CDataLogger& aDataLogger,
       
  4754 											MUnitTestObserver& aObserver);
       
  4755 
       
  4756 	/**
       
  4757 		@fn				void ConstructL()
       
  4758 		Intended Usage	: Second phase of safe two phase construction, 
       
  4759 		to complete the object initialisation.
       
  4760 		Error Condition	: Leaves with an error code.
       
  4761 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4762 		@since			7.0
       
  4763 		@return			None 
       
  4764 		@pre 			CWspHeaderReader_ServerText_UnitTest is fully constructed.
       
  4765 		@post			CWspHeaderReader_ServerText_UnitTest is fully initialized.
       
  4766 	*/
       
  4767 	void ConstructL();
       
  4768 
       
  4769 	/**
       
  4770 	The context of the Unit Test.
       
  4771 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4772 	 */
       
  4773 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4774 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4775 	/* C'tor, d'tor, and method transition validators */
       
  4776 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4777 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iServerTextValidator;
       
  4778 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4779 	};	// CWspHeaderReader_ServerText_UnitTest
       
  4780 
       
  4781 // ______________________________________________________________________________
       
  4782 //
       
  4783 /**
       
  4784 	@internal
       
  4785 	@class CWspHeaderReader_ServerNullText_UnitTest
       
  4786 	@Depends CWspHeaderReader & CUnitTest 
       
  4787 
       
  4788 	Comments : Unit Test for ServerNullText on CWspHeaderReader, the class under test.
       
  4789  */
       
  4790 class CWspHeaderReader_ServerNullText_UnitTest : public CUnitTest
       
  4791 	{
       
  4792 public:
       
  4793 	/**
       
  4794 		@fn				NewL(CDataLogger& aDataLogger,
       
  4795 							MUnitTestObserver& aObserver)
       
  4796 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4797 						cleanup stack.
       
  4798 		Error Condition	: Leaves with the error code.
       
  4799 		@exceptions		KErrNoMemory
       
  4800 		@since			7.0
       
  4801 		@param			aDataLogger The output logging object.
       
  4802 		@param			aObserver The observer of this UnitTest.
       
  4803 		@return			CWspHeaderReader_ServerNullText_UnitTest* The constructed object.
       
  4804 		@pre 			None.
       
  4805 		@post			CWspHeaderReader_ServerNullText_UnitTest is fully constructed, and initialized.
       
  4806 	 */
       
  4807 	static CWspHeaderReader_ServerNullText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4808 											MUnitTestObserver& aObserver);
       
  4809 
       
  4810 	/**
       
  4811 		@fn				RunError(TInt aError)
       
  4812 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4813 						to restore the CWspHeaderReader_ServerNullText_UnitTest
       
  4814 						object to a sensible state.
       
  4815 						(called by the Active Scheduler immediately before the Panic).
       
  4816 		Error Condition	: @see CUnitTest::RunError().
       
  4817 		@since			7.0
       
  4818 		@return			KErrNone if cleanup successful, otherwise
       
  4819 						@see CUnitTest::RunError()
       
  4820 		@pre 			CWspHeaderReader_ServerNullText_UnitTest is fully constructed, and initialized.
       
  4821 		@post			The object has been restored to a sensible state.
       
  4822 	 */
       
  4823 	inline TInt RunError(TInt aError);
       
  4824 
       
  4825 	/**
       
  4826 		@fn				~CWspHeaderReader_ServerNullText_UnitTest()
       
  4827 		Intended Usage	: Standard Destructor.
       
  4828 		Error Condition	: None.	
       
  4829 		@since			7.0
       
  4830 		@pre 			CWspHeaderReader_ServerNullText_UnitTest is fully constructed.
       
  4831 		@post			CWspHeaderReader_ServerNullText_UnitTest is fully destroyed.
       
  4832 	*/
       
  4833 	~CWspHeaderReader_ServerNullText_UnitTest();
       
  4834 
       
  4835 private:
       
  4836 	/**
       
  4837 		@fn				CWspHeaderReader_ServerNullText_UnitTest(CDataLogger& aDataLogger,
       
  4838 														MUnitTestObserver& aObserver)
       
  4839 		Intended Usage	: Default constructor.
       
  4840 		Error Condition	: None. 
       
  4841 		@since			7.0
       
  4842 		@param			aDataLogger The output logging object.
       
  4843 		@param			aObserver The observer of this UnitTest.
       
  4844 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4845 		@pre 			None.
       
  4846 		@post			CWspHeaderReader_ServerNullText_UnitTest is fully constructed.
       
  4847 	*/
       
  4848 	inline CWspHeaderReader_ServerNullText_UnitTest(CDataLogger& aDataLogger,
       
  4849 											MUnitTestObserver& aObserver);
       
  4850 
       
  4851 	/**
       
  4852 		@fn				void ConstructL()
       
  4853 		Intended Usage	: Second phase of safe two phase construction, 
       
  4854 		to complete the object initialisation.
       
  4855 		Error Condition	: Leaves with an error code.
       
  4856 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4857 		@since			7.0
       
  4858 		@return			None 
       
  4859 		@pre 			CWspHeaderReader_ServerNullText_UnitTest is fully constructed.
       
  4860 		@post			CWspHeaderReader_ServerNullText_UnitTest is fully initialized.
       
  4861 	*/
       
  4862 	void ConstructL();
       
  4863 
       
  4864 	/**
       
  4865 	The context of the Unit Test.
       
  4866 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4867 	 */
       
  4868 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4869 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4870 	/* C'tor, d'tor, and method transition validators */
       
  4871 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4872 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iServerNullTextValidator;
       
  4873 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4874 	};	// CWspHeaderReader_ServerNullText_UnitTest
       
  4875 
       
  4876 // ______________________________________________________________________________
       
  4877 //
       
  4878 /**
       
  4879 	@internal
       
  4880 	@class CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest
       
  4881 	@Depends CWspHeaderReader & CUnitTest 
       
  4882 
       
  4883 	Comments : Unit Test for RetryAfterAbsoluteDate on CWspHeaderReader, the class under test.
       
  4884  */
       
  4885 class CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest : public CUnitTest
       
  4886 	{
       
  4887 public:
       
  4888 	/**
       
  4889 		@fn				NewL(CDataLogger& aDataLogger,
       
  4890 							MUnitTestObserver& aObserver)
       
  4891 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4892 						cleanup stack.
       
  4893 		Error Condition	: Leaves with the error code.
       
  4894 		@exceptions		KErrNoMemory
       
  4895 		@since			7.0
       
  4896 		@param			aDataLogger The output logging object.
       
  4897 		@param			aObserver The observer of this UnitTest.
       
  4898 		@return			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest* The constructed object.
       
  4899 		@pre 			None.
       
  4900 		@post			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully constructed, and initialized.
       
  4901 	 */
       
  4902 	static CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4903 											MUnitTestObserver& aObserver);
       
  4904 
       
  4905 	/**
       
  4906 		@fn				RunError(TInt aError)
       
  4907 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  4908 						to restore the CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest
       
  4909 						object to a sensible state.
       
  4910 						(called by the Active Scheduler immediately before the Panic).
       
  4911 		Error Condition	: @see CUnitTest::RunError().
       
  4912 		@since			7.0
       
  4913 		@return			KErrNone if cleanup successful, otherwise
       
  4914 						@see CUnitTest::RunError()
       
  4915 		@pre 			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully constructed, and initialized.
       
  4916 		@post			The object has been restored to a sensible state.
       
  4917 	 */
       
  4918 	inline TInt RunError(TInt aError);
       
  4919 
       
  4920 	/**
       
  4921 		@fn				~CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest()
       
  4922 		Intended Usage	: Standard Destructor.
       
  4923 		Error Condition	: None.	
       
  4924 		@since			7.0
       
  4925 		@pre 			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully constructed.
       
  4926 		@post			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully destroyed.
       
  4927 	*/
       
  4928 	~CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest();
       
  4929 
       
  4930 private:
       
  4931 	/**
       
  4932 		@fn				CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest(CDataLogger& aDataLogger,
       
  4933 														MUnitTestObserver& aObserver)
       
  4934 		Intended Usage	: Default constructor.
       
  4935 		Error Condition	: None. 
       
  4936 		@since			7.0
       
  4937 		@param			aDataLogger The output logging object.
       
  4938 		@param			aObserver The observer of this UnitTest.
       
  4939 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  4940 		@pre 			None.
       
  4941 		@post			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully constructed.
       
  4942 	*/
       
  4943 	inline CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest(CDataLogger& aDataLogger,
       
  4944 											MUnitTestObserver& aObserver);
       
  4945 
       
  4946 	/**
       
  4947 		@fn				void ConstructL()
       
  4948 		Intended Usage	: Second phase of safe two phase construction, 
       
  4949 		to complete the object initialisation.
       
  4950 		Error Condition	: Leaves with an error code.
       
  4951 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  4952 		@since			7.0
       
  4953 		@return			None 
       
  4954 		@pre 			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully constructed.
       
  4955 		@post			CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest is fully initialized.
       
  4956 	*/
       
  4957 	void ConstructL();
       
  4958 
       
  4959 	/**
       
  4960 	The context of the Unit Test.
       
  4961 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  4962 	 */
       
  4963 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  4964 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  4965 	/* C'tor, d'tor, and method transition validators */
       
  4966 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  4967 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iRetryAfterAbsoluteDateValidator;
       
  4968 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  4969 	};	// CWspHeaderReader_RetryAfterAbsoluteDate_UnitTest
       
  4970 
       
  4971 // ______________________________________________________________________________
       
  4972 //
       
  4973 /**
       
  4974 	@internal
       
  4975 	@class CWspHeaderReader_RetryAfterRelativeTime_UnitTest
       
  4976 	@Depends CWspHeaderReader & CUnitTest 
       
  4977 
       
  4978 	Comments : Unit Test for RetryAfterRelativeTime on CWspHeaderReader, the class under test.
       
  4979  */
       
  4980 class CWspHeaderReader_RetryAfterRelativeTime_UnitTest : public CUnitTest
       
  4981 	{
       
  4982 public:
       
  4983 	/**
       
  4984 		@fn				NewL(CDataLogger& aDataLogger,
       
  4985 							MUnitTestObserver& aObserver)
       
  4986 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  4987 						cleanup stack.
       
  4988 		Error Condition	: Leaves with the error code.
       
  4989 		@exceptions		KErrNoMemory
       
  4990 		@since			7.0
       
  4991 		@param			aDataLogger The output logging object.
       
  4992 		@param			aObserver The observer of this UnitTest.
       
  4993 		@return			CWspHeaderReader_RetryAfterRelativeTime_UnitTest* The constructed object.
       
  4994 		@pre 			None.
       
  4995 		@post			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully constructed, and initialized.
       
  4996 	 */
       
  4997 	static CWspHeaderReader_RetryAfterRelativeTime_UnitTest* NewL(CDataLogger& aDataLogger,
       
  4998 											MUnitTestObserver& aObserver);
       
  4999 
       
  5000 	/**
       
  5001 		@fn				RunError(TInt aError)
       
  5002 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5003 						to restore the CWspHeaderReader_RetryAfterRelativeTime_UnitTest
       
  5004 						object to a sensible state.
       
  5005 						(called by the Active Scheduler immediately before the Panic).
       
  5006 		Error Condition	: @see CUnitTest::RunError().
       
  5007 		@since			7.0
       
  5008 		@return			KErrNone if cleanup successful, otherwise
       
  5009 						@see CUnitTest::RunError()
       
  5010 		@pre 			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully constructed, and initialized.
       
  5011 		@post			The object has been restored to a sensible state.
       
  5012 	 */
       
  5013 	inline TInt RunError(TInt aError);
       
  5014 
       
  5015 	/**
       
  5016 		@fn				~CWspHeaderReader_RetryAfterRelativeTime_UnitTest()
       
  5017 		Intended Usage	: Standard Destructor.
       
  5018 		Error Condition	: None.	
       
  5019 		@since			7.0
       
  5020 		@pre 			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully constructed.
       
  5021 		@post			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully destroyed.
       
  5022 	*/
       
  5023 	~CWspHeaderReader_RetryAfterRelativeTime_UnitTest();
       
  5024 
       
  5025 private:
       
  5026 	/**
       
  5027 		@fn				CWspHeaderReader_RetryAfterRelativeTime_UnitTest(CDataLogger& aDataLogger,
       
  5028 														MUnitTestObserver& aObserver)
       
  5029 		Intended Usage	: Default constructor.
       
  5030 		Error Condition	: None. 
       
  5031 		@since			7.0
       
  5032 		@param			aDataLogger The output logging object.
       
  5033 		@param			aObserver The observer of this UnitTest.
       
  5034 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5035 		@pre 			None.
       
  5036 		@post			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully constructed.
       
  5037 	*/
       
  5038 	inline CWspHeaderReader_RetryAfterRelativeTime_UnitTest(CDataLogger& aDataLogger,
       
  5039 											MUnitTestObserver& aObserver);
       
  5040 
       
  5041 	/**
       
  5042 		@fn				void ConstructL()
       
  5043 		Intended Usage	: Second phase of safe two phase construction, 
       
  5044 		to complete the object initialisation.
       
  5045 		Error Condition	: Leaves with an error code.
       
  5046 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5047 		@since			7.0
       
  5048 		@return			None 
       
  5049 		@pre 			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully constructed.
       
  5050 		@post			CWspHeaderReader_RetryAfterRelativeTime_UnitTest is fully initialized.
       
  5051 	*/
       
  5052 	void ConstructL();
       
  5053 
       
  5054 	/**
       
  5055 	The context of the Unit Test.
       
  5056 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5057 	 */
       
  5058 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5059 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5060 	/* C'tor, d'tor, and method transition validators */
       
  5061 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5062 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iRetryAfterRelativeTimeValidator;
       
  5063 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5064 	};	// CWspHeaderReader_RetryAfterRelativeTime_UnitTest
       
  5065 
       
  5066 // ______________________________________________________________________________
       
  5067 //
       
  5068 /**
       
  5069 	@internal
       
  5070 	@class CWspHeaderReader_ViaText_UnitTest
       
  5071 	@Depends CWspHeaderReader & CUnitTest 
       
  5072 
       
  5073 	Comments : Unit Test for ViaText on CWspHeaderReader, the class under test.
       
  5074  */
       
  5075 class CWspHeaderReader_ViaText_UnitTest : public CUnitTest
       
  5076 	{
       
  5077 public:
       
  5078 	/**
       
  5079 		@fn				NewL(CDataLogger& aDataLogger,
       
  5080 							MUnitTestObserver& aObserver)
       
  5081 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5082 						cleanup stack.
       
  5083 		Error Condition	: Leaves with the error code.
       
  5084 		@exceptions		KErrNoMemory
       
  5085 		@since			7.0
       
  5086 		@param			aDataLogger The output logging object.
       
  5087 		@param			aObserver The observer of this UnitTest.
       
  5088 		@return			CWspHeaderReader_ViaText_UnitTest* The constructed object.
       
  5089 		@pre 			None.
       
  5090 		@post			CWspHeaderReader_ViaText_UnitTest is fully constructed, and initialized.
       
  5091 	 */
       
  5092 	static CWspHeaderReader_ViaText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5093 											MUnitTestObserver& aObserver);
       
  5094 
       
  5095 	/**
       
  5096 		@fn				RunError(TInt aError)
       
  5097 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5098 						to restore the CWspHeaderReader_ViaText_UnitTest
       
  5099 						object to a sensible state.
       
  5100 						(called by the Active Scheduler immediately before the Panic).
       
  5101 		Error Condition	: @see CUnitTest::RunError().
       
  5102 		@since			7.0
       
  5103 		@return			KErrNone if cleanup successful, otherwise
       
  5104 						@see CUnitTest::RunError()
       
  5105 		@pre 			CWspHeaderReader_ViaText_UnitTest is fully constructed, and initialized.
       
  5106 		@post			The object has been restored to a sensible state.
       
  5107 	 */
       
  5108 	inline TInt RunError(TInt aError);
       
  5109 
       
  5110 	/**
       
  5111 		@fn				~CWspHeaderReader_ViaText_UnitTest()
       
  5112 		Intended Usage	: Standard Destructor.
       
  5113 		Error Condition	: None.	
       
  5114 		@since			7.0
       
  5115 		@pre 			CWspHeaderReader_ViaText_UnitTest is fully constructed.
       
  5116 		@post			CWspHeaderReader_ViaText_UnitTest is fully destroyed.
       
  5117 	*/
       
  5118 	~CWspHeaderReader_ViaText_UnitTest();
       
  5119 
       
  5120 private:
       
  5121 	/**
       
  5122 		@fn				CWspHeaderReader_ViaText_UnitTest(CDataLogger& aDataLogger,
       
  5123 														MUnitTestObserver& aObserver)
       
  5124 		Intended Usage	: Default constructor.
       
  5125 		Error Condition	: None. 
       
  5126 		@since			7.0
       
  5127 		@param			aDataLogger The output logging object.
       
  5128 		@param			aObserver The observer of this UnitTest.
       
  5129 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5130 		@pre 			None.
       
  5131 		@post			CWspHeaderReader_ViaText_UnitTest is fully constructed.
       
  5132 	*/
       
  5133 	inline CWspHeaderReader_ViaText_UnitTest(CDataLogger& aDataLogger,
       
  5134 											MUnitTestObserver& aObserver);
       
  5135 
       
  5136 	/**
       
  5137 		@fn				void ConstructL()
       
  5138 		Intended Usage	: Second phase of safe two phase construction, 
       
  5139 		to complete the object initialisation.
       
  5140 		Error Condition	: Leaves with an error code.
       
  5141 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5142 		@since			7.0
       
  5143 		@return			None 
       
  5144 		@pre 			CWspHeaderReader_ViaText_UnitTest is fully constructed.
       
  5145 		@post			CWspHeaderReader_ViaText_UnitTest is fully initialized.
       
  5146 	*/
       
  5147 	void ConstructL();
       
  5148 
       
  5149 	/**
       
  5150 	The context of the Unit Test.
       
  5151 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5152 	 */
       
  5153 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5154 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5155 	/* C'tor, d'tor, and method transition validators */
       
  5156 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5157 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iViaTextValidator;
       
  5158 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5159 	};	// CWspHeaderReader_ViaText_UnitTest
       
  5160 
       
  5161 // ______________________________________________________________________________
       
  5162 //
       
  5163 /**
       
  5164 	@internal
       
  5165 	@class CWspHeaderReader_ViaNullText_UnitTest
       
  5166 	@Depends CWspHeaderReader & CUnitTest 
       
  5167 
       
  5168 	Comments : Unit Test for ViaNullText on CWspHeaderReader, the class under test.
       
  5169  */
       
  5170 class CWspHeaderReader_ViaNullText_UnitTest : public CUnitTest
       
  5171 	{
       
  5172 public:
       
  5173 	/**
       
  5174 		@fn				NewL(CDataLogger& aDataLogger,
       
  5175 							MUnitTestObserver& aObserver)
       
  5176 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5177 						cleanup stack.
       
  5178 		Error Condition	: Leaves with the error code.
       
  5179 		@exceptions		KErrNoMemory
       
  5180 		@since			7.0
       
  5181 		@param			aDataLogger The output logging object.
       
  5182 		@param			aObserver The observer of this UnitTest.
       
  5183 		@return			CWspHeaderReader_ViaNullText_UnitTest* The constructed object.
       
  5184 		@pre 			None.
       
  5185 		@post			CWspHeaderReader_ViaNullText_UnitTest is fully constructed, and initialized.
       
  5186 	 */
       
  5187 	static CWspHeaderReader_ViaNullText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5188 											MUnitTestObserver& aObserver);
       
  5189 
       
  5190 	/**
       
  5191 		@fn				RunError(TInt aError)
       
  5192 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5193 						to restore the CWspHeaderReader_ViaNullText_UnitTest
       
  5194 						object to a sensible state.
       
  5195 						(called by the Active Scheduler immediately before the Panic).
       
  5196 		Error Condition	: @see CUnitTest::RunError().
       
  5197 		@since			7.0
       
  5198 		@return			KErrNone if cleanup successful, otherwise
       
  5199 						@see CUnitTest::RunError()
       
  5200 		@pre 			CWspHeaderReader_ViaNullText_UnitTest is fully constructed, and initialized.
       
  5201 		@post			The object has been restored to a sensible state.
       
  5202 	 */
       
  5203 	inline TInt RunError(TInt aError);
       
  5204 
       
  5205 	/**
       
  5206 		@fn				~CWspHeaderReader_ViaNullText_UnitTest()
       
  5207 		Intended Usage	: Standard Destructor.
       
  5208 		Error Condition	: None.	
       
  5209 		@since			7.0
       
  5210 		@pre 			CWspHeaderReader_ViaNullText_UnitTest is fully constructed.
       
  5211 		@post			CWspHeaderReader_ViaNullText_UnitTest is fully destroyed.
       
  5212 	*/
       
  5213 	~CWspHeaderReader_ViaNullText_UnitTest();
       
  5214 
       
  5215 private:
       
  5216 	/**
       
  5217 		@fn				CWspHeaderReader_ViaNullText_UnitTest(CDataLogger& aDataLogger,
       
  5218 														MUnitTestObserver& aObserver)
       
  5219 		Intended Usage	: Default constructor.
       
  5220 		Error Condition	: None. 
       
  5221 		@since			7.0
       
  5222 		@param			aDataLogger The output logging object.
       
  5223 		@param			aObserver The observer of this UnitTest.
       
  5224 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5225 		@pre 			None.
       
  5226 		@post			CWspHeaderReader_ViaNullText_UnitTest is fully constructed.
       
  5227 	*/
       
  5228 	inline CWspHeaderReader_ViaNullText_UnitTest(CDataLogger& aDataLogger,
       
  5229 											MUnitTestObserver& aObserver);
       
  5230 
       
  5231 	/**
       
  5232 		@fn				void ConstructL()
       
  5233 		Intended Usage	: Second phase of safe two phase construction, 
       
  5234 		to complete the object initialisation.
       
  5235 		Error Condition	: Leaves with an error code.
       
  5236 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5237 		@since			7.0
       
  5238 		@return			None 
       
  5239 		@pre 			CWspHeaderReader_ViaNullText_UnitTest is fully constructed.
       
  5240 		@post			CWspHeaderReader_ViaNullText_UnitTest is fully initialized.
       
  5241 	*/
       
  5242 	void ConstructL();
       
  5243 
       
  5244 	/**
       
  5245 	The context of the Unit Test.
       
  5246 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5247 	 */
       
  5248 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5249 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5250 	/* C'tor, d'tor, and method transition validators */
       
  5251 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5252 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iViaNullTextValidator;
       
  5253 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5254 	};	// CWspHeaderReader_ViaNullText_UnitTest
       
  5255 
       
  5256 // ______________________________________________________________________________
       
  5257 //
       
  5258 /**
       
  5259 	@internal
       
  5260 	@class CWspHeaderReader_ViaTextWithoutTerminator_UnitTest
       
  5261 	@Depends CWspHeaderReader & CUnitTest 
       
  5262 
       
  5263 	Comments : Unit Test for ViaTextWithoutTerminator on CWspHeaderReader, the class under test.
       
  5264  */
       
  5265 class CWspHeaderReader_ViaTextWithoutTerminator_UnitTest : public CUnitTest
       
  5266 	{
       
  5267 public:
       
  5268 	/**
       
  5269 		@fn				NewL(CDataLogger& aDataLogger,
       
  5270 							MUnitTestObserver& aObserver)
       
  5271 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5272 						cleanup stack.
       
  5273 		Error Condition	: Leaves with the error code.
       
  5274 		@exceptions		KErrNoMemory
       
  5275 		@since			7.0
       
  5276 		@param			aDataLogger The output logging object.
       
  5277 		@param			aObserver The observer of this UnitTest.
       
  5278 		@return			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest* The constructed object.
       
  5279 		@pre 			None.
       
  5280 		@post			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully constructed, and initialized.
       
  5281 	 */
       
  5282 	static CWspHeaderReader_ViaTextWithoutTerminator_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5283 											MUnitTestObserver& aObserver);
       
  5284 
       
  5285 	/**
       
  5286 		@fn				RunError(TInt aError)
       
  5287 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5288 						to restore the CWspHeaderReader_ViaTextWithoutTerminator_UnitTest
       
  5289 						object to a sensible state.
       
  5290 						(called by the Active Scheduler immediately before the Panic).
       
  5291 		Error Condition	: @see CUnitTest::RunError().
       
  5292 		@since			7.0
       
  5293 		@return			KErrNone if cleanup successful, otherwise
       
  5294 						@see CUnitTest::RunError()
       
  5295 		@pre 			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully constructed, and initialized.
       
  5296 		@post			The object has been restored to a sensible state.
       
  5297 	 */
       
  5298 	inline TInt RunError(TInt aError);
       
  5299 
       
  5300 	/**
       
  5301 		@fn				~CWspHeaderReader_ViaTextWithoutTerminator_UnitTest()
       
  5302 		Intended Usage	: Standard Destructor.
       
  5303 		Error Condition	: None.	
       
  5304 		@since			7.0
       
  5305 		@pre 			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully constructed.
       
  5306 		@post			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully destroyed.
       
  5307 	*/
       
  5308 	~CWspHeaderReader_ViaTextWithoutTerminator_UnitTest();
       
  5309 
       
  5310 private:
       
  5311 	/**
       
  5312 		@fn				CWspHeaderReader_ViaTextWithoutTerminator_UnitTest(CDataLogger& aDataLogger,
       
  5313 														MUnitTestObserver& aObserver)
       
  5314 		Intended Usage	: Default constructor.
       
  5315 		Error Condition	: None. 
       
  5316 		@since			7.0
       
  5317 		@param			aDataLogger The output logging object.
       
  5318 		@param			aObserver The observer of this UnitTest.
       
  5319 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5320 		@pre 			None.
       
  5321 		@post			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully constructed.
       
  5322 	*/
       
  5323 	inline CWspHeaderReader_ViaTextWithoutTerminator_UnitTest(CDataLogger& aDataLogger,
       
  5324 											MUnitTestObserver& aObserver);
       
  5325 
       
  5326 	/**
       
  5327 		@fn				void ConstructL()
       
  5328 		Intended Usage	: Second phase of safe two phase construction, 
       
  5329 		to complete the object initialisation.
       
  5330 		Error Condition	: Leaves with an error code.
       
  5331 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5332 		@since			7.0
       
  5333 		@return			None 
       
  5334 		@pre 			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully constructed.
       
  5335 		@post			CWspHeaderReader_ViaTextWithoutTerminator_UnitTest is fully initialized.
       
  5336 	*/
       
  5337 	void ConstructL();
       
  5338 
       
  5339 	/**
       
  5340 	The context of the Unit Test.
       
  5341 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5342 	 */
       
  5343 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5344 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5345 	/* C'tor, d'tor, and method transition validators */
       
  5346 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5347 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iViaTextWithoutTerminatorValidator;
       
  5348 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5349 	};	// CWspHeaderReader_ViaTextWithoutTerminator_UnitTest
       
  5350 
       
  5351 // ______________________________________________________________________________
       
  5352 //
       
  5353 /**
       
  5354 	@internal
       
  5355 	@class CWspHeaderReader_TrailerShortInt_UnitTest
       
  5356 	@Depends CWspHeaderReader & CUnitTest 
       
  5357 
       
  5358 	Comments : Unit Test for TrailerShortInt on CWspHeaderReader, the class under test.
       
  5359  */
       
  5360 class CWspHeaderReader_TrailerShortInt_UnitTest : public CUnitTest
       
  5361 	{
       
  5362 public:
       
  5363 	/**
       
  5364 		@fn				NewL(CDataLogger& aDataLogger,
       
  5365 							MUnitTestObserver& aObserver)
       
  5366 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5367 						cleanup stack.
       
  5368 		Error Condition	: Leaves with the error code.
       
  5369 		@exceptions		KErrNoMemory
       
  5370 		@since			7.0
       
  5371 		@param			aDataLogger The output logging object.
       
  5372 		@param			aObserver The observer of this UnitTest.
       
  5373 		@return			CWspHeaderReader_TrailerShortInt_UnitTest* The constructed object.
       
  5374 		@pre 			None.
       
  5375 		@post			CWspHeaderReader_TrailerShortInt_UnitTest is fully constructed, and initialized.
       
  5376 	 */
       
  5377 	static CWspHeaderReader_TrailerShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5378 											MUnitTestObserver& aObserver);
       
  5379 
       
  5380 	/**
       
  5381 		@fn				RunError(TInt aError)
       
  5382 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5383 						to restore the CWspHeaderReader_TrailerShortInt_UnitTest
       
  5384 						object to a sensible state.
       
  5385 						(called by the Active Scheduler immediately before the Panic).
       
  5386 		Error Condition	: @see CUnitTest::RunError().
       
  5387 		@since			7.0
       
  5388 		@return			KErrNone if cleanup successful, otherwise
       
  5389 						@see CUnitTest::RunError()
       
  5390 		@pre 			CWspHeaderReader_TrailerShortInt_UnitTest is fully constructed, and initialized.
       
  5391 		@post			The object has been restored to a sensible state.
       
  5392 	 */
       
  5393 	inline TInt RunError(TInt aError);
       
  5394 
       
  5395 	/**
       
  5396 		@fn				~CWspHeaderReader_TrailerShortInt_UnitTest()
       
  5397 		Intended Usage	: Standard Destructor.
       
  5398 		Error Condition	: None.	
       
  5399 		@since			7.0
       
  5400 		@pre 			CWspHeaderReader_TrailerShortInt_UnitTest is fully constructed.
       
  5401 		@post			CWspHeaderReader_TrailerShortInt_UnitTest is fully destroyed.
       
  5402 	*/
       
  5403 	~CWspHeaderReader_TrailerShortInt_UnitTest();
       
  5404 
       
  5405 private:
       
  5406 	/**
       
  5407 		@fn				CWspHeaderReader_TrailerShortInt_UnitTest(CDataLogger& aDataLogger,
       
  5408 														MUnitTestObserver& aObserver)
       
  5409 		Intended Usage	: Default constructor.
       
  5410 		Error Condition	: None. 
       
  5411 		@since			7.0
       
  5412 		@param			aDataLogger The output logging object.
       
  5413 		@param			aObserver The observer of this UnitTest.
       
  5414 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5415 		@pre 			None.
       
  5416 		@post			CWspHeaderReader_TrailerShortInt_UnitTest is fully constructed.
       
  5417 	*/
       
  5418 	inline CWspHeaderReader_TrailerShortInt_UnitTest(CDataLogger& aDataLogger,
       
  5419 											MUnitTestObserver& aObserver);
       
  5420 
       
  5421 	/**
       
  5422 		@fn				void ConstructL()
       
  5423 		Intended Usage	: Second phase of safe two phase construction, 
       
  5424 		to complete the object initialisation.
       
  5425 		Error Condition	: Leaves with an error code.
       
  5426 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5427 		@since			7.0
       
  5428 		@return			None 
       
  5429 		@pre 			CWspHeaderReader_TrailerShortInt_UnitTest is fully constructed.
       
  5430 		@post			CWspHeaderReader_TrailerShortInt_UnitTest is fully initialized.
       
  5431 	*/
       
  5432 	void ConstructL();
       
  5433 
       
  5434 	/**
       
  5435 	The context of the Unit Test.
       
  5436 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5437 	 */
       
  5438 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5439 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5440 	/* C'tor, d'tor, and method transition validators */
       
  5441 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5442 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iTrailerShortIntValidator;
       
  5443 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5444 	};	// CWspHeaderReader_TrailerShortInt_UnitTest
       
  5445 
       
  5446 // ______________________________________________________________________________
       
  5447 //
       
  5448 /**
       
  5449 	@internal
       
  5450 	@class CWspHeaderReader_TrailerNotExistToken_UnitTest
       
  5451 	@Depends CWspHeaderReader & CUnitTest 
       
  5452 
       
  5453 	Comments : Unit Test for TrailerNotExistToken on CWspHeaderReader, the class under test.
       
  5454  */
       
  5455 class CWspHeaderReader_TrailerNotExistToken_UnitTest : public CUnitTest
       
  5456 	{
       
  5457 public:
       
  5458 	/**
       
  5459 		@fn				NewL(CDataLogger& aDataLogger,
       
  5460 							MUnitTestObserver& aObserver)
       
  5461 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5462 						cleanup stack.
       
  5463 		Error Condition	: Leaves with the error code.
       
  5464 		@exceptions		KErrNoMemory
       
  5465 		@since			7.0
       
  5466 		@param			aDataLogger The output logging object.
       
  5467 		@param			aObserver The observer of this UnitTest.
       
  5468 		@return			CWspHeaderReader_TrailerNotExistToken_UnitTest* The constructed object.
       
  5469 		@pre 			None.
       
  5470 		@post			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully constructed, and initialized.
       
  5471 	 */
       
  5472 	static CWspHeaderReader_TrailerNotExistToken_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5473 											MUnitTestObserver& aObserver);
       
  5474 
       
  5475 	/**
       
  5476 		@fn				RunError(TInt aError)
       
  5477 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5478 						to restore the CWspHeaderReader_TrailerNotExistToken_UnitTest
       
  5479 						object to a sensible state.
       
  5480 						(called by the Active Scheduler immediately before the Panic).
       
  5481 		Error Condition	: @see CUnitTest::RunError().
       
  5482 		@since			7.0
       
  5483 		@return			KErrNone if cleanup successful, otherwise
       
  5484 						@see CUnitTest::RunError()
       
  5485 		@pre 			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully constructed, and initialized.
       
  5486 		@post			The object has been restored to a sensible state.
       
  5487 	 */
       
  5488 	inline TInt RunError(TInt aError);
       
  5489 
       
  5490 	/**
       
  5491 		@fn				~CWspHeaderReader_TrailerNotExistToken_UnitTest()
       
  5492 		Intended Usage	: Standard Destructor.
       
  5493 		Error Condition	: None.	
       
  5494 		@since			7.0
       
  5495 		@pre 			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully constructed.
       
  5496 		@post			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully destroyed.
       
  5497 	*/
       
  5498 	~CWspHeaderReader_TrailerNotExistToken_UnitTest();
       
  5499 
       
  5500 private:
       
  5501 	/**
       
  5502 		@fn				CWspHeaderReader_TrailerNotExistToken_UnitTest(CDataLogger& aDataLogger,
       
  5503 														MUnitTestObserver& aObserver)
       
  5504 		Intended Usage	: Default constructor.
       
  5505 		Error Condition	: None. 
       
  5506 		@since			7.0
       
  5507 		@param			aDataLogger The output logging object.
       
  5508 		@param			aObserver The observer of this UnitTest.
       
  5509 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5510 		@pre 			None.
       
  5511 		@post			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully constructed.
       
  5512 	*/
       
  5513 	inline CWspHeaderReader_TrailerNotExistToken_UnitTest(CDataLogger& aDataLogger,
       
  5514 											MUnitTestObserver& aObserver);
       
  5515 
       
  5516 	/**
       
  5517 		@fn				void ConstructL()
       
  5518 		Intended Usage	: Second phase of safe two phase construction, 
       
  5519 		to complete the object initialisation.
       
  5520 		Error Condition	: Leaves with an error code.
       
  5521 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5522 		@since			7.0
       
  5523 		@return			None 
       
  5524 		@pre 			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully constructed.
       
  5525 		@post			CWspHeaderReader_TrailerNotExistToken_UnitTest is fully initialized.
       
  5526 	*/
       
  5527 	void ConstructL();
       
  5528 
       
  5529 	/**
       
  5530 	The context of the Unit Test.
       
  5531 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5532 	 */
       
  5533 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5534 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5535 	/* C'tor, d'tor, and method transition validators */
       
  5536 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5537 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iTrailerNotExistTokenValidator;
       
  5538 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5539 	};	// CWspHeaderReader_TrailerNotExistToken_UnitTest
       
  5540 
       
  5541 // ______________________________________________________________________________
       
  5542 //
       
  5543 /**
       
  5544 	@internal
       
  5545 	@class CWspHeaderReader_TrailerTokenText_UnitTest
       
  5546 	@Depends CWspHeaderReader & CUnitTest 
       
  5547 
       
  5548 	Comments : Unit Test for TrailerTokenText on CWspHeaderReader, the class under test.
       
  5549  */
       
  5550 class CWspHeaderReader_TrailerTokenText_UnitTest : public CUnitTest
       
  5551 	{
       
  5552 public:
       
  5553 	/**
       
  5554 		@fn				NewL(CDataLogger& aDataLogger,
       
  5555 							MUnitTestObserver& aObserver)
       
  5556 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5557 						cleanup stack.
       
  5558 		Error Condition	: Leaves with the error code.
       
  5559 		@exceptions		KErrNoMemory
       
  5560 		@since			7.0
       
  5561 		@param			aDataLogger The output logging object.
       
  5562 		@param			aObserver The observer of this UnitTest.
       
  5563 		@return			CWspHeaderReader_TrailerTokenText_UnitTest* The constructed object.
       
  5564 		@pre 			None.
       
  5565 		@post			CWspHeaderReader_TrailerTokenText_UnitTest is fully constructed, and initialized.
       
  5566 	 */
       
  5567 	static CWspHeaderReader_TrailerTokenText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5568 											MUnitTestObserver& aObserver);
       
  5569 
       
  5570 	/**
       
  5571 		@fn				RunError(TInt aError)
       
  5572 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5573 						to restore the CWspHeaderReader_TrailerTokenText_UnitTest
       
  5574 						object to a sensible state.
       
  5575 						(called by the Active Scheduler immediately before the Panic).
       
  5576 		Error Condition	: @see CUnitTest::RunError().
       
  5577 		@since			7.0
       
  5578 		@return			KErrNone if cleanup successful, otherwise
       
  5579 						@see CUnitTest::RunError()
       
  5580 		@pre 			CWspHeaderReader_TrailerTokenText_UnitTest is fully constructed, and initialized.
       
  5581 		@post			The object has been restored to a sensible state.
       
  5582 	 */
       
  5583 	inline TInt RunError(TInt aError);
       
  5584 
       
  5585 	/**
       
  5586 		@fn				~CWspHeaderReader_TrailerTokenText_UnitTest()
       
  5587 		Intended Usage	: Standard Destructor.
       
  5588 		Error Condition	: None.	
       
  5589 		@since			7.0
       
  5590 		@pre 			CWspHeaderReader_TrailerTokenText_UnitTest is fully constructed.
       
  5591 		@post			CWspHeaderReader_TrailerTokenText_UnitTest is fully destroyed.
       
  5592 	*/
       
  5593 	~CWspHeaderReader_TrailerTokenText_UnitTest();
       
  5594 
       
  5595 private:
       
  5596 	/**
       
  5597 		@fn				CWspHeaderReader_TrailerTokenText_UnitTest(CDataLogger& aDataLogger,
       
  5598 														MUnitTestObserver& aObserver)
       
  5599 		Intended Usage	: Default constructor.
       
  5600 		Error Condition	: None. 
       
  5601 		@since			7.0
       
  5602 		@param			aDataLogger The output logging object.
       
  5603 		@param			aObserver The observer of this UnitTest.
       
  5604 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5605 		@pre 			None.
       
  5606 		@post			CWspHeaderReader_TrailerTokenText_UnitTest is fully constructed.
       
  5607 	*/
       
  5608 	inline CWspHeaderReader_TrailerTokenText_UnitTest(CDataLogger& aDataLogger,
       
  5609 											MUnitTestObserver& aObserver);
       
  5610 
       
  5611 	/**
       
  5612 		@fn				void ConstructL()
       
  5613 		Intended Usage	: Second phase of safe two phase construction, 
       
  5614 		to complete the object initialisation.
       
  5615 		Error Condition	: Leaves with an error code.
       
  5616 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5617 		@since			7.0
       
  5618 		@return			None 
       
  5619 		@pre 			CWspHeaderReader_TrailerTokenText_UnitTest is fully constructed.
       
  5620 		@post			CWspHeaderReader_TrailerTokenText_UnitTest is fully initialized.
       
  5621 	*/
       
  5622 	void ConstructL();
       
  5623 
       
  5624 	/**
       
  5625 	The context of the Unit Test.
       
  5626 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5627 	 */
       
  5628 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5629 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5630 	/* C'tor, d'tor, and method transition validators */
       
  5631 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5632 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iTrailerTokenTextValidator;
       
  5633 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5634 	};	// CWspHeaderReader_TrailerTokenText_UnitTest
       
  5635 
       
  5636 // ______________________________________________________________________________
       
  5637 //
       
  5638 /**
       
  5639 	@internal
       
  5640 	@class CWspHeaderReader_ContentRangeUnknownLength_UnitTest
       
  5641 	@Depends CWspHeaderReader & CUnitTest 
       
  5642 
       
  5643 	Comments : Unit Test for ContentRangeUnknownLength on CWspHeaderReader, the class under test.
       
  5644  */
       
  5645 class CWspHeaderReader_ContentRangeUnknownLength_UnitTest : public CUnitTest
       
  5646 	{
       
  5647 public:
       
  5648 	/**
       
  5649 		@fn				NewL(CDataLogger& aDataLogger,
       
  5650 							MUnitTestObserver& aObserver)
       
  5651 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5652 						cleanup stack.
       
  5653 		Error Condition	: Leaves with the error code.
       
  5654 		@exceptions		KErrNoMemory
       
  5655 		@since			7.0
       
  5656 		@param			aDataLogger The output logging object.
       
  5657 		@param			aObserver The observer of this UnitTest.
       
  5658 		@return			CWspHeaderReader_ContentRangeUnknownLength_UnitTest* The constructed object.
       
  5659 		@pre 			None.
       
  5660 		@post			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully constructed, and initialized.
       
  5661 	 */
       
  5662 	static CWspHeaderReader_ContentRangeUnknownLength_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5663 											MUnitTestObserver& aObserver);
       
  5664 
       
  5665 	/**
       
  5666 		@fn				RunError(TInt aError)
       
  5667 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5668 						to restore the CWspHeaderReader_ContentRangeUnknownLength_UnitTest
       
  5669 						object to a sensible state.
       
  5670 						(called by the Active Scheduler immediately before the Panic).
       
  5671 		Error Condition	: @see CUnitTest::RunError().
       
  5672 		@since			7.0
       
  5673 		@return			KErrNone if cleanup successful, otherwise
       
  5674 						@see CUnitTest::RunError()
       
  5675 		@pre 			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully constructed, and initialized.
       
  5676 		@post			The object has been restored to a sensible state.
       
  5677 	 */
       
  5678 	inline TInt RunError(TInt aError);
       
  5679 
       
  5680 	/**
       
  5681 		@fn				~CWspHeaderReader_ContentRangeUnknownLength_UnitTest()
       
  5682 		Intended Usage	: Standard Destructor.
       
  5683 		Error Condition	: None.	
       
  5684 		@since			7.0
       
  5685 		@pre 			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully constructed.
       
  5686 		@post			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully destroyed.
       
  5687 	*/
       
  5688 	~CWspHeaderReader_ContentRangeUnknownLength_UnitTest();
       
  5689 
       
  5690 private:
       
  5691 	/**
       
  5692 		@fn				CWspHeaderReader_ContentRangeUnknownLength_UnitTest(CDataLogger& aDataLogger,
       
  5693 														MUnitTestObserver& aObserver)
       
  5694 		Intended Usage	: Default constructor.
       
  5695 		Error Condition	: None. 
       
  5696 		@since			7.0
       
  5697 		@param			aDataLogger The output logging object.
       
  5698 		@param			aObserver The observer of this UnitTest.
       
  5699 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5700 		@pre 			None.
       
  5701 		@post			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully constructed.
       
  5702 	*/
       
  5703 	inline CWspHeaderReader_ContentRangeUnknownLength_UnitTest(CDataLogger& aDataLogger,
       
  5704 											MUnitTestObserver& aObserver);
       
  5705 
       
  5706 	/**
       
  5707 		@fn				void ConstructL()
       
  5708 		Intended Usage	: Second phase of safe two phase construction, 
       
  5709 		to complete the object initialisation.
       
  5710 		Error Condition	: Leaves with an error code.
       
  5711 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5712 		@since			7.0
       
  5713 		@return			None 
       
  5714 		@pre 			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully constructed.
       
  5715 		@post			CWspHeaderReader_ContentRangeUnknownLength_UnitTest is fully initialized.
       
  5716 	*/
       
  5717 	void ConstructL();
       
  5718 
       
  5719 	/**
       
  5720 	The context of the Unit Test.
       
  5721 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5722 	 */
       
  5723 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5724 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5725 	/* C'tor, d'tor, and method transition validators */
       
  5726 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5727 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentRangeUnknownLengthValidator;
       
  5728 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5729 	};	// CWspHeaderReader_ContentRangeUnknownLength_UnitTest
       
  5730 
       
  5731 // ______________________________________________________________________________
       
  5732 //
       
  5733 /**
       
  5734 	@internal
       
  5735 	@class CWspHeaderReader_ContentRangeKnownLength_UnitTest
       
  5736 	@Depends CWspHeaderReader & CUnitTest 
       
  5737 
       
  5738 	Comments : Unit Test for ContentRangeKnownLength on CWspHeaderReader, the class under test.
       
  5739  */
       
  5740 class CWspHeaderReader_ContentRangeKnownLength_UnitTest : public CUnitTest
       
  5741 	{
       
  5742 public:
       
  5743 	/**
       
  5744 		@fn				NewL(CDataLogger& aDataLogger,
       
  5745 							MUnitTestObserver& aObserver)
       
  5746 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5747 						cleanup stack.
       
  5748 		Error Condition	: Leaves with the error code.
       
  5749 		@exceptions		KErrNoMemory
       
  5750 		@since			7.0
       
  5751 		@param			aDataLogger The output logging object.
       
  5752 		@param			aObserver The observer of this UnitTest.
       
  5753 		@return			CWspHeaderReader_ContentRangeKnownLength_UnitTest* The constructed object.
       
  5754 		@pre 			None.
       
  5755 		@post			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully constructed, and initialized.
       
  5756 	 */
       
  5757 	static CWspHeaderReader_ContentRangeKnownLength_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5758 											MUnitTestObserver& aObserver);
       
  5759 
       
  5760 	/**
       
  5761 		@fn				RunError(TInt aError)
       
  5762 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5763 						to restore the CWspHeaderReader_ContentRangeKnownLength_UnitTest
       
  5764 						object to a sensible state.
       
  5765 						(called by the Active Scheduler immediately before the Panic).
       
  5766 		Error Condition	: @see CUnitTest::RunError().
       
  5767 		@since			7.0
       
  5768 		@return			KErrNone if cleanup successful, otherwise
       
  5769 						@see CUnitTest::RunError()
       
  5770 		@pre 			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully constructed, and initialized.
       
  5771 		@post			The object has been restored to a sensible state.
       
  5772 	 */
       
  5773 	inline TInt RunError(TInt aError);
       
  5774 
       
  5775 	/**
       
  5776 		@fn				~CWspHeaderReader_ContentRangeKnownLength_UnitTest()
       
  5777 		Intended Usage	: Standard Destructor.
       
  5778 		Error Condition	: None.	
       
  5779 		@since			7.0
       
  5780 		@pre 			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully constructed.
       
  5781 		@post			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully destroyed.
       
  5782 	*/
       
  5783 	~CWspHeaderReader_ContentRangeKnownLength_UnitTest();
       
  5784 
       
  5785 private:
       
  5786 	/**
       
  5787 		@fn				CWspHeaderReader_ContentRangeKnownLength_UnitTest(CDataLogger& aDataLogger,
       
  5788 														MUnitTestObserver& aObserver)
       
  5789 		Intended Usage	: Default constructor.
       
  5790 		Error Condition	: None. 
       
  5791 		@since			7.0
       
  5792 		@param			aDataLogger The output logging object.
       
  5793 		@param			aObserver The observer of this UnitTest.
       
  5794 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5795 		@pre 			None.
       
  5796 		@post			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully constructed.
       
  5797 	*/
       
  5798 	inline CWspHeaderReader_ContentRangeKnownLength_UnitTest(CDataLogger& aDataLogger,
       
  5799 											MUnitTestObserver& aObserver);
       
  5800 
       
  5801 	/**
       
  5802 		@fn				void ConstructL()
       
  5803 		Intended Usage	: Second phase of safe two phase construction, 
       
  5804 		to complete the object initialisation.
       
  5805 		Error Condition	: Leaves with an error code.
       
  5806 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5807 		@since			7.0
       
  5808 		@return			None 
       
  5809 		@pre 			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully constructed.
       
  5810 		@post			CWspHeaderReader_ContentRangeKnownLength_UnitTest is fully initialized.
       
  5811 	*/
       
  5812 	void ConstructL();
       
  5813 
       
  5814 	/**
       
  5815 	The context of the Unit Test.
       
  5816 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5817 	 */
       
  5818 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5819 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5820 	/* C'tor, d'tor, and method transition validators */
       
  5821 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5822 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentRangeKnownLengthValidator;
       
  5823 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5824 	};	// CWspHeaderReader_ContentRangeKnownLength_UnitTest
       
  5825 
       
  5826 // ______________________________________________________________________________
       
  5827 //
       
  5828 /**
       
  5829 	@internal
       
  5830 	@class CWspHeaderReader_ContentRangeV1_2_UnitTest
       
  5831 	@Depends CWspHeaderReader & CUnitTest 
       
  5832 
       
  5833 	Comments : Unit Test for ContentRangeV1_2 on CWspHeaderReader, the class under test.
       
  5834  */
       
  5835 class CWspHeaderReader_ContentRangeV1_2_UnitTest : public CUnitTest
       
  5836 	{
       
  5837 public:
       
  5838 	/**
       
  5839 		@fn				NewL(CDataLogger& aDataLogger,
       
  5840 							MUnitTestObserver& aObserver)
       
  5841 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5842 						cleanup stack.
       
  5843 		Error Condition	: Leaves with the error code.
       
  5844 		@exceptions		KErrNoMemory
       
  5845 		@since			7.0
       
  5846 		@param			aDataLogger The output logging object.
       
  5847 		@param			aObserver The observer of this UnitTest.
       
  5848 		@return			CWspHeaderReader_ContentRangeV1_2_UnitTest* The constructed object.
       
  5849 		@pre 			None.
       
  5850 		@post			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully constructed, and initialized.
       
  5851 	 */
       
  5852 	static CWspHeaderReader_ContentRangeV1_2_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5853 											MUnitTestObserver& aObserver);
       
  5854 
       
  5855 	/**
       
  5856 		@fn				RunError(TInt aError)
       
  5857 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5858 						to restore the CWspHeaderReader_ContentRangeV1_2_UnitTest
       
  5859 						object to a sensible state.
       
  5860 						(called by the Active Scheduler immediately before the Panic).
       
  5861 		Error Condition	: @see CUnitTest::RunError().
       
  5862 		@since			7.0
       
  5863 		@return			KErrNone if cleanup successful, otherwise
       
  5864 						@see CUnitTest::RunError()
       
  5865 		@pre 			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully constructed, and initialized.
       
  5866 		@post			The object has been restored to a sensible state.
       
  5867 	 */
       
  5868 	inline TInt RunError(TInt aError);
       
  5869 
       
  5870 	/**
       
  5871 		@fn				~CWspHeaderReader_ContentRangeV1_2_UnitTest()
       
  5872 		Intended Usage	: Standard Destructor.
       
  5873 		Error Condition	: None.	
       
  5874 		@since			7.0
       
  5875 		@pre 			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully constructed.
       
  5876 		@post			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully destroyed.
       
  5877 	*/
       
  5878 	~CWspHeaderReader_ContentRangeV1_2_UnitTest();
       
  5879 
       
  5880 private:
       
  5881 	/**
       
  5882 		@fn				CWspHeaderReader_ContentRangeV1_2_UnitTest(CDataLogger& aDataLogger,
       
  5883 														MUnitTestObserver& aObserver)
       
  5884 		Intended Usage	: Default constructor.
       
  5885 		Error Condition	: None. 
       
  5886 		@since			7.0
       
  5887 		@param			aDataLogger The output logging object.
       
  5888 		@param			aObserver The observer of this UnitTest.
       
  5889 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5890 		@pre 			None.
       
  5891 		@post			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully constructed.
       
  5892 	*/
       
  5893 	inline CWspHeaderReader_ContentRangeV1_2_UnitTest(CDataLogger& aDataLogger,
       
  5894 											MUnitTestObserver& aObserver);
       
  5895 
       
  5896 	/**
       
  5897 		@fn				void ConstructL()
       
  5898 		Intended Usage	: Second phase of safe two phase construction, 
       
  5899 		to complete the object initialisation.
       
  5900 		Error Condition	: Leaves with an error code.
       
  5901 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5902 		@since			7.0
       
  5903 		@return			None 
       
  5904 		@pre 			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully constructed.
       
  5905 		@post			CWspHeaderReader_ContentRangeV1_2_UnitTest is fully initialized.
       
  5906 	*/
       
  5907 	void ConstructL();
       
  5908 
       
  5909 	/**
       
  5910 	The context of the Unit Test.
       
  5911 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  5912 	 */
       
  5913 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  5914 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  5915 	/* C'tor, d'tor, and method transition validators */
       
  5916 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  5917 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentRangeV1_2Validator;
       
  5918 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  5919 	};	// CWspHeaderReader_ContentRangeV1_2_UnitTest
       
  5920 
       
  5921 // ______________________________________________________________________________
       
  5922 //
       
  5923 /**
       
  5924 	@internal
       
  5925 	@class CWspHeaderReader_XWapAppIdUriValue_UnitTest
       
  5926 	@Depends CWspHeaderReader & CUnitTest 
       
  5927 
       
  5928 	Comments : Unit Test for XWapAppIdUriValue on CWspHeaderReader, the class under test.
       
  5929  */
       
  5930 class CWspHeaderReader_XWapAppIdUriValue_UnitTest : public CUnitTest
       
  5931 	{
       
  5932 public:
       
  5933 	/**
       
  5934 		@fn				NewL(CDataLogger& aDataLogger,
       
  5935 							MUnitTestObserver& aObserver)
       
  5936 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  5937 						cleanup stack.
       
  5938 		Error Condition	: Leaves with the error code.
       
  5939 		@exceptions		KErrNoMemory
       
  5940 		@since			7.0
       
  5941 		@param			aDataLogger The output logging object.
       
  5942 		@param			aObserver The observer of this UnitTest.
       
  5943 		@return			CWspHeaderReader_XWapAppIdUriValue_UnitTest* The constructed object.
       
  5944 		@pre 			None.
       
  5945 		@post			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully constructed, and initialized.
       
  5946 	 */
       
  5947 	static CWspHeaderReader_XWapAppIdUriValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  5948 											MUnitTestObserver& aObserver);
       
  5949 
       
  5950 	/**
       
  5951 		@fn				RunError(TInt aError)
       
  5952 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  5953 						to restore the CWspHeaderReader_XWapAppIdUriValue_UnitTest
       
  5954 						object to a sensible state.
       
  5955 						(called by the Active Scheduler immediately before the Panic).
       
  5956 		Error Condition	: @see CUnitTest::RunError().
       
  5957 		@since			7.0
       
  5958 		@return			KErrNone if cleanup successful, otherwise
       
  5959 						@see CUnitTest::RunError()
       
  5960 		@pre 			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully constructed, and initialized.
       
  5961 		@post			The object has been restored to a sensible state.
       
  5962 	 */
       
  5963 	inline TInt RunError(TInt aError);
       
  5964 
       
  5965 	/**
       
  5966 		@fn				~CWspHeaderReader_XWapAppIdUriValue_UnitTest()
       
  5967 		Intended Usage	: Standard Destructor.
       
  5968 		Error Condition	: None.	
       
  5969 		@since			7.0
       
  5970 		@pre 			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully constructed.
       
  5971 		@post			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully destroyed.
       
  5972 	*/
       
  5973 	~CWspHeaderReader_XWapAppIdUriValue_UnitTest();
       
  5974 
       
  5975 private:
       
  5976 	/**
       
  5977 		@fn				CWspHeaderReader_XWapAppIdUriValue_UnitTest(CDataLogger& aDataLogger,
       
  5978 														MUnitTestObserver& aObserver)
       
  5979 		Intended Usage	: Default constructor.
       
  5980 		Error Condition	: None. 
       
  5981 		@since			7.0
       
  5982 		@param			aDataLogger The output logging object.
       
  5983 		@param			aObserver The observer of this UnitTest.
       
  5984 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  5985 		@pre 			None.
       
  5986 		@post			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully constructed.
       
  5987 	*/
       
  5988 	inline CWspHeaderReader_XWapAppIdUriValue_UnitTest(CDataLogger& aDataLogger,
       
  5989 											MUnitTestObserver& aObserver);
       
  5990 
       
  5991 	/**
       
  5992 		@fn				void ConstructL()
       
  5993 		Intended Usage	: Second phase of safe two phase construction, 
       
  5994 		to complete the object initialisation.
       
  5995 		Error Condition	: Leaves with an error code.
       
  5996 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  5997 		@since			7.0
       
  5998 		@return			None 
       
  5999 		@pre 			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully constructed.
       
  6000 		@post			CWspHeaderReader_XWapAppIdUriValue_UnitTest is fully initialized.
       
  6001 	*/
       
  6002 	void ConstructL();
       
  6003 
       
  6004 	/**
       
  6005 	The context of the Unit Test.
       
  6006 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6007 	 */
       
  6008 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6009 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6010 	/* C'tor, d'tor, and method transition validators */
       
  6011 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6012 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapAppIdUriValueValidator;
       
  6013 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6014 	};	// CWspHeaderReader_XWapAppIdUriValue_UnitTest
       
  6015 
       
  6016 // ______________________________________________________________________________
       
  6017 //
       
  6018 /**
       
  6019 	@internal
       
  6020 	@class CWspHeaderReader_XWapAppIdNullUri_UnitTest
       
  6021 	@Depends CWspHeaderReader & CUnitTest 
       
  6022 
       
  6023 	Comments : Unit Test for XWapAppIdNullUri on CWspHeaderReader, the class under test.
       
  6024  */
       
  6025 class CWspHeaderReader_XWapAppIdNullUri_UnitTest : public CUnitTest
       
  6026 	{
       
  6027 public:
       
  6028 	/**
       
  6029 		@fn				NewL(CDataLogger& aDataLogger,
       
  6030 							MUnitTestObserver& aObserver)
       
  6031 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6032 						cleanup stack.
       
  6033 		Error Condition	: Leaves with the error code.
       
  6034 		@exceptions		KErrNoMemory
       
  6035 		@since			7.0
       
  6036 		@param			aDataLogger The output logging object.
       
  6037 		@param			aObserver The observer of this UnitTest.
       
  6038 		@return			CWspHeaderReader_XWapAppIdNullUri_UnitTest* The constructed object.
       
  6039 		@pre 			None.
       
  6040 		@post			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully constructed, and initialized.
       
  6041 	 */
       
  6042 	static CWspHeaderReader_XWapAppIdNullUri_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6043 											MUnitTestObserver& aObserver);
       
  6044 
       
  6045 	/**
       
  6046 		@fn				RunError(TInt aError)
       
  6047 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6048 						to restore the CWspHeaderReader_XWapAppIdNullUri_UnitTest
       
  6049 						object to a sensible state.
       
  6050 						(called by the Active Scheduler immediately before the Panic).
       
  6051 		Error Condition	: @see CUnitTest::RunError().
       
  6052 		@since			7.0
       
  6053 		@return			KErrNone if cleanup successful, otherwise
       
  6054 						@see CUnitTest::RunError()
       
  6055 		@pre 			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully constructed, and initialized.
       
  6056 		@post			The object has been restored to a sensible state.
       
  6057 	 */
       
  6058 	inline TInt RunError(TInt aError);
       
  6059 
       
  6060 	/**
       
  6061 		@fn				~CWspHeaderReader_XWapAppIdNullUri_UnitTest()
       
  6062 		Intended Usage	: Standard Destructor.
       
  6063 		Error Condition	: None.	
       
  6064 		@since			7.0
       
  6065 		@pre 			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully constructed.
       
  6066 		@post			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully destroyed.
       
  6067 	*/
       
  6068 	~CWspHeaderReader_XWapAppIdNullUri_UnitTest();
       
  6069 
       
  6070 private:
       
  6071 	/**
       
  6072 		@fn				CWspHeaderReader_XWapAppIdNullUri_UnitTest(CDataLogger& aDataLogger,
       
  6073 														MUnitTestObserver& aObserver)
       
  6074 		Intended Usage	: Default constructor.
       
  6075 		Error Condition	: None. 
       
  6076 		@since			7.0
       
  6077 		@param			aDataLogger The output logging object.
       
  6078 		@param			aObserver The observer of this UnitTest.
       
  6079 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6080 		@pre 			None.
       
  6081 		@post			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully constructed.
       
  6082 	*/
       
  6083 	inline CWspHeaderReader_XWapAppIdNullUri_UnitTest(CDataLogger& aDataLogger,
       
  6084 											MUnitTestObserver& aObserver);
       
  6085 
       
  6086 	/**
       
  6087 		@fn				void ConstructL()
       
  6088 		Intended Usage	: Second phase of safe two phase construction, 
       
  6089 		to complete the object initialisation.
       
  6090 		Error Condition	: Leaves with an error code.
       
  6091 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6092 		@since			7.0
       
  6093 		@return			None 
       
  6094 		@pre 			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully constructed.
       
  6095 		@post			CWspHeaderReader_XWapAppIdNullUri_UnitTest is fully initialized.
       
  6096 	*/
       
  6097 	void ConstructL();
       
  6098 
       
  6099 	/**
       
  6100 	The context of the Unit Test.
       
  6101 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6102 	 */
       
  6103 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6104 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6105 	/* C'tor, d'tor, and method transition validators */
       
  6106 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6107 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapAppIdNullUriValidator;
       
  6108 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6109 	};	// CWspHeaderReader_XWapAppIdNullUri_UnitTest
       
  6110 
       
  6111 // ______________________________________________________________________________
       
  6112 //
       
  6113 /**
       
  6114 	@internal
       
  6115 	@class CWspHeaderReader_XWapAppIdShortInt_UnitTest
       
  6116 	@Depends CWspHeaderReader & CUnitTest 
       
  6117 
       
  6118 	Comments : Unit Test for XWapAppIdShortInt on CWspHeaderReader, the class under test.
       
  6119  */
       
  6120 class CWspHeaderReader_XWapAppIdShortInt_UnitTest : public CUnitTest
       
  6121 	{
       
  6122 public:
       
  6123 	/**
       
  6124 		@fn				NewL(CDataLogger& aDataLogger,
       
  6125 							MUnitTestObserver& aObserver)
       
  6126 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6127 						cleanup stack.
       
  6128 		Error Condition	: Leaves with the error code.
       
  6129 		@exceptions		KErrNoMemory
       
  6130 		@since			7.0
       
  6131 		@param			aDataLogger The output logging object.
       
  6132 		@param			aObserver The observer of this UnitTest.
       
  6133 		@return			CWspHeaderReader_XWapAppIdShortInt_UnitTest* The constructed object.
       
  6134 		@pre 			None.
       
  6135 		@post			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully constructed, and initialized.
       
  6136 	 */
       
  6137 	static CWspHeaderReader_XWapAppIdShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6138 											MUnitTestObserver& aObserver);
       
  6139 
       
  6140 	/**
       
  6141 		@fn				RunError(TInt aError)
       
  6142 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6143 						to restore the CWspHeaderReader_XWapAppIdShortInt_UnitTest
       
  6144 						object to a sensible state.
       
  6145 						(called by the Active Scheduler immediately before the Panic).
       
  6146 		Error Condition	: @see CUnitTest::RunError().
       
  6147 		@since			7.0
       
  6148 		@return			KErrNone if cleanup successful, otherwise
       
  6149 						@see CUnitTest::RunError()
       
  6150 		@pre 			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully constructed, and initialized.
       
  6151 		@post			The object has been restored to a sensible state.
       
  6152 	 */
       
  6153 	inline TInt RunError(TInt aError);
       
  6154 
       
  6155 	/**
       
  6156 		@fn				~CWspHeaderReader_XWapAppIdShortInt_UnitTest()
       
  6157 		Intended Usage	: Standard Destructor.
       
  6158 		Error Condition	: None.	
       
  6159 		@since			7.0
       
  6160 		@pre 			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully constructed.
       
  6161 		@post			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully destroyed.
       
  6162 	*/
       
  6163 	~CWspHeaderReader_XWapAppIdShortInt_UnitTest();
       
  6164 
       
  6165 private:
       
  6166 	/**
       
  6167 		@fn				CWspHeaderReader_XWapAppIdShortInt_UnitTest(CDataLogger& aDataLogger,
       
  6168 														MUnitTestObserver& aObserver)
       
  6169 		Intended Usage	: Default constructor.
       
  6170 		Error Condition	: None. 
       
  6171 		@since			7.0
       
  6172 		@param			aDataLogger The output logging object.
       
  6173 		@param			aObserver The observer of this UnitTest.
       
  6174 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6175 		@pre 			None.
       
  6176 		@post			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully constructed.
       
  6177 	*/
       
  6178 	inline CWspHeaderReader_XWapAppIdShortInt_UnitTest(CDataLogger& aDataLogger,
       
  6179 											MUnitTestObserver& aObserver);
       
  6180 
       
  6181 	/**
       
  6182 		@fn				void ConstructL()
       
  6183 		Intended Usage	: Second phase of safe two phase construction, 
       
  6184 		to complete the object initialisation.
       
  6185 		Error Condition	: Leaves with an error code.
       
  6186 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6187 		@since			7.0
       
  6188 		@return			None 
       
  6189 		@pre 			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully constructed.
       
  6190 		@post			CWspHeaderReader_XWapAppIdShortInt_UnitTest is fully initialized.
       
  6191 	*/
       
  6192 	void ConstructL();
       
  6193 
       
  6194 	/**
       
  6195 	The context of the Unit Test.
       
  6196 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6197 	 */
       
  6198 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6199 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6200 	/* C'tor, d'tor, and method transition validators */
       
  6201 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6202 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapAppIdShortIntValidator;
       
  6203 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6204 	};	// CWspHeaderReader_XWapAppIdShortInt_UnitTest
       
  6205 
       
  6206 // ______________________________________________________________________________
       
  6207 //
       
  6208 /**
       
  6209 	@internal
       
  6210 	@class CWspHeaderReader_XWapAppIdLongInt_UnitTest
       
  6211 	@Depends CWspHeaderReader & CUnitTest 
       
  6212 
       
  6213 	Comments : Unit Test for XWapAppIdLongInt on CWspHeaderReader, the class under test.
       
  6214  */
       
  6215 class CWspHeaderReader_XWapAppIdLongInt_UnitTest : public CUnitTest
       
  6216 	{
       
  6217 public:
       
  6218 	/**
       
  6219 		@fn				NewL(CDataLogger& aDataLogger,
       
  6220 							MUnitTestObserver& aObserver)
       
  6221 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6222 						cleanup stack.
       
  6223 		Error Condition	: Leaves with the error code.
       
  6224 		@exceptions		KErrNoMemory
       
  6225 		@since			7.0
       
  6226 		@param			aDataLogger The output logging object.
       
  6227 		@param			aObserver The observer of this UnitTest.
       
  6228 		@return			CWspHeaderReader_XWapAppIdLongInt_UnitTest* The constructed object.
       
  6229 		@pre 			None.
       
  6230 		@post			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully constructed, and initialized.
       
  6231 	 */
       
  6232 	static CWspHeaderReader_XWapAppIdLongInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6233 											MUnitTestObserver& aObserver);
       
  6234 
       
  6235 	/**
       
  6236 		@fn				RunError(TInt aError)
       
  6237 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6238 						to restore the CWspHeaderReader_XWapAppIdLongInt_UnitTest
       
  6239 						object to a sensible state.
       
  6240 						(called by the Active Scheduler immediately before the Panic).
       
  6241 		Error Condition	: @see CUnitTest::RunError().
       
  6242 		@since			7.0
       
  6243 		@return			KErrNone if cleanup successful, otherwise
       
  6244 						@see CUnitTest::RunError()
       
  6245 		@pre 			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully constructed, and initialized.
       
  6246 		@post			The object has been restored to a sensible state.
       
  6247 	 */
       
  6248 	inline TInt RunError(TInt aError);
       
  6249 
       
  6250 	/**
       
  6251 		@fn				~CWspHeaderReader_XWapAppIdLongInt_UnitTest()
       
  6252 		Intended Usage	: Standard Destructor.
       
  6253 		Error Condition	: None.	
       
  6254 		@since			7.0
       
  6255 		@pre 			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully constructed.
       
  6256 		@post			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully destroyed.
       
  6257 	*/
       
  6258 	~CWspHeaderReader_XWapAppIdLongInt_UnitTest();
       
  6259 
       
  6260 private:
       
  6261 	/**
       
  6262 		@fn				CWspHeaderReader_XWapAppIdLongInt_UnitTest(CDataLogger& aDataLogger,
       
  6263 														MUnitTestObserver& aObserver)
       
  6264 		Intended Usage	: Default constructor.
       
  6265 		Error Condition	: None. 
       
  6266 		@since			7.0
       
  6267 		@param			aDataLogger The output logging object.
       
  6268 		@param			aObserver The observer of this UnitTest.
       
  6269 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6270 		@pre 			None.
       
  6271 		@post			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully constructed.
       
  6272 	*/
       
  6273 	inline CWspHeaderReader_XWapAppIdLongInt_UnitTest(CDataLogger& aDataLogger,
       
  6274 											MUnitTestObserver& aObserver);
       
  6275 
       
  6276 	/**
       
  6277 		@fn				void ConstructL()
       
  6278 		Intended Usage	: Second phase of safe two phase construction, 
       
  6279 		to complete the object initialisation.
       
  6280 		Error Condition	: Leaves with an error code.
       
  6281 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6282 		@since			7.0
       
  6283 		@return			None 
       
  6284 		@pre 			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully constructed.
       
  6285 		@post			CWspHeaderReader_XWapAppIdLongInt_UnitTest is fully initialized.
       
  6286 	*/
       
  6287 	void ConstructL();
       
  6288 
       
  6289 	/**
       
  6290 	The context of the Unit Test.
       
  6291 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6292 	 */
       
  6293 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6294 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6295 	/* C'tor, d'tor, and method transition validators */
       
  6296 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6297 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapAppIdLongIntValidator;
       
  6298 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6299 	};	// CWspHeaderReader_XWapAppIdLongInt_UnitTest
       
  6300 
       
  6301 // ______________________________________________________________________________
       
  6302 //
       
  6303 /**
       
  6304 	@internal
       
  6305 	@class CWspHeaderReader_XWapInitUriTextValue_UnitTest
       
  6306 	@Depends CWspHeaderReader & CUnitTest 
       
  6307 
       
  6308 	Comments : Unit Test for XWapInitUriTextValue on CWspHeaderReader, the class under test.
       
  6309  */
       
  6310 class CWspHeaderReader_XWapInitUriTextValue_UnitTest : public CUnitTest
       
  6311 	{
       
  6312 public:
       
  6313 	/**
       
  6314 		@fn				NewL(CDataLogger& aDataLogger,
       
  6315 							MUnitTestObserver& aObserver)
       
  6316 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6317 						cleanup stack.
       
  6318 		Error Condition	: Leaves with the error code.
       
  6319 		@exceptions		KErrNoMemory
       
  6320 		@since			7.0
       
  6321 		@param			aDataLogger The output logging object.
       
  6322 		@param			aObserver The observer of this UnitTest.
       
  6323 		@return			CWspHeaderReader_XWapInitUriTextValue_UnitTest* The constructed object.
       
  6324 		@pre 			None.
       
  6325 		@post			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully constructed, and initialized.
       
  6326 	 */
       
  6327 	static CWspHeaderReader_XWapInitUriTextValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6328 											MUnitTestObserver& aObserver);
       
  6329 
       
  6330 	/**
       
  6331 		@fn				RunError(TInt aError)
       
  6332 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6333 						to restore the CWspHeaderReader_XWapInitUriTextValue_UnitTest
       
  6334 						object to a sensible state.
       
  6335 						(called by the Active Scheduler immediately before the Panic).
       
  6336 		Error Condition	: @see CUnitTest::RunError().
       
  6337 		@since			7.0
       
  6338 		@return			KErrNone if cleanup successful, otherwise
       
  6339 						@see CUnitTest::RunError()
       
  6340 		@pre 			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully constructed, and initialized.
       
  6341 		@post			The object has been restored to a sensible state.
       
  6342 	 */
       
  6343 	inline TInt RunError(TInt aError);
       
  6344 
       
  6345 	/**
       
  6346 		@fn				~CWspHeaderReader_XWapInitUriTextValue_UnitTest()
       
  6347 		Intended Usage	: Standard Destructor.
       
  6348 		Error Condition	: None.	
       
  6349 		@since			7.0
       
  6350 		@pre 			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully constructed.
       
  6351 		@post			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully destroyed.
       
  6352 	*/
       
  6353 	~CWspHeaderReader_XWapInitUriTextValue_UnitTest();
       
  6354 
       
  6355 private:
       
  6356 	/**
       
  6357 		@fn				CWspHeaderReader_XWapInitUriTextValue_UnitTest(CDataLogger& aDataLogger,
       
  6358 														MUnitTestObserver& aObserver)
       
  6359 		Intended Usage	: Default constructor.
       
  6360 		Error Condition	: None. 
       
  6361 		@since			7.0
       
  6362 		@param			aDataLogger The output logging object.
       
  6363 		@param			aObserver The observer of this UnitTest.
       
  6364 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6365 		@pre 			None.
       
  6366 		@post			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully constructed.
       
  6367 	*/
       
  6368 	inline CWspHeaderReader_XWapInitUriTextValue_UnitTest(CDataLogger& aDataLogger,
       
  6369 											MUnitTestObserver& aObserver);
       
  6370 
       
  6371 	/**
       
  6372 		@fn				void ConstructL()
       
  6373 		Intended Usage	: Second phase of safe two phase construction, 
       
  6374 		to complete the object initialisation.
       
  6375 		Error Condition	: Leaves with an error code.
       
  6376 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6377 		@since			7.0
       
  6378 		@return			None 
       
  6379 		@pre 			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully constructed.
       
  6380 		@post			CWspHeaderReader_XWapInitUriTextValue_UnitTest is fully initialized.
       
  6381 	*/
       
  6382 	void ConstructL();
       
  6383 
       
  6384 	/**
       
  6385 	The context of the Unit Test.
       
  6386 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6387 	 */
       
  6388 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6389 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6390 	/* C'tor, d'tor, and method transition validators */
       
  6391 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6392 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapInitUriTextValueValidator;
       
  6393 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6394 	};	// CWspHeaderReader_XWapInitUriTextValue_UnitTest
       
  6395 
       
  6396 // ______________________________________________________________________________
       
  6397 //
       
  6398 /**
       
  6399 	@internal
       
  6400 	@class CWspHeaderReader_XWapInitUriNullValue_UnitTest
       
  6401 	@Depends CWspHeaderReader & CUnitTest 
       
  6402 
       
  6403 	Comments : Unit Test for XWapInitUriNullValue on CWspHeaderReader, the class under test.
       
  6404  */
       
  6405 class CWspHeaderReader_XWapInitUriNullValue_UnitTest : public CUnitTest
       
  6406 	{
       
  6407 public:
       
  6408 	/**
       
  6409 		@fn				NewL(CDataLogger& aDataLogger,
       
  6410 							MUnitTestObserver& aObserver)
       
  6411 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6412 						cleanup stack.
       
  6413 		Error Condition	: Leaves with the error code.
       
  6414 		@exceptions		KErrNoMemory
       
  6415 		@since			7.0
       
  6416 		@param			aDataLogger The output logging object.
       
  6417 		@param			aObserver The observer of this UnitTest.
       
  6418 		@return			CWspHeaderReader_XWapInitUriNullValue_UnitTest* The constructed object.
       
  6419 		@pre 			None.
       
  6420 		@post			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully constructed, and initialized.
       
  6421 	 */
       
  6422 	static CWspHeaderReader_XWapInitUriNullValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6423 											MUnitTestObserver& aObserver);
       
  6424 
       
  6425 	/**
       
  6426 		@fn				RunError(TInt aError)
       
  6427 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6428 						to restore the CWspHeaderReader_XWapInitUriNullValue_UnitTest
       
  6429 						object to a sensible state.
       
  6430 						(called by the Active Scheduler immediately before the Panic).
       
  6431 		Error Condition	: @see CUnitTest::RunError().
       
  6432 		@since			7.0
       
  6433 		@return			KErrNone if cleanup successful, otherwise
       
  6434 						@see CUnitTest::RunError()
       
  6435 		@pre 			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully constructed, and initialized.
       
  6436 		@post			The object has been restored to a sensible state.
       
  6437 	 */
       
  6438 	inline TInt RunError(TInt aError);
       
  6439 
       
  6440 	/**
       
  6441 		@fn				~CWspHeaderReader_XWapInitUriNullValue_UnitTest()
       
  6442 		Intended Usage	: Standard Destructor.
       
  6443 		Error Condition	: None.	
       
  6444 		@since			7.0
       
  6445 		@pre 			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully constructed.
       
  6446 		@post			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully destroyed.
       
  6447 	*/
       
  6448 	~CWspHeaderReader_XWapInitUriNullValue_UnitTest();
       
  6449 
       
  6450 private:
       
  6451 	/**
       
  6452 		@fn				CWspHeaderReader_XWapInitUriNullValue_UnitTest(CDataLogger& aDataLogger,
       
  6453 														MUnitTestObserver& aObserver)
       
  6454 		Intended Usage	: Default constructor.
       
  6455 		Error Condition	: None. 
       
  6456 		@since			7.0
       
  6457 		@param			aDataLogger The output logging object.
       
  6458 		@param			aObserver The observer of this UnitTest.
       
  6459 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6460 		@pre 			None.
       
  6461 		@post			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully constructed.
       
  6462 	*/
       
  6463 	inline CWspHeaderReader_XWapInitUriNullValue_UnitTest(CDataLogger& aDataLogger,
       
  6464 											MUnitTestObserver& aObserver);
       
  6465 
       
  6466 	/**
       
  6467 		@fn				void ConstructL()
       
  6468 		Intended Usage	: Second phase of safe two phase construction, 
       
  6469 		to complete the object initialisation.
       
  6470 		Error Condition	: Leaves with an error code.
       
  6471 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6472 		@since			7.0
       
  6473 		@return			None 
       
  6474 		@pre 			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully constructed.
       
  6475 		@post			CWspHeaderReader_XWapInitUriNullValue_UnitTest is fully initialized.
       
  6476 	*/
       
  6477 	void ConstructL();
       
  6478 
       
  6479 	/**
       
  6480 	The context of the Unit Test.
       
  6481 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6482 	 */
       
  6483 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6484 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6485 	/* C'tor, d'tor, and method transition validators */
       
  6486 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6487 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iXWapInitUriNullValueValidator;
       
  6488 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6489 	};	// CWspHeaderReader_XWapInitUriNullValue_UnitTest
       
  6490 
       
  6491 // ______________________________________________________________________________
       
  6492 //
       
  6493 /**
       
  6494 	@internal
       
  6495 	@class CWspHeaderReader_PushFlagShortInt_UnitTest
       
  6496 	@Depends CWspHeaderReader & CUnitTest 
       
  6497 
       
  6498 	Comments : Unit Test for PushFlagShortInt on CWspHeaderReader, the class under test.
       
  6499  */
       
  6500 class CWspHeaderReader_PushFlagShortInt_UnitTest : public CUnitTest
       
  6501 	{
       
  6502 public:
       
  6503 	/**
       
  6504 		@fn				NewL(CDataLogger& aDataLogger,
       
  6505 							MUnitTestObserver& aObserver)
       
  6506 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6507 						cleanup stack.
       
  6508 		Error Condition	: Leaves with the error code.
       
  6509 		@exceptions		KErrNoMemory
       
  6510 		@since			7.0
       
  6511 		@param			aDataLogger The output logging object.
       
  6512 		@param			aObserver The observer of this UnitTest.
       
  6513 		@return			CWspHeaderReader_PushFlagShortInt_UnitTest* The constructed object.
       
  6514 		@pre 			None.
       
  6515 		@post			CWspHeaderReader_PushFlagShortInt_UnitTest is fully constructed, and initialized.
       
  6516 	 */
       
  6517 	static CWspHeaderReader_PushFlagShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6518 											MUnitTestObserver& aObserver);
       
  6519 
       
  6520 	/**
       
  6521 		@fn				RunError(TInt aError)
       
  6522 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6523 						to restore the CWspHeaderReader_PushFlagShortInt_UnitTest
       
  6524 						object to a sensible state.
       
  6525 						(called by the Active Scheduler immediately before the Panic).
       
  6526 		Error Condition	: @see CUnitTest::RunError().
       
  6527 		@since			7.0
       
  6528 		@return			KErrNone if cleanup successful, otherwise
       
  6529 						@see CUnitTest::RunError()
       
  6530 		@pre 			CWspHeaderReader_PushFlagShortInt_UnitTest is fully constructed, and initialized.
       
  6531 		@post			The object has been restored to a sensible state.
       
  6532 	 */
       
  6533 	inline TInt RunError(TInt aError);
       
  6534 
       
  6535 	/**
       
  6536 		@fn				~CWspHeaderReader_PushFlagShortInt_UnitTest()
       
  6537 		Intended Usage	: Standard Destructor.
       
  6538 		Error Condition	: None.	
       
  6539 		@since			7.0
       
  6540 		@pre 			CWspHeaderReader_PushFlagShortInt_UnitTest is fully constructed.
       
  6541 		@post			CWspHeaderReader_PushFlagShortInt_UnitTest is fully destroyed.
       
  6542 	*/
       
  6543 	~CWspHeaderReader_PushFlagShortInt_UnitTest();
       
  6544 
       
  6545 private:
       
  6546 	/**
       
  6547 		@fn				CWspHeaderReader_PushFlagShortInt_UnitTest(CDataLogger& aDataLogger,
       
  6548 														MUnitTestObserver& aObserver)
       
  6549 		Intended Usage	: Default constructor.
       
  6550 		Error Condition	: None. 
       
  6551 		@since			7.0
       
  6552 		@param			aDataLogger The output logging object.
       
  6553 		@param			aObserver The observer of this UnitTest.
       
  6554 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6555 		@pre 			None.
       
  6556 		@post			CWspHeaderReader_PushFlagShortInt_UnitTest is fully constructed.
       
  6557 	*/
       
  6558 	inline CWspHeaderReader_PushFlagShortInt_UnitTest(CDataLogger& aDataLogger,
       
  6559 											MUnitTestObserver& aObserver);
       
  6560 
       
  6561 	/**
       
  6562 		@fn				void ConstructL()
       
  6563 		Intended Usage	: Second phase of safe two phase construction, 
       
  6564 		to complete the object initialisation.
       
  6565 		Error Condition	: Leaves with an error code.
       
  6566 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6567 		@since			7.0
       
  6568 		@return			None 
       
  6569 		@pre 			CWspHeaderReader_PushFlagShortInt_UnitTest is fully constructed.
       
  6570 		@post			CWspHeaderReader_PushFlagShortInt_UnitTest is fully initialized.
       
  6571 	*/
       
  6572 	void ConstructL();
       
  6573 
       
  6574 	/**
       
  6575 	The context of the Unit Test.
       
  6576 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6577 	 */
       
  6578 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6579 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6580 	/* C'tor, d'tor, and method transition validators */
       
  6581 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6582 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPushFlagShortIntValidator;
       
  6583 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6584 	};	// CWspHeaderReader_PushFlagShortInt_UnitTest
       
  6585 
       
  6586 // ______________________________________________________________________________
       
  6587 //
       
  6588 /**
       
  6589 	@internal
       
  6590 	@class CWspHeaderReader_PushFlagLongInt_UnitTest
       
  6591 	@Depends CWspHeaderReader & CUnitTest 
       
  6592 
       
  6593 	Comments : Unit Test for PushFlagLongInt on CWspHeaderReader, the class under test.
       
  6594  */
       
  6595 class CWspHeaderReader_PushFlagLongInt_UnitTest : public CUnitTest
       
  6596 	{
       
  6597 public:
       
  6598 	/**
       
  6599 		@fn				NewL(CDataLogger& aDataLogger,
       
  6600 							MUnitTestObserver& aObserver)
       
  6601 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6602 						cleanup stack.
       
  6603 		Error Condition	: Leaves with the error code.
       
  6604 		@exceptions		KErrNoMemory
       
  6605 		@since			7.0
       
  6606 		@param			aDataLogger The output logging object.
       
  6607 		@param			aObserver The observer of this UnitTest.
       
  6608 		@return			CWspHeaderReader_PushFlagLongInt_UnitTest* The constructed object.
       
  6609 		@pre 			None.
       
  6610 		@post			CWspHeaderReader_PushFlagLongInt_UnitTest is fully constructed, and initialized.
       
  6611 	 */
       
  6612 	static CWspHeaderReader_PushFlagLongInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6613 											MUnitTestObserver& aObserver);
       
  6614 
       
  6615 	/**
       
  6616 		@fn				RunError(TInt aError)
       
  6617 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6618 						to restore the CWspHeaderReader_PushFlagLongInt_UnitTest
       
  6619 						object to a sensible state.
       
  6620 						(called by the Active Scheduler immediately before the Panic).
       
  6621 		Error Condition	: @see CUnitTest::RunError().
       
  6622 		@since			7.0
       
  6623 		@return			KErrNone if cleanup successful, otherwise
       
  6624 						@see CUnitTest::RunError()
       
  6625 		@pre 			CWspHeaderReader_PushFlagLongInt_UnitTest is fully constructed, and initialized.
       
  6626 		@post			The object has been restored to a sensible state.
       
  6627 	 */
       
  6628 	inline TInt RunError(TInt aError);
       
  6629 
       
  6630 	/**
       
  6631 		@fn				~CWspHeaderReader_PushFlagLongInt_UnitTest()
       
  6632 		Intended Usage	: Standard Destructor.
       
  6633 		Error Condition	: None.	
       
  6634 		@since			7.0
       
  6635 		@pre 			CWspHeaderReader_PushFlagLongInt_UnitTest is fully constructed.
       
  6636 		@post			CWspHeaderReader_PushFlagLongInt_UnitTest is fully destroyed.
       
  6637 	*/
       
  6638 	~CWspHeaderReader_PushFlagLongInt_UnitTest();
       
  6639 
       
  6640 private:
       
  6641 	/**
       
  6642 		@fn				CWspHeaderReader_PushFlagLongInt_UnitTest(CDataLogger& aDataLogger,
       
  6643 														MUnitTestObserver& aObserver)
       
  6644 		Intended Usage	: Default constructor.
       
  6645 		Error Condition	: None. 
       
  6646 		@since			7.0
       
  6647 		@param			aDataLogger The output logging object.
       
  6648 		@param			aObserver The observer of this UnitTest.
       
  6649 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6650 		@pre 			None.
       
  6651 		@post			CWspHeaderReader_PushFlagLongInt_UnitTest is fully constructed.
       
  6652 	*/
       
  6653 	inline CWspHeaderReader_PushFlagLongInt_UnitTest(CDataLogger& aDataLogger,
       
  6654 											MUnitTestObserver& aObserver);
       
  6655 
       
  6656 	/**
       
  6657 		@fn				void ConstructL()
       
  6658 		Intended Usage	: Second phase of safe two phase construction, 
       
  6659 		to complete the object initialisation.
       
  6660 		Error Condition	: Leaves with an error code.
       
  6661 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6662 		@since			7.0
       
  6663 		@return			None 
       
  6664 		@pre 			CWspHeaderReader_PushFlagLongInt_UnitTest is fully constructed.
       
  6665 		@post			CWspHeaderReader_PushFlagLongInt_UnitTest is fully initialized.
       
  6666 	*/
       
  6667 	void ConstructL();
       
  6668 
       
  6669 	/**
       
  6670 	The context of the Unit Test.
       
  6671 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6672 	 */
       
  6673 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6674 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6675 	/* C'tor, d'tor, and method transition validators */
       
  6676 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6677 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPushFlagLongIntValidator;
       
  6678 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6679 	};	// CWspHeaderReader_PushFlagLongInt_UnitTest
       
  6680 
       
  6681 // ______________________________________________________________________________
       
  6682 //
       
  6683 /**
       
  6684 	@internal
       
  6685 	@class CWspHeaderReader_PushFlagTextValue_UnitTest
       
  6686 	@Depends CWspHeaderReader & CUnitTest 
       
  6687 
       
  6688 	Comments : Unit Test for PushFlagTextValue on CWspHeaderReader, the class under test.
       
  6689  */
       
  6690 class CWspHeaderReader_PushFlagTextValue_UnitTest : public CUnitTest
       
  6691 	{
       
  6692 public:
       
  6693 	/**
       
  6694 		@fn				NewL(CDataLogger& aDataLogger,
       
  6695 							MUnitTestObserver& aObserver)
       
  6696 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6697 						cleanup stack.
       
  6698 		Error Condition	: Leaves with the error code.
       
  6699 		@exceptions		KErrNoMemory
       
  6700 		@since			7.0
       
  6701 		@param			aDataLogger The output logging object.
       
  6702 		@param			aObserver The observer of this UnitTest.
       
  6703 		@return			CWspHeaderReader_PushFlagTextValue_UnitTest* The constructed object.
       
  6704 		@pre 			None.
       
  6705 		@post			CWspHeaderReader_PushFlagTextValue_UnitTest is fully constructed, and initialized.
       
  6706 	 */
       
  6707 	static CWspHeaderReader_PushFlagTextValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6708 											MUnitTestObserver& aObserver);
       
  6709 
       
  6710 	/**
       
  6711 		@fn				RunError(TInt aError)
       
  6712 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6713 						to restore the CWspHeaderReader_PushFlagTextValue_UnitTest
       
  6714 						object to a sensible state.
       
  6715 						(called by the Active Scheduler immediately before the Panic).
       
  6716 		Error Condition	: @see CUnitTest::RunError().
       
  6717 		@since			7.0
       
  6718 		@return			KErrNone if cleanup successful, otherwise
       
  6719 						@see CUnitTest::RunError()
       
  6720 		@pre 			CWspHeaderReader_PushFlagTextValue_UnitTest is fully constructed, and initialized.
       
  6721 		@post			The object has been restored to a sensible state.
       
  6722 	 */
       
  6723 	inline TInt RunError(TInt aError);
       
  6724 
       
  6725 	/**
       
  6726 		@fn				~CWspHeaderReader_PushFlagTextValue_UnitTest()
       
  6727 		Intended Usage	: Standard Destructor.
       
  6728 		Error Condition	: None.	
       
  6729 		@since			7.0
       
  6730 		@pre 			CWspHeaderReader_PushFlagTextValue_UnitTest is fully constructed.
       
  6731 		@post			CWspHeaderReader_PushFlagTextValue_UnitTest is fully destroyed.
       
  6732 	*/
       
  6733 	~CWspHeaderReader_PushFlagTextValue_UnitTest();
       
  6734 
       
  6735 private:
       
  6736 	/**
       
  6737 		@fn				CWspHeaderReader_PushFlagTextValue_UnitTest(CDataLogger& aDataLogger,
       
  6738 														MUnitTestObserver& aObserver)
       
  6739 		Intended Usage	: Default constructor.
       
  6740 		Error Condition	: None. 
       
  6741 		@since			7.0
       
  6742 		@param			aDataLogger The output logging object.
       
  6743 		@param			aObserver The observer of this UnitTest.
       
  6744 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6745 		@pre 			None.
       
  6746 		@post			CWspHeaderReader_PushFlagTextValue_UnitTest is fully constructed.
       
  6747 	*/
       
  6748 	inline CWspHeaderReader_PushFlagTextValue_UnitTest(CDataLogger& aDataLogger,
       
  6749 											MUnitTestObserver& aObserver);
       
  6750 
       
  6751 	/**
       
  6752 		@fn				void ConstructL()
       
  6753 		Intended Usage	: Second phase of safe two phase construction, 
       
  6754 		to complete the object initialisation.
       
  6755 		Error Condition	: Leaves with an error code.
       
  6756 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6757 		@since			7.0
       
  6758 		@return			None 
       
  6759 		@pre 			CWspHeaderReader_PushFlagTextValue_UnitTest is fully constructed.
       
  6760 		@post			CWspHeaderReader_PushFlagTextValue_UnitTest is fully initialized.
       
  6761 	*/
       
  6762 	void ConstructL();
       
  6763 
       
  6764 	/**
       
  6765 	The context of the Unit Test.
       
  6766 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6767 	 */
       
  6768 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6769 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6770 	/* C'tor, d'tor, and method transition validators */
       
  6771 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6772 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iPushFlagTextValueValidator;
       
  6773 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6774 	};	// CWspHeaderReader_PushFlagTextValue_UnitTest
       
  6775 
       
  6776 // ______________________________________________________________________________
       
  6777 //
       
  6778 /**
       
  6779 	@internal
       
  6780 	@class CWspHeaderReader_AllowGet_UnitTest
       
  6781 	@Depends CWspHeaderReader & CUnitTest 
       
  6782 
       
  6783 	Comments : Unit Test for AllowGet on CWspHeaderReader, the class under test.
       
  6784  */
       
  6785 class CWspHeaderReader_AllowGet_UnitTest : public CUnitTest
       
  6786 	{
       
  6787 public:
       
  6788 	/**
       
  6789 		@fn				NewL(CDataLogger& aDataLogger,
       
  6790 							MUnitTestObserver& aObserver)
       
  6791 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6792 						cleanup stack.
       
  6793 		Error Condition	: Leaves with the error code.
       
  6794 		@exceptions		KErrNoMemory
       
  6795 		@since			7.0
       
  6796 		@param			aDataLogger The output logging object.
       
  6797 		@param			aObserver The observer of this UnitTest.
       
  6798 		@return			CWspHeaderReader_AllowGet_UnitTest* The constructed object.
       
  6799 		@pre 			None.
       
  6800 		@post			CWspHeaderReader_AllowGet_UnitTest is fully constructed, and initialized.
       
  6801 	 */
       
  6802 	static CWspHeaderReader_AllowGet_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6803 											MUnitTestObserver& aObserver);
       
  6804 
       
  6805 	/**
       
  6806 		@fn				RunError(TInt aError)
       
  6807 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6808 						to restore the CWspHeaderReader_AllowGet_UnitTest
       
  6809 						object to a sensible state.
       
  6810 						(called by the Active Scheduler immediately before the Panic).
       
  6811 		Error Condition	: @see CUnitTest::RunError().
       
  6812 		@since			7.0
       
  6813 		@return			KErrNone if cleanup successful, otherwise
       
  6814 						@see CUnitTest::RunError()
       
  6815 		@pre 			CWspHeaderReader_AllowGet_UnitTest is fully constructed, and initialized.
       
  6816 		@post			The object has been restored to a sensible state.
       
  6817 	 */
       
  6818 	inline TInt RunError(TInt aError);
       
  6819 
       
  6820 	/**
       
  6821 		@fn				~CWspHeaderReader_AllowGet_UnitTest()
       
  6822 		Intended Usage	: Standard Destructor.
       
  6823 		Error Condition	: None.	
       
  6824 		@since			7.0
       
  6825 		@pre 			CWspHeaderReader_AllowGet_UnitTest is fully constructed.
       
  6826 		@post			CWspHeaderReader_AllowGet_UnitTest is fully destroyed.
       
  6827 	*/
       
  6828 	~CWspHeaderReader_AllowGet_UnitTest();
       
  6829 
       
  6830 private:
       
  6831 	/**
       
  6832 		@fn				CWspHeaderReader_AllowGet_UnitTest(CDataLogger& aDataLogger,
       
  6833 														MUnitTestObserver& aObserver)
       
  6834 		Intended Usage	: Default constructor.
       
  6835 		Error Condition	: None. 
       
  6836 		@since			7.0
       
  6837 		@param			aDataLogger The output logging object.
       
  6838 		@param			aObserver The observer of this UnitTest.
       
  6839 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6840 		@pre 			None.
       
  6841 		@post			CWspHeaderReader_AllowGet_UnitTest is fully constructed.
       
  6842 	*/
       
  6843 	inline CWspHeaderReader_AllowGet_UnitTest(CDataLogger& aDataLogger,
       
  6844 											MUnitTestObserver& aObserver);
       
  6845 
       
  6846 	/**
       
  6847 		@fn				void ConstructL()
       
  6848 		Intended Usage	: Second phase of safe two phase construction, 
       
  6849 		to complete the object initialisation.
       
  6850 		Error Condition	: Leaves with an error code.
       
  6851 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6852 		@since			7.0
       
  6853 		@return			None 
       
  6854 		@pre 			CWspHeaderReader_AllowGet_UnitTest is fully constructed.
       
  6855 		@post			CWspHeaderReader_AllowGet_UnitTest is fully initialized.
       
  6856 	*/
       
  6857 	void ConstructL();
       
  6858 
       
  6859 	/**
       
  6860 	The context of the Unit Test.
       
  6861 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6862 	 */
       
  6863 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6864 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6865 	/* C'tor, d'tor, and method transition validators */
       
  6866 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6867 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAllowGetValidator;
       
  6868 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6869 	};	// CWspHeaderReader_AllowGet_UnitTest
       
  6870 
       
  6871 // ______________________________________________________________________________
       
  6872 //
       
  6873 /**
       
  6874 	@internal
       
  6875 	@class CWspHeaderReader_AllowTrace_UnitTest
       
  6876 	@Depends CWspHeaderReader & CUnitTest 
       
  6877 
       
  6878 	Comments : Unit Test for AllowTrace on CWspHeaderReader, the class under test.
       
  6879  */
       
  6880 class CWspHeaderReader_AllowTrace_UnitTest : public CUnitTest
       
  6881 	{
       
  6882 public:
       
  6883 	/**
       
  6884 		@fn				NewL(CDataLogger& aDataLogger,
       
  6885 							MUnitTestObserver& aObserver)
       
  6886 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6887 						cleanup stack.
       
  6888 		Error Condition	: Leaves with the error code.
       
  6889 		@exceptions		KErrNoMemory
       
  6890 		@since			7.0
       
  6891 		@param			aDataLogger The output logging object.
       
  6892 		@param			aObserver The observer of this UnitTest.
       
  6893 		@return			CWspHeaderReader_AllowTrace_UnitTest* The constructed object.
       
  6894 		@pre 			None.
       
  6895 		@post			CWspHeaderReader_AllowTrace_UnitTest is fully constructed, and initialized.
       
  6896 	 */
       
  6897 	static CWspHeaderReader_AllowTrace_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6898 											MUnitTestObserver& aObserver);
       
  6899 
       
  6900 	/**
       
  6901 		@fn				RunError(TInt aError)
       
  6902 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6903 						to restore the CWspHeaderReader_AllowTrace_UnitTest
       
  6904 						object to a sensible state.
       
  6905 						(called by the Active Scheduler immediately before the Panic).
       
  6906 		Error Condition	: @see CUnitTest::RunError().
       
  6907 		@since			7.0
       
  6908 		@return			KErrNone if cleanup successful, otherwise
       
  6909 						@see CUnitTest::RunError()
       
  6910 		@pre 			CWspHeaderReader_AllowTrace_UnitTest is fully constructed, and initialized.
       
  6911 		@post			The object has been restored to a sensible state.
       
  6912 	 */
       
  6913 	inline TInt RunError(TInt aError);
       
  6914 
       
  6915 	/**
       
  6916 		@fn				~CWspHeaderReader_AllowTrace_UnitTest()
       
  6917 		Intended Usage	: Standard Destructor.
       
  6918 		Error Condition	: None.	
       
  6919 		@since			7.0
       
  6920 		@pre 			CWspHeaderReader_AllowTrace_UnitTest is fully constructed.
       
  6921 		@post			CWspHeaderReader_AllowTrace_UnitTest is fully destroyed.
       
  6922 	*/
       
  6923 	~CWspHeaderReader_AllowTrace_UnitTest();
       
  6924 
       
  6925 private:
       
  6926 	/**
       
  6927 		@fn				CWspHeaderReader_AllowTrace_UnitTest(CDataLogger& aDataLogger,
       
  6928 														MUnitTestObserver& aObserver)
       
  6929 		Intended Usage	: Default constructor.
       
  6930 		Error Condition	: None. 
       
  6931 		@since			7.0
       
  6932 		@param			aDataLogger The output logging object.
       
  6933 		@param			aObserver The observer of this UnitTest.
       
  6934 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  6935 		@pre 			None.
       
  6936 		@post			CWspHeaderReader_AllowTrace_UnitTest is fully constructed.
       
  6937 	*/
       
  6938 	inline CWspHeaderReader_AllowTrace_UnitTest(CDataLogger& aDataLogger,
       
  6939 											MUnitTestObserver& aObserver);
       
  6940 
       
  6941 	/**
       
  6942 		@fn				void ConstructL()
       
  6943 		Intended Usage	: Second phase of safe two phase construction, 
       
  6944 		to complete the object initialisation.
       
  6945 		Error Condition	: Leaves with an error code.
       
  6946 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  6947 		@since			7.0
       
  6948 		@return			None 
       
  6949 		@pre 			CWspHeaderReader_AllowTrace_UnitTest is fully constructed.
       
  6950 		@post			CWspHeaderReader_AllowTrace_UnitTest is fully initialized.
       
  6951 	*/
       
  6952 	void ConstructL();
       
  6953 
       
  6954 	/**
       
  6955 	The context of the Unit Test.
       
  6956 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  6957 	 */
       
  6958 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  6959 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  6960 	/* C'tor, d'tor, and method transition validators */
       
  6961 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  6962 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAllowTraceValidator;
       
  6963 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  6964 	};	// CWspHeaderReader_AllowTrace_UnitTest
       
  6965 
       
  6966 // ______________________________________________________________________________
       
  6967 //
       
  6968 /**
       
  6969 	@internal
       
  6970 	@class CWspHeaderReader_AllowLongInt_UnitTest
       
  6971 	@Depends CWspHeaderReader & CUnitTest 
       
  6972 
       
  6973 	Comments : Unit Test for AllowLongInt on CWspHeaderReader, the class under test.
       
  6974  */
       
  6975 class CWspHeaderReader_AllowLongInt_UnitTest : public CUnitTest
       
  6976 	{
       
  6977 public:
       
  6978 	/**
       
  6979 		@fn				NewL(CDataLogger& aDataLogger,
       
  6980 							MUnitTestObserver& aObserver)
       
  6981 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  6982 						cleanup stack.
       
  6983 		Error Condition	: Leaves with the error code.
       
  6984 		@exceptions		KErrNoMemory
       
  6985 		@since			7.0
       
  6986 		@param			aDataLogger The output logging object.
       
  6987 		@param			aObserver The observer of this UnitTest.
       
  6988 		@return			CWspHeaderReader_AllowLongInt_UnitTest* The constructed object.
       
  6989 		@pre 			None.
       
  6990 		@post			CWspHeaderReader_AllowLongInt_UnitTest is fully constructed, and initialized.
       
  6991 	 */
       
  6992 	static CWspHeaderReader_AllowLongInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  6993 											MUnitTestObserver& aObserver);
       
  6994 
       
  6995 	/**
       
  6996 		@fn				RunError(TInt aError)
       
  6997 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  6998 						to restore the CWspHeaderReader_AllowLongInt_UnitTest
       
  6999 						object to a sensible state.
       
  7000 						(called by the Active Scheduler immediately before the Panic).
       
  7001 		Error Condition	: @see CUnitTest::RunError().
       
  7002 		@since			7.0
       
  7003 		@return			KErrNone if cleanup successful, otherwise
       
  7004 						@see CUnitTest::RunError()
       
  7005 		@pre 			CWspHeaderReader_AllowLongInt_UnitTest is fully constructed, and initialized.
       
  7006 		@post			The object has been restored to a sensible state.
       
  7007 	 */
       
  7008 	inline TInt RunError(TInt aError);
       
  7009 
       
  7010 	/**
       
  7011 		@fn				~CWspHeaderReader_AllowLongInt_UnitTest()
       
  7012 		Intended Usage	: Standard Destructor.
       
  7013 		Error Condition	: None.	
       
  7014 		@since			7.0
       
  7015 		@pre 			CWspHeaderReader_AllowLongInt_UnitTest is fully constructed.
       
  7016 		@post			CWspHeaderReader_AllowLongInt_UnitTest is fully destroyed.
       
  7017 	*/
       
  7018 	~CWspHeaderReader_AllowLongInt_UnitTest();
       
  7019 
       
  7020 private:
       
  7021 	/**
       
  7022 		@fn				CWspHeaderReader_AllowLongInt_UnitTest(CDataLogger& aDataLogger,
       
  7023 														MUnitTestObserver& aObserver)
       
  7024 		Intended Usage	: Default constructor.
       
  7025 		Error Condition	: None. 
       
  7026 		@since			7.0
       
  7027 		@param			aDataLogger The output logging object.
       
  7028 		@param			aObserver The observer of this UnitTest.
       
  7029 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7030 		@pre 			None.
       
  7031 		@post			CWspHeaderReader_AllowLongInt_UnitTest is fully constructed.
       
  7032 	*/
       
  7033 	inline CWspHeaderReader_AllowLongInt_UnitTest(CDataLogger& aDataLogger,
       
  7034 											MUnitTestObserver& aObserver);
       
  7035 
       
  7036 	/**
       
  7037 		@fn				void ConstructL()
       
  7038 		Intended Usage	: Second phase of safe two phase construction, 
       
  7039 		to complete the object initialisation.
       
  7040 		Error Condition	: Leaves with an error code.
       
  7041 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7042 		@since			7.0
       
  7043 		@return			None 
       
  7044 		@pre 			CWspHeaderReader_AllowLongInt_UnitTest is fully constructed.
       
  7045 		@post			CWspHeaderReader_AllowLongInt_UnitTest is fully initialized.
       
  7046 	*/
       
  7047 	void ConstructL();
       
  7048 
       
  7049 	/**
       
  7050 	The context of the Unit Test.
       
  7051 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7052 	 */
       
  7053 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7054 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7055 	/* C'tor, d'tor, and method transition validators */
       
  7056 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7057 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAllowLongIntValidator;
       
  7058 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7059 	};	// CWspHeaderReader_AllowLongInt_UnitTest
       
  7060 
       
  7061 // ______________________________________________________________________________
       
  7062 //
       
  7063 /**
       
  7064 	@internal
       
  7065 	@class CWspHeaderReader_AllowInvalidShortInt_UnitTest
       
  7066 	@Depends CWspHeaderReader & CUnitTest 
       
  7067 
       
  7068 	Comments : Unit Test for AllowInvalidShortInt on CWspHeaderReader, the class under test.
       
  7069  */
       
  7070 class CWspHeaderReader_AllowInvalidShortInt_UnitTest : public CUnitTest
       
  7071 	{
       
  7072 public:
       
  7073 	/**
       
  7074 		@fn				NewL(CDataLogger& aDataLogger,
       
  7075 							MUnitTestObserver& aObserver)
       
  7076 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7077 						cleanup stack.
       
  7078 		Error Condition	: Leaves with the error code.
       
  7079 		@exceptions		KErrNoMemory
       
  7080 		@since			7.0
       
  7081 		@param			aDataLogger The output logging object.
       
  7082 		@param			aObserver The observer of this UnitTest.
       
  7083 		@return			CWspHeaderReader_AllowInvalidShortInt_UnitTest* The constructed object.
       
  7084 		@pre 			None.
       
  7085 		@post			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully constructed, and initialized.
       
  7086 	 */
       
  7087 	static CWspHeaderReader_AllowInvalidShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7088 											MUnitTestObserver& aObserver);
       
  7089 
       
  7090 	/**
       
  7091 		@fn				RunError(TInt aError)
       
  7092 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7093 						to restore the CWspHeaderReader_AllowInvalidShortInt_UnitTest
       
  7094 						object to a sensible state.
       
  7095 						(called by the Active Scheduler immediately before the Panic).
       
  7096 		Error Condition	: @see CUnitTest::RunError().
       
  7097 		@since			7.0
       
  7098 		@return			KErrNone if cleanup successful, otherwise
       
  7099 						@see CUnitTest::RunError()
       
  7100 		@pre 			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully constructed, and initialized.
       
  7101 		@post			The object has been restored to a sensible state.
       
  7102 	 */
       
  7103 	inline TInt RunError(TInt aError);
       
  7104 
       
  7105 	/**
       
  7106 		@fn				~CWspHeaderReader_AllowInvalidShortInt_UnitTest()
       
  7107 		Intended Usage	: Standard Destructor.
       
  7108 		Error Condition	: None.	
       
  7109 		@since			7.0
       
  7110 		@pre 			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully constructed.
       
  7111 		@post			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully destroyed.
       
  7112 	*/
       
  7113 	~CWspHeaderReader_AllowInvalidShortInt_UnitTest();
       
  7114 
       
  7115 private:
       
  7116 	/**
       
  7117 		@fn				CWspHeaderReader_AllowInvalidShortInt_UnitTest(CDataLogger& aDataLogger,
       
  7118 														MUnitTestObserver& aObserver)
       
  7119 		Intended Usage	: Default constructor.
       
  7120 		Error Condition	: None. 
       
  7121 		@since			7.0
       
  7122 		@param			aDataLogger The output logging object.
       
  7123 		@param			aObserver The observer of this UnitTest.
       
  7124 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7125 		@pre 			None.
       
  7126 		@post			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully constructed.
       
  7127 	*/
       
  7128 	inline CWspHeaderReader_AllowInvalidShortInt_UnitTest(CDataLogger& aDataLogger,
       
  7129 											MUnitTestObserver& aObserver);
       
  7130 
       
  7131 	/**
       
  7132 		@fn				void ConstructL()
       
  7133 		Intended Usage	: Second phase of safe two phase construction, 
       
  7134 		to complete the object initialisation.
       
  7135 		Error Condition	: Leaves with an error code.
       
  7136 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7137 		@since			7.0
       
  7138 		@return			None 
       
  7139 		@pre 			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully constructed.
       
  7140 		@post			CWspHeaderReader_AllowInvalidShortInt_UnitTest is fully initialized.
       
  7141 	*/
       
  7142 	void ConstructL();
       
  7143 
       
  7144 	/**
       
  7145 	The context of the Unit Test.
       
  7146 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7147 	 */
       
  7148 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7149 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7150 	/* C'tor, d'tor, and method transition validators */
       
  7151 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7152 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAllowInvalidShortIntValidator;
       
  7153 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7154 	};	// CWspHeaderReader_AllowInvalidShortInt_UnitTest
       
  7155 
       
  7156 // ______________________________________________________________________________
       
  7157 //
       
  7158 /**
       
  7159 	@internal
       
  7160 	@class CWspHeaderReader_UpgradeText_UnitTest
       
  7161 	@Depends CWspHeaderReader & CUnitTest 
       
  7162 
       
  7163 	Comments : Unit Test for UpgradeText on CWspHeaderReader, the class under test.
       
  7164  */
       
  7165 class CWspHeaderReader_UpgradeText_UnitTest : public CUnitTest
       
  7166 	{
       
  7167 public:
       
  7168 	/**
       
  7169 		@fn				NewL(CDataLogger& aDataLogger,
       
  7170 							MUnitTestObserver& aObserver)
       
  7171 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7172 						cleanup stack.
       
  7173 		Error Condition	: Leaves with the error code.
       
  7174 		@exceptions		KErrNoMemory
       
  7175 		@since			7.0
       
  7176 		@param			aDataLogger The output logging object.
       
  7177 		@param			aObserver The observer of this UnitTest.
       
  7178 		@return			CWspHeaderReader_UpgradeText_UnitTest* The constructed object.
       
  7179 		@pre 			None.
       
  7180 		@post			CWspHeaderReader_UpgradeText_UnitTest is fully constructed, and initialized.
       
  7181 	 */
       
  7182 	static CWspHeaderReader_UpgradeText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7183 											MUnitTestObserver& aObserver);
       
  7184 
       
  7185 	/**
       
  7186 		@fn				RunError(TInt aError)
       
  7187 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7188 						to restore the CWspHeaderReader_UpgradeText_UnitTest
       
  7189 						object to a sensible state.
       
  7190 						(called by the Active Scheduler immediately before the Panic).
       
  7191 		Error Condition	: @see CUnitTest::RunError().
       
  7192 		@since			7.0
       
  7193 		@return			KErrNone if cleanup successful, otherwise
       
  7194 						@see CUnitTest::RunError()
       
  7195 		@pre 			CWspHeaderReader_UpgradeText_UnitTest is fully constructed, and initialized.
       
  7196 		@post			The object has been restored to a sensible state.
       
  7197 	 */
       
  7198 	inline TInt RunError(TInt aError);
       
  7199 
       
  7200 	/**
       
  7201 		@fn				~CWspHeaderReader_UpgradeText_UnitTest()
       
  7202 		Intended Usage	: Standard Destructor.
       
  7203 		Error Condition	: None.	
       
  7204 		@since			7.0
       
  7205 		@pre 			CWspHeaderReader_UpgradeText_UnitTest is fully constructed.
       
  7206 		@post			CWspHeaderReader_UpgradeText_UnitTest is fully destroyed.
       
  7207 	*/
       
  7208 	~CWspHeaderReader_UpgradeText_UnitTest();
       
  7209 
       
  7210 private:
       
  7211 	/**
       
  7212 		@fn				CWspHeaderReader_UpgradeText_UnitTest(CDataLogger& aDataLogger,
       
  7213 														MUnitTestObserver& aObserver)
       
  7214 		Intended Usage	: Default constructor.
       
  7215 		Error Condition	: None. 
       
  7216 		@since			7.0
       
  7217 		@param			aDataLogger The output logging object.
       
  7218 		@param			aObserver The observer of this UnitTest.
       
  7219 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7220 		@pre 			None.
       
  7221 		@post			CWspHeaderReader_UpgradeText_UnitTest is fully constructed.
       
  7222 	*/
       
  7223 	inline CWspHeaderReader_UpgradeText_UnitTest(CDataLogger& aDataLogger,
       
  7224 											MUnitTestObserver& aObserver);
       
  7225 
       
  7226 	/**
       
  7227 		@fn				void ConstructL()
       
  7228 		Intended Usage	: Second phase of safe two phase construction, 
       
  7229 		to complete the object initialisation.
       
  7230 		Error Condition	: Leaves with an error code.
       
  7231 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7232 		@since			7.0
       
  7233 		@return			None 
       
  7234 		@pre 			CWspHeaderReader_UpgradeText_UnitTest is fully constructed.
       
  7235 		@post			CWspHeaderReader_UpgradeText_UnitTest is fully initialized.
       
  7236 	*/
       
  7237 	void ConstructL();
       
  7238 
       
  7239 	/**
       
  7240 	The context of the Unit Test.
       
  7241 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7242 	 */
       
  7243 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7244 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7245 	/* C'tor, d'tor, and method transition validators */
       
  7246 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7247 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iUpgradeTextValidator;
       
  7248 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7249 	};	// CWspHeaderReader_UpgradeText_UnitTest
       
  7250 
       
  7251 // ______________________________________________________________________________
       
  7252 //
       
  7253 /**
       
  7254 	@internal
       
  7255 	@class CWspHeaderReader_UpgradeNullText_UnitTest
       
  7256 	@Depends CWspHeaderReader & CUnitTest 
       
  7257 
       
  7258 	Comments : Unit Test for UpgradeNullText on CWspHeaderReader, the class under test.
       
  7259  */
       
  7260 class CWspHeaderReader_UpgradeNullText_UnitTest : public CUnitTest
       
  7261 	{
       
  7262 public:
       
  7263 	/**
       
  7264 		@fn				NewL(CDataLogger& aDataLogger,
       
  7265 							MUnitTestObserver& aObserver)
       
  7266 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7267 						cleanup stack.
       
  7268 		Error Condition	: Leaves with the error code.
       
  7269 		@exceptions		KErrNoMemory
       
  7270 		@since			7.0
       
  7271 		@param			aDataLogger The output logging object.
       
  7272 		@param			aObserver The observer of this UnitTest.
       
  7273 		@return			CWspHeaderReader_UpgradeNullText_UnitTest* The constructed object.
       
  7274 		@pre 			None.
       
  7275 		@post			CWspHeaderReader_UpgradeNullText_UnitTest is fully constructed, and initialized.
       
  7276 	 */
       
  7277 	static CWspHeaderReader_UpgradeNullText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7278 											MUnitTestObserver& aObserver);
       
  7279 
       
  7280 	/**
       
  7281 		@fn				RunError(TInt aError)
       
  7282 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7283 						to restore the CWspHeaderReader_UpgradeNullText_UnitTest
       
  7284 						object to a sensible state.
       
  7285 						(called by the Active Scheduler immediately before the Panic).
       
  7286 		Error Condition	: @see CUnitTest::RunError().
       
  7287 		@since			7.0
       
  7288 		@return			KErrNone if cleanup successful, otherwise
       
  7289 						@see CUnitTest::RunError()
       
  7290 		@pre 			CWspHeaderReader_UpgradeNullText_UnitTest is fully constructed, and initialized.
       
  7291 		@post			The object has been restored to a sensible state.
       
  7292 	 */
       
  7293 	inline TInt RunError(TInt aError);
       
  7294 
       
  7295 	/**
       
  7296 		@fn				~CWspHeaderReader_UpgradeNullText_UnitTest()
       
  7297 		Intended Usage	: Standard Destructor.
       
  7298 		Error Condition	: None.	
       
  7299 		@since			7.0
       
  7300 		@pre 			CWspHeaderReader_UpgradeNullText_UnitTest is fully constructed.
       
  7301 		@post			CWspHeaderReader_UpgradeNullText_UnitTest is fully destroyed.
       
  7302 	*/
       
  7303 	~CWspHeaderReader_UpgradeNullText_UnitTest();
       
  7304 
       
  7305 private:
       
  7306 	/**
       
  7307 		@fn				CWspHeaderReader_UpgradeNullText_UnitTest(CDataLogger& aDataLogger,
       
  7308 														MUnitTestObserver& aObserver)
       
  7309 		Intended Usage	: Default constructor.
       
  7310 		Error Condition	: None. 
       
  7311 		@since			7.0
       
  7312 		@param			aDataLogger The output logging object.
       
  7313 		@param			aObserver The observer of this UnitTest.
       
  7314 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7315 		@pre 			None.
       
  7316 		@post			CWspHeaderReader_UpgradeNullText_UnitTest is fully constructed.
       
  7317 	*/
       
  7318 	inline CWspHeaderReader_UpgradeNullText_UnitTest(CDataLogger& aDataLogger,
       
  7319 											MUnitTestObserver& aObserver);
       
  7320 
       
  7321 	/**
       
  7322 		@fn				void ConstructL()
       
  7323 		Intended Usage	: Second phase of safe two phase construction, 
       
  7324 		to complete the object initialisation.
       
  7325 		Error Condition	: Leaves with an error code.
       
  7326 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7327 		@since			7.0
       
  7328 		@return			None 
       
  7329 		@pre 			CWspHeaderReader_UpgradeNullText_UnitTest is fully constructed.
       
  7330 		@post			CWspHeaderReader_UpgradeNullText_UnitTest is fully initialized.
       
  7331 	*/
       
  7332 	void ConstructL();
       
  7333 
       
  7334 	/**
       
  7335 	The context of the Unit Test.
       
  7336 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7337 	 */
       
  7338 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7339 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7340 	/* C'tor, d'tor, and method transition validators */
       
  7341 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7342 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iUpgradeNullTextValidator;
       
  7343 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7344 	};	// CWspHeaderReader_UpgradeNullText_UnitTest
       
  7345 
       
  7346 // ______________________________________________________________________________
       
  7347 //
       
  7348 /**
       
  7349 	@internal
       
  7350 	@class CWspHeaderReader_WarningShortInt_UnitTest
       
  7351 	@Depends CWspHeaderReader & CUnitTest 
       
  7352 
       
  7353 	Comments : Unit Test for WarningShortInt on CWspHeaderReader, the class under test.
       
  7354  */
       
  7355 class CWspHeaderReader_WarningShortInt_UnitTest : public CUnitTest
       
  7356 	{
       
  7357 public:
       
  7358 	/**
       
  7359 		@fn				NewL(CDataLogger& aDataLogger,
       
  7360 							MUnitTestObserver& aObserver)
       
  7361 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7362 						cleanup stack.
       
  7363 		Error Condition	: Leaves with the error code.
       
  7364 		@exceptions		KErrNoMemory
       
  7365 		@since			7.0
       
  7366 		@param			aDataLogger The output logging object.
       
  7367 		@param			aObserver The observer of this UnitTest.
       
  7368 		@return			CWspHeaderReader_WarningShortInt_UnitTest* The constructed object.
       
  7369 		@pre 			None.
       
  7370 		@post			CWspHeaderReader_WarningShortInt_UnitTest is fully constructed, and initialized.
       
  7371 	 */
       
  7372 	static CWspHeaderReader_WarningShortInt_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7373 											MUnitTestObserver& aObserver);
       
  7374 
       
  7375 	/**
       
  7376 		@fn				RunError(TInt aError)
       
  7377 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7378 						to restore the CWspHeaderReader_WarningShortInt_UnitTest
       
  7379 						object to a sensible state.
       
  7380 						(called by the Active Scheduler immediately before the Panic).
       
  7381 		Error Condition	: @see CUnitTest::RunError().
       
  7382 		@since			7.0
       
  7383 		@return			KErrNone if cleanup successful, otherwise
       
  7384 						@see CUnitTest::RunError()
       
  7385 		@pre 			CWspHeaderReader_WarningShortInt_UnitTest is fully constructed, and initialized.
       
  7386 		@post			The object has been restored to a sensible state.
       
  7387 	 */
       
  7388 	inline TInt RunError(TInt aError);
       
  7389 
       
  7390 	/**
       
  7391 		@fn				~CWspHeaderReader_WarningShortInt_UnitTest()
       
  7392 		Intended Usage	: Standard Destructor.
       
  7393 		Error Condition	: None.	
       
  7394 		@since			7.0
       
  7395 		@pre 			CWspHeaderReader_WarningShortInt_UnitTest is fully constructed.
       
  7396 		@post			CWspHeaderReader_WarningShortInt_UnitTest is fully destroyed.
       
  7397 	*/
       
  7398 	~CWspHeaderReader_WarningShortInt_UnitTest();
       
  7399 
       
  7400 private:
       
  7401 	/**
       
  7402 		@fn				CWspHeaderReader_WarningShortInt_UnitTest(CDataLogger& aDataLogger,
       
  7403 														MUnitTestObserver& aObserver)
       
  7404 		Intended Usage	: Default constructor.
       
  7405 		Error Condition	: None. 
       
  7406 		@since			7.0
       
  7407 		@param			aDataLogger The output logging object.
       
  7408 		@param			aObserver The observer of this UnitTest.
       
  7409 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7410 		@pre 			None.
       
  7411 		@post			CWspHeaderReader_WarningShortInt_UnitTest is fully constructed.
       
  7412 	*/
       
  7413 	inline CWspHeaderReader_WarningShortInt_UnitTest(CDataLogger& aDataLogger,
       
  7414 											MUnitTestObserver& aObserver);
       
  7415 
       
  7416 	/**
       
  7417 		@fn				void ConstructL()
       
  7418 		Intended Usage	: Second phase of safe two phase construction, 
       
  7419 		to complete the object initialisation.
       
  7420 		Error Condition	: Leaves with an error code.
       
  7421 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7422 		@since			7.0
       
  7423 		@return			None 
       
  7424 		@pre 			CWspHeaderReader_WarningShortInt_UnitTest is fully constructed.
       
  7425 		@post			CWspHeaderReader_WarningShortInt_UnitTest is fully initialized.
       
  7426 	*/
       
  7427 	void ConstructL();
       
  7428 
       
  7429 	/**
       
  7430 	The context of the Unit Test.
       
  7431 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7432 	 */
       
  7433 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7434 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7435 	/* C'tor, d'tor, and method transition validators */
       
  7436 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7437 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWarningShortIntValidator;
       
  7438 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7439 	};	// CWspHeaderReader_WarningShortInt_UnitTest
       
  7440 
       
  7441 // ______________________________________________________________________________
       
  7442 //
       
  7443 /**
       
  7444 	@internal
       
  7445 	@class CWspHeaderReader_WarningFullValue_UnitTest
       
  7446 	@Depends CWspHeaderReader & CUnitTest 
       
  7447 
       
  7448 	Comments : Unit Test for WarningFullValue on CWspHeaderReader, the class under test.
       
  7449  */
       
  7450 class CWspHeaderReader_WarningFullValue_UnitTest : public CUnitTest
       
  7451 	{
       
  7452 public:
       
  7453 	/**
       
  7454 		@fn				NewL(CDataLogger& aDataLogger,
       
  7455 							MUnitTestObserver& aObserver)
       
  7456 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7457 						cleanup stack.
       
  7458 		Error Condition	: Leaves with the error code.
       
  7459 		@exceptions		KErrNoMemory
       
  7460 		@since			7.0
       
  7461 		@param			aDataLogger The output logging object.
       
  7462 		@param			aObserver The observer of this UnitTest.
       
  7463 		@return			CWspHeaderReader_WarningFullValue_UnitTest* The constructed object.
       
  7464 		@pre 			None.
       
  7465 		@post			CWspHeaderReader_WarningFullValue_UnitTest is fully constructed, and initialized.
       
  7466 	 */
       
  7467 	static CWspHeaderReader_WarningFullValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7468 											MUnitTestObserver& aObserver);
       
  7469 
       
  7470 	/**
       
  7471 		@fn				RunError(TInt aError)
       
  7472 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7473 						to restore the CWspHeaderReader_WarningFullValue_UnitTest
       
  7474 						object to a sensible state.
       
  7475 						(called by the Active Scheduler immediately before the Panic).
       
  7476 		Error Condition	: @see CUnitTest::RunError().
       
  7477 		@since			7.0
       
  7478 		@return			KErrNone if cleanup successful, otherwise
       
  7479 						@see CUnitTest::RunError()
       
  7480 		@pre 			CWspHeaderReader_WarningFullValue_UnitTest is fully constructed, and initialized.
       
  7481 		@post			The object has been restored to a sensible state.
       
  7482 	 */
       
  7483 	inline TInt RunError(TInt aError);
       
  7484 
       
  7485 	/**
       
  7486 		@fn				~CWspHeaderReader_WarningFullValue_UnitTest()
       
  7487 		Intended Usage	: Standard Destructor.
       
  7488 		Error Condition	: None.	
       
  7489 		@since			7.0
       
  7490 		@pre 			CWspHeaderReader_WarningFullValue_UnitTest is fully constructed.
       
  7491 		@post			CWspHeaderReader_WarningFullValue_UnitTest is fully destroyed.
       
  7492 	*/
       
  7493 	~CWspHeaderReader_WarningFullValue_UnitTest();
       
  7494 
       
  7495 private:
       
  7496 	/**
       
  7497 		@fn				CWspHeaderReader_WarningFullValue_UnitTest(CDataLogger& aDataLogger,
       
  7498 														MUnitTestObserver& aObserver)
       
  7499 		Intended Usage	: Default constructor.
       
  7500 		Error Condition	: None. 
       
  7501 		@since			7.0
       
  7502 		@param			aDataLogger The output logging object.
       
  7503 		@param			aObserver The observer of this UnitTest.
       
  7504 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7505 		@pre 			None.
       
  7506 		@post			CWspHeaderReader_WarningFullValue_UnitTest is fully constructed.
       
  7507 	*/
       
  7508 	inline CWspHeaderReader_WarningFullValue_UnitTest(CDataLogger& aDataLogger,
       
  7509 											MUnitTestObserver& aObserver);
       
  7510 
       
  7511 	/**
       
  7512 		@fn				void ConstructL()
       
  7513 		Intended Usage	: Second phase of safe two phase construction, 
       
  7514 		to complete the object initialisation.
       
  7515 		Error Condition	: Leaves with an error code.
       
  7516 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7517 		@since			7.0
       
  7518 		@return			None 
       
  7519 		@pre 			CWspHeaderReader_WarningFullValue_UnitTest is fully constructed.
       
  7520 		@post			CWspHeaderReader_WarningFullValue_UnitTest is fully initialized.
       
  7521 	*/
       
  7522 	void ConstructL();
       
  7523 
       
  7524 	/**
       
  7525 	The context of the Unit Test.
       
  7526 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7527 	 */
       
  7528 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7529 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7530 	/* C'tor, d'tor, and method transition validators */
       
  7531 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7532 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWarningFullValueValidator;
       
  7533 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7534 	};	// CWspHeaderReader_WarningFullValue_UnitTest
       
  7535 
       
  7536 // ______________________________________________________________________________
       
  7537 //
       
  7538 /**
       
  7539 	@internal
       
  7540 	@class CWspHeaderReader_WarningShortWarnNullAgent_UnitTest
       
  7541 	@Depends CWspHeaderReader & CUnitTest 
       
  7542 
       
  7543 	Comments : Unit Test for WarningShortWarnNullAgent on CWspHeaderReader, the class under test.
       
  7544  */
       
  7545 class CWspHeaderReader_WarningShortWarnNullAgent_UnitTest : public CUnitTest
       
  7546 	{
       
  7547 public:
       
  7548 	/**
       
  7549 		@fn				NewL(CDataLogger& aDataLogger,
       
  7550 							MUnitTestObserver& aObserver)
       
  7551 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7552 						cleanup stack.
       
  7553 		Error Condition	: Leaves with the error code.
       
  7554 		@exceptions		KErrNoMemory
       
  7555 		@since			7.0
       
  7556 		@param			aDataLogger The output logging object.
       
  7557 		@param			aObserver The observer of this UnitTest.
       
  7558 		@return			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest* The constructed object.
       
  7559 		@pre 			None.
       
  7560 		@post			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully constructed, and initialized.
       
  7561 	 */
       
  7562 	static CWspHeaderReader_WarningShortWarnNullAgent_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7563 											MUnitTestObserver& aObserver);
       
  7564 
       
  7565 	/**
       
  7566 		@fn				RunError(TInt aError)
       
  7567 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7568 						to restore the CWspHeaderReader_WarningShortWarnNullAgent_UnitTest
       
  7569 						object to a sensible state.
       
  7570 						(called by the Active Scheduler immediately before the Panic).
       
  7571 		Error Condition	: @see CUnitTest::RunError().
       
  7572 		@since			7.0
       
  7573 		@return			KErrNone if cleanup successful, otherwise
       
  7574 						@see CUnitTest::RunError()
       
  7575 		@pre 			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully constructed, and initialized.
       
  7576 		@post			The object has been restored to a sensible state.
       
  7577 	 */
       
  7578 	inline TInt RunError(TInt aError);
       
  7579 
       
  7580 	/**
       
  7581 		@fn				~CWspHeaderReader_WarningShortWarnNullAgent_UnitTest()
       
  7582 		Intended Usage	: Standard Destructor.
       
  7583 		Error Condition	: None.	
       
  7584 		@since			7.0
       
  7585 		@pre 			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully constructed.
       
  7586 		@post			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully destroyed.
       
  7587 	*/
       
  7588 	~CWspHeaderReader_WarningShortWarnNullAgent_UnitTest();
       
  7589 
       
  7590 private:
       
  7591 	/**
       
  7592 		@fn				CWspHeaderReader_WarningShortWarnNullAgent_UnitTest(CDataLogger& aDataLogger,
       
  7593 														MUnitTestObserver& aObserver)
       
  7594 		Intended Usage	: Default constructor.
       
  7595 		Error Condition	: None. 
       
  7596 		@since			7.0
       
  7597 		@param			aDataLogger The output logging object.
       
  7598 		@param			aObserver The observer of this UnitTest.
       
  7599 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7600 		@pre 			None.
       
  7601 		@post			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully constructed.
       
  7602 	*/
       
  7603 	inline CWspHeaderReader_WarningShortWarnNullAgent_UnitTest(CDataLogger& aDataLogger,
       
  7604 											MUnitTestObserver& aObserver);
       
  7605 
       
  7606 	/**
       
  7607 		@fn				void ConstructL()
       
  7608 		Intended Usage	: Second phase of safe two phase construction, 
       
  7609 		to complete the object initialisation.
       
  7610 		Error Condition	: Leaves with an error code.
       
  7611 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7612 		@since			7.0
       
  7613 		@return			None 
       
  7614 		@pre 			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully constructed.
       
  7615 		@post			CWspHeaderReader_WarningShortWarnNullAgent_UnitTest is fully initialized.
       
  7616 	*/
       
  7617 	void ConstructL();
       
  7618 
       
  7619 	/**
       
  7620 	The context of the Unit Test.
       
  7621 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7622 	 */
       
  7623 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7624 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7625 	/* C'tor, d'tor, and method transition validators */
       
  7626 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7627 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWarningShortWarnNullAgentValidator;
       
  7628 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7629 	};	// CWspHeaderReader_WarningShortWarnNullAgent_UnitTest
       
  7630 
       
  7631 // ______________________________________________________________________________
       
  7632 //
       
  7633 /**
       
  7634 	@internal
       
  7635 	@class CWspHeaderReader_WarningShortIntNullText_UnitTest
       
  7636 	@Depends CWspHeaderReader & CUnitTest 
       
  7637 
       
  7638 	Comments : Unit Test for WarningShortIntNullText on CWspHeaderReader, the class under test.
       
  7639  */
       
  7640 class CWspHeaderReader_WarningShortIntNullText_UnitTest : public CUnitTest
       
  7641 	{
       
  7642 public:
       
  7643 	/**
       
  7644 		@fn				NewL(CDataLogger& aDataLogger,
       
  7645 							MUnitTestObserver& aObserver)
       
  7646 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7647 						cleanup stack.
       
  7648 		Error Condition	: Leaves with the error code.
       
  7649 		@exceptions		KErrNoMemory
       
  7650 		@since			7.0
       
  7651 		@param			aDataLogger The output logging object.
       
  7652 		@param			aObserver The observer of this UnitTest.
       
  7653 		@return			CWspHeaderReader_WarningShortIntNullText_UnitTest* The constructed object.
       
  7654 		@pre 			None.
       
  7655 		@post			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully constructed, and initialized.
       
  7656 	 */
       
  7657 	static CWspHeaderReader_WarningShortIntNullText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7658 											MUnitTestObserver& aObserver);
       
  7659 
       
  7660 	/**
       
  7661 		@fn				RunError(TInt aError)
       
  7662 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7663 						to restore the CWspHeaderReader_WarningShortIntNullText_UnitTest
       
  7664 						object to a sensible state.
       
  7665 						(called by the Active Scheduler immediately before the Panic).
       
  7666 		Error Condition	: @see CUnitTest::RunError().
       
  7667 		@since			7.0
       
  7668 		@return			KErrNone if cleanup successful, otherwise
       
  7669 						@see CUnitTest::RunError()
       
  7670 		@pre 			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully constructed, and initialized.
       
  7671 		@post			The object has been restored to a sensible state.
       
  7672 	 */
       
  7673 	inline TInt RunError(TInt aError);
       
  7674 
       
  7675 	/**
       
  7676 		@fn				~CWspHeaderReader_WarningShortIntNullText_UnitTest()
       
  7677 		Intended Usage	: Standard Destructor.
       
  7678 		Error Condition	: None.	
       
  7679 		@since			7.0
       
  7680 		@pre 			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully constructed.
       
  7681 		@post			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully destroyed.
       
  7682 	*/
       
  7683 	~CWspHeaderReader_WarningShortIntNullText_UnitTest();
       
  7684 
       
  7685 private:
       
  7686 	/**
       
  7687 		@fn				CWspHeaderReader_WarningShortIntNullText_UnitTest(CDataLogger& aDataLogger,
       
  7688 														MUnitTestObserver& aObserver)
       
  7689 		Intended Usage	: Default constructor.
       
  7690 		Error Condition	: None. 
       
  7691 		@since			7.0
       
  7692 		@param			aDataLogger The output logging object.
       
  7693 		@param			aObserver The observer of this UnitTest.
       
  7694 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7695 		@pre 			None.
       
  7696 		@post			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully constructed.
       
  7697 	*/
       
  7698 	inline CWspHeaderReader_WarningShortIntNullText_UnitTest(CDataLogger& aDataLogger,
       
  7699 											MUnitTestObserver& aObserver);
       
  7700 
       
  7701 	/**
       
  7702 		@fn				void ConstructL()
       
  7703 		Intended Usage	: Second phase of safe two phase construction, 
       
  7704 		to complete the object initialisation.
       
  7705 		Error Condition	: Leaves with an error code.
       
  7706 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7707 		@since			7.0
       
  7708 		@return			None 
       
  7709 		@pre 			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully constructed.
       
  7710 		@post			CWspHeaderReader_WarningShortIntNullText_UnitTest is fully initialized.
       
  7711 	*/
       
  7712 	void ConstructL();
       
  7713 
       
  7714 	/**
       
  7715 	The context of the Unit Test.
       
  7716 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7717 	 */
       
  7718 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7719 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7720 	/* C'tor, d'tor, and method transition validators */
       
  7721 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7722 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWarningShortIntNullTextValidator;
       
  7723 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7724 	};	// CWspHeaderReader_WarningShortIntNullText_UnitTest
       
  7725 
       
  7726 // ______________________________________________________________________________
       
  7727 //
       
  7728 /**
       
  7729 	@internal
       
  7730 	@class CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest
       
  7731 	@Depends CWspHeaderReader & CUnitTest 
       
  7732 
       
  7733 	Comments : Unit Test for WarningShortIntNullAgentNullText on CWspHeaderReader, the class under test.
       
  7734  */
       
  7735 class CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest : public CUnitTest
       
  7736 	{
       
  7737 public:
       
  7738 	/**
       
  7739 		@fn				NewL(CDataLogger& aDataLogger,
       
  7740 							MUnitTestObserver& aObserver)
       
  7741 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7742 						cleanup stack.
       
  7743 		Error Condition	: Leaves with the error code.
       
  7744 		@exceptions		KErrNoMemory
       
  7745 		@since			7.0
       
  7746 		@param			aDataLogger The output logging object.
       
  7747 		@param			aObserver The observer of this UnitTest.
       
  7748 		@return			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest* The constructed object.
       
  7749 		@pre 			None.
       
  7750 		@post			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully constructed, and initialized.
       
  7751 	 */
       
  7752 	static CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7753 											MUnitTestObserver& aObserver);
       
  7754 
       
  7755 	/**
       
  7756 		@fn				RunError(TInt aError)
       
  7757 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7758 						to restore the CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest
       
  7759 						object to a sensible state.
       
  7760 						(called by the Active Scheduler immediately before the Panic).
       
  7761 		Error Condition	: @see CUnitTest::RunError().
       
  7762 		@since			7.0
       
  7763 		@return			KErrNone if cleanup successful, otherwise
       
  7764 						@see CUnitTest::RunError()
       
  7765 		@pre 			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully constructed, and initialized.
       
  7766 		@post			The object has been restored to a sensible state.
       
  7767 	 */
       
  7768 	inline TInt RunError(TInt aError);
       
  7769 
       
  7770 	/**
       
  7771 		@fn				~CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest()
       
  7772 		Intended Usage	: Standard Destructor.
       
  7773 		Error Condition	: None.	
       
  7774 		@since			7.0
       
  7775 		@pre 			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully constructed.
       
  7776 		@post			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully destroyed.
       
  7777 	*/
       
  7778 	~CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest();
       
  7779 
       
  7780 private:
       
  7781 	/**
       
  7782 		@fn				CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest(CDataLogger& aDataLogger,
       
  7783 														MUnitTestObserver& aObserver)
       
  7784 		Intended Usage	: Default constructor.
       
  7785 		Error Condition	: None. 
       
  7786 		@since			7.0
       
  7787 		@param			aDataLogger The output logging object.
       
  7788 		@param			aObserver The observer of this UnitTest.
       
  7789 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7790 		@pre 			None.
       
  7791 		@post			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully constructed.
       
  7792 	*/
       
  7793 	inline CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest(CDataLogger& aDataLogger,
       
  7794 											MUnitTestObserver& aObserver);
       
  7795 
       
  7796 	/**
       
  7797 		@fn				void ConstructL()
       
  7798 		Intended Usage	: Second phase of safe two phase construction, 
       
  7799 		to complete the object initialisation.
       
  7800 		Error Condition	: Leaves with an error code.
       
  7801 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7802 		@since			7.0
       
  7803 		@return			None 
       
  7804 		@pre 			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully constructed.
       
  7805 		@post			CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest is fully initialized.
       
  7806 	*/
       
  7807 	void ConstructL();
       
  7808 
       
  7809 	/**
       
  7810 	The context of the Unit Test.
       
  7811 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7812 	 */
       
  7813 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7814 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7815 	/* C'tor, d'tor, and method transition validators */
       
  7816 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7817 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iWarningShortIntNullAgentNullTextValidator;
       
  7818 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7819 	};	// CWspHeaderReader_WarningShortIntNullAgentNullText_UnitTest
       
  7820 
       
  7821 // ______________________________________________________________________________
       
  7822 //
       
  7823 /**
       
  7824 	@internal
       
  7825 	@class CWspHeaderReader_ContentEncodingMultiHeader_UnitTest
       
  7826 	@Depends CWspHeaderReader & CUnitTest 
       
  7827 
       
  7828 	Comments : Unit Test for ContentEncodingMultiHeader on CWspHeaderReader, the class under test.
       
  7829  */
       
  7830 class CWspHeaderReader_ContentEncodingMultiHeader_UnitTest : public CUnitTest
       
  7831 	{
       
  7832 public:
       
  7833 	/**
       
  7834 		@fn				NewL(CDataLogger& aDataLogger,
       
  7835 							MUnitTestObserver& aObserver)
       
  7836 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7837 						cleanup stack.
       
  7838 		Error Condition	: Leaves with the error code.
       
  7839 		@exceptions		KErrNoMemory
       
  7840 		@since			7.0
       
  7841 		@param			aDataLogger The output logging object.
       
  7842 		@param			aObserver The observer of this UnitTest.
       
  7843 		@return			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest* The constructed object.
       
  7844 		@pre 			None.
       
  7845 		@post			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully constructed, and initialized.
       
  7846 	 */
       
  7847 	static CWspHeaderReader_ContentEncodingMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7848 											MUnitTestObserver& aObserver);
       
  7849 
       
  7850 	/**
       
  7851 		@fn				RunError(TInt aError)
       
  7852 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7853 						to restore the CWspHeaderReader_ContentEncodingMultiHeader_UnitTest
       
  7854 						object to a sensible state.
       
  7855 						(called by the Active Scheduler immediately before the Panic).
       
  7856 		Error Condition	: @see CUnitTest::RunError().
       
  7857 		@since			7.0
       
  7858 		@return			KErrNone if cleanup successful, otherwise
       
  7859 						@see CUnitTest::RunError()
       
  7860 		@pre 			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully constructed, and initialized.
       
  7861 		@post			The object has been restored to a sensible state.
       
  7862 	 */
       
  7863 	inline TInt RunError(TInt aError);
       
  7864 
       
  7865 	/**
       
  7866 		@fn				~CWspHeaderReader_ContentEncodingMultiHeader_UnitTest()
       
  7867 		Intended Usage	: Standard Destructor.
       
  7868 		Error Condition	: None.	
       
  7869 		@since			7.0
       
  7870 		@pre 			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully constructed.
       
  7871 		@post			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully destroyed.
       
  7872 	*/
       
  7873 	~CWspHeaderReader_ContentEncodingMultiHeader_UnitTest();
       
  7874 
       
  7875 private:
       
  7876 	/**
       
  7877 		@fn				CWspHeaderReader_ContentEncodingMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  7878 														MUnitTestObserver& aObserver)
       
  7879 		Intended Usage	: Default constructor.
       
  7880 		Error Condition	: None. 
       
  7881 		@since			7.0
       
  7882 		@param			aDataLogger The output logging object.
       
  7883 		@param			aObserver The observer of this UnitTest.
       
  7884 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7885 		@pre 			None.
       
  7886 		@post			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully constructed.
       
  7887 	*/
       
  7888 	inline CWspHeaderReader_ContentEncodingMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  7889 											MUnitTestObserver& aObserver);
       
  7890 
       
  7891 	/**
       
  7892 		@fn				void ConstructL()
       
  7893 		Intended Usage	: Second phase of safe two phase construction, 
       
  7894 		to complete the object initialisation.
       
  7895 		Error Condition	: Leaves with an error code.
       
  7896 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7897 		@since			7.0
       
  7898 		@return			None 
       
  7899 		@pre 			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully constructed.
       
  7900 		@post			CWspHeaderReader_ContentEncodingMultiHeader_UnitTest is fully initialized.
       
  7901 	*/
       
  7902 	void ConstructL();
       
  7903 
       
  7904 	/**
       
  7905 	The context of the Unit Test.
       
  7906 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  7907 	 */
       
  7908 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  7909 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  7910 	/* C'tor, d'tor, and method transition validators */
       
  7911 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  7912 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentEncodingMultiHeaderValidator;
       
  7913 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  7914 	};	// CWspHeaderReader_ContentEncodingMultiHeader_UnitTest
       
  7915 
       
  7916 // ______________________________________________________________________________
       
  7917 //
       
  7918 /**
       
  7919 	@internal
       
  7920 	@class CWspHeaderReader_ContentLanguageMultiHeader_UnitTest
       
  7921 	@Depends CWspHeaderReader & CUnitTest 
       
  7922 
       
  7923 	Comments : Unit Test for ContentLanguageMultiHeader on CWspHeaderReader, the class under test.
       
  7924  */
       
  7925 class CWspHeaderReader_ContentLanguageMultiHeader_UnitTest : public CUnitTest
       
  7926 	{
       
  7927 public:
       
  7928 	/**
       
  7929 		@fn				NewL(CDataLogger& aDataLogger,
       
  7930 							MUnitTestObserver& aObserver)
       
  7931 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  7932 						cleanup stack.
       
  7933 		Error Condition	: Leaves with the error code.
       
  7934 		@exceptions		KErrNoMemory
       
  7935 		@since			7.0
       
  7936 		@param			aDataLogger The output logging object.
       
  7937 		@param			aObserver The observer of this UnitTest.
       
  7938 		@return			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest* The constructed object.
       
  7939 		@pre 			None.
       
  7940 		@post			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully constructed, and initialized.
       
  7941 	 */
       
  7942 	static CWspHeaderReader_ContentLanguageMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  7943 											MUnitTestObserver& aObserver);
       
  7944 
       
  7945 	/**
       
  7946 		@fn				RunError(TInt aError)
       
  7947 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  7948 						to restore the CWspHeaderReader_ContentLanguageMultiHeader_UnitTest
       
  7949 						object to a sensible state.
       
  7950 						(called by the Active Scheduler immediately before the Panic).
       
  7951 		Error Condition	: @see CUnitTest::RunError().
       
  7952 		@since			7.0
       
  7953 		@return			KErrNone if cleanup successful, otherwise
       
  7954 						@see CUnitTest::RunError()
       
  7955 		@pre 			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully constructed, and initialized.
       
  7956 		@post			The object has been restored to a sensible state.
       
  7957 	 */
       
  7958 	inline TInt RunError(TInt aError);
       
  7959 
       
  7960 	/**
       
  7961 		@fn				~CWspHeaderReader_ContentLanguageMultiHeader_UnitTest()
       
  7962 		Intended Usage	: Standard Destructor.
       
  7963 		Error Condition	: None.	
       
  7964 		@since			7.0
       
  7965 		@pre 			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully constructed.
       
  7966 		@post			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully destroyed.
       
  7967 	*/
       
  7968 	~CWspHeaderReader_ContentLanguageMultiHeader_UnitTest();
       
  7969 
       
  7970 private:
       
  7971 	/**
       
  7972 		@fn				CWspHeaderReader_ContentLanguageMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  7973 														MUnitTestObserver& aObserver)
       
  7974 		Intended Usage	: Default constructor.
       
  7975 		Error Condition	: None. 
       
  7976 		@since			7.0
       
  7977 		@param			aDataLogger The output logging object.
       
  7978 		@param			aObserver The observer of this UnitTest.
       
  7979 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  7980 		@pre 			None.
       
  7981 		@post			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully constructed.
       
  7982 	*/
       
  7983 	inline CWspHeaderReader_ContentLanguageMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  7984 											MUnitTestObserver& aObserver);
       
  7985 
       
  7986 	/**
       
  7987 		@fn				void ConstructL()
       
  7988 		Intended Usage	: Second phase of safe two phase construction, 
       
  7989 		to complete the object initialisation.
       
  7990 		Error Condition	: Leaves with an error code.
       
  7991 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  7992 		@since			7.0
       
  7993 		@return			None 
       
  7994 		@pre 			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully constructed.
       
  7995 		@post			CWspHeaderReader_ContentLanguageMultiHeader_UnitTest is fully initialized.
       
  7996 	*/
       
  7997 	void ConstructL();
       
  7998 
       
  7999 	/**
       
  8000 	The context of the Unit Test.
       
  8001 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8002 	 */
       
  8003 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8004 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8005 	/* C'tor, d'tor, and method transition validators */
       
  8006 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8007 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iContentLanguageMultiHeaderValidator;
       
  8008 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8009 	};	// CWspHeaderReader_ContentLanguageMultiHeader_UnitTest
       
  8010 
       
  8011 // ______________________________________________________________________________
       
  8012 //
       
  8013 /**
       
  8014 	@internal
       
  8015 	@class CWspHeaderReader_ViaMultiHeader_UnitTest
       
  8016 	@Depends CWspHeaderReader & CUnitTest 
       
  8017 
       
  8018 	Comments : Unit Test for ViaMultiHeader on CWspHeaderReader, the class under test.
       
  8019  */
       
  8020 class CWspHeaderReader_ViaMultiHeader_UnitTest : public CUnitTest
       
  8021 	{
       
  8022 public:
       
  8023 	/**
       
  8024 		@fn				NewL(CDataLogger& aDataLogger,
       
  8025 							MUnitTestObserver& aObserver)
       
  8026 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8027 						cleanup stack.
       
  8028 		Error Condition	: Leaves with the error code.
       
  8029 		@exceptions		KErrNoMemory
       
  8030 		@since			7.0
       
  8031 		@param			aDataLogger The output logging object.
       
  8032 		@param			aObserver The observer of this UnitTest.
       
  8033 		@return			CWspHeaderReader_ViaMultiHeader_UnitTest* The constructed object.
       
  8034 		@pre 			None.
       
  8035 		@post			CWspHeaderReader_ViaMultiHeader_UnitTest is fully constructed, and initialized.
       
  8036 	 */
       
  8037 	static CWspHeaderReader_ViaMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8038 											MUnitTestObserver& aObserver);
       
  8039 
       
  8040 	/**
       
  8041 		@fn				RunError(TInt aError)
       
  8042 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8043 						to restore the CWspHeaderReader_ViaMultiHeader_UnitTest
       
  8044 						object to a sensible state.
       
  8045 						(called by the Active Scheduler immediately before the Panic).
       
  8046 		Error Condition	: @see CUnitTest::RunError().
       
  8047 		@since			7.0
       
  8048 		@return			KErrNone if cleanup successful, otherwise
       
  8049 						@see CUnitTest::RunError()
       
  8050 		@pre 			CWspHeaderReader_ViaMultiHeader_UnitTest is fully constructed, and initialized.
       
  8051 		@post			The object has been restored to a sensible state.
       
  8052 	 */
       
  8053 	inline TInt RunError(TInt aError);
       
  8054 
       
  8055 	/**
       
  8056 		@fn				~CWspHeaderReader_ViaMultiHeader_UnitTest()
       
  8057 		Intended Usage	: Standard Destructor.
       
  8058 		Error Condition	: None.	
       
  8059 		@since			7.0
       
  8060 		@pre 			CWspHeaderReader_ViaMultiHeader_UnitTest is fully constructed.
       
  8061 		@post			CWspHeaderReader_ViaMultiHeader_UnitTest is fully destroyed.
       
  8062 	*/
       
  8063 	~CWspHeaderReader_ViaMultiHeader_UnitTest();
       
  8064 
       
  8065 private:
       
  8066 	/**
       
  8067 		@fn				CWspHeaderReader_ViaMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8068 														MUnitTestObserver& aObserver)
       
  8069 		Intended Usage	: Default constructor.
       
  8070 		Error Condition	: None. 
       
  8071 		@since			7.0
       
  8072 		@param			aDataLogger The output logging object.
       
  8073 		@param			aObserver The observer of this UnitTest.
       
  8074 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8075 		@pre 			None.
       
  8076 		@post			CWspHeaderReader_ViaMultiHeader_UnitTest is fully constructed.
       
  8077 	*/
       
  8078 	inline CWspHeaderReader_ViaMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8079 											MUnitTestObserver& aObserver);
       
  8080 
       
  8081 	/**
       
  8082 		@fn				void ConstructL()
       
  8083 		Intended Usage	: Second phase of safe two phase construction, 
       
  8084 		to complete the object initialisation.
       
  8085 		Error Condition	: Leaves with an error code.
       
  8086 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8087 		@since			7.0
       
  8088 		@return			None 
       
  8089 		@pre 			CWspHeaderReader_ViaMultiHeader_UnitTest is fully constructed.
       
  8090 		@post			CWspHeaderReader_ViaMultiHeader_UnitTest is fully initialized.
       
  8091 	*/
       
  8092 	void ConstructL();
       
  8093 
       
  8094 	/**
       
  8095 	The context of the Unit Test.
       
  8096 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8097 	 */
       
  8098 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8099 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8100 	/* C'tor, d'tor, and method transition validators */
       
  8101 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8102 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iViaMultiHeaderValidator;
       
  8103 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8104 	};	// CWspHeaderReader_ViaMultiHeader_UnitTest
       
  8105 
       
  8106 // ______________________________________________________________________________
       
  8107 //
       
  8108 /**
       
  8109 	@internal
       
  8110 	@class CWspHeaderReader_TrailerMultiHeader_UnitTest
       
  8111 	@Depends CWspHeaderReader & CUnitTest 
       
  8112 
       
  8113 	Comments : Unit Test for TrailerMultiHeader on CWspHeaderReader, the class under test.
       
  8114  */
       
  8115 class CWspHeaderReader_TrailerMultiHeader_UnitTest : public CUnitTest
       
  8116 	{
       
  8117 public:
       
  8118 	/**
       
  8119 		@fn				NewL(CDataLogger& aDataLogger,
       
  8120 							MUnitTestObserver& aObserver)
       
  8121 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8122 						cleanup stack.
       
  8123 		Error Condition	: Leaves with the error code.
       
  8124 		@exceptions		KErrNoMemory
       
  8125 		@since			7.0
       
  8126 		@param			aDataLogger The output logging object.
       
  8127 		@param			aObserver The observer of this UnitTest.
       
  8128 		@return			CWspHeaderReader_TrailerMultiHeader_UnitTest* The constructed object.
       
  8129 		@pre 			None.
       
  8130 		@post			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully constructed, and initialized.
       
  8131 	 */
       
  8132 	static CWspHeaderReader_TrailerMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8133 											MUnitTestObserver& aObserver);
       
  8134 
       
  8135 	/**
       
  8136 		@fn				RunError(TInt aError)
       
  8137 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8138 						to restore the CWspHeaderReader_TrailerMultiHeader_UnitTest
       
  8139 						object to a sensible state.
       
  8140 						(called by the Active Scheduler immediately before the Panic).
       
  8141 		Error Condition	: @see CUnitTest::RunError().
       
  8142 		@since			7.0
       
  8143 		@return			KErrNone if cleanup successful, otherwise
       
  8144 						@see CUnitTest::RunError()
       
  8145 		@pre 			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully constructed, and initialized.
       
  8146 		@post			The object has been restored to a sensible state.
       
  8147 	 */
       
  8148 	inline TInt RunError(TInt aError);
       
  8149 
       
  8150 	/**
       
  8151 		@fn				~CWspHeaderReader_TrailerMultiHeader_UnitTest()
       
  8152 		Intended Usage	: Standard Destructor.
       
  8153 		Error Condition	: None.	
       
  8154 		@since			7.0
       
  8155 		@pre 			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully constructed.
       
  8156 		@post			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully destroyed.
       
  8157 	*/
       
  8158 	~CWspHeaderReader_TrailerMultiHeader_UnitTest();
       
  8159 
       
  8160 private:
       
  8161 	/**
       
  8162 		@fn				CWspHeaderReader_TrailerMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8163 														MUnitTestObserver& aObserver)
       
  8164 		Intended Usage	: Default constructor.
       
  8165 		Error Condition	: None. 
       
  8166 		@since			7.0
       
  8167 		@param			aDataLogger The output logging object.
       
  8168 		@param			aObserver The observer of this UnitTest.
       
  8169 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8170 		@pre 			None.
       
  8171 		@post			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully constructed.
       
  8172 	*/
       
  8173 	inline CWspHeaderReader_TrailerMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8174 											MUnitTestObserver& aObserver);
       
  8175 
       
  8176 	/**
       
  8177 		@fn				void ConstructL()
       
  8178 		Intended Usage	: Second phase of safe two phase construction, 
       
  8179 		to complete the object initialisation.
       
  8180 		Error Condition	: Leaves with an error code.
       
  8181 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8182 		@since			7.0
       
  8183 		@return			None 
       
  8184 		@pre 			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully constructed.
       
  8185 		@post			CWspHeaderReader_TrailerMultiHeader_UnitTest is fully initialized.
       
  8186 	*/
       
  8187 	void ConstructL();
       
  8188 
       
  8189 	/**
       
  8190 	The context of the Unit Test.
       
  8191 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8192 	 */
       
  8193 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8194 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8195 	/* C'tor, d'tor, and method transition validators */
       
  8196 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8197 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iTrailerMultiHeaderValidator;
       
  8198 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8199 	};	// CWspHeaderReader_TrailerMultiHeader_UnitTest
       
  8200 
       
  8201 // ______________________________________________________________________________
       
  8202 //
       
  8203 /**
       
  8204 	@internal
       
  8205 	@class CWspHeaderReader_UpgradeMultiHeader_UnitTest
       
  8206 	@Depends CWspHeaderReader & CUnitTest 
       
  8207 
       
  8208 	Comments : Unit Test for UpgradeMultiHeader on CWspHeaderReader, the class under test.
       
  8209  */
       
  8210 class CWspHeaderReader_UpgradeMultiHeader_UnitTest : public CUnitTest
       
  8211 	{
       
  8212 public:
       
  8213 	/**
       
  8214 		@fn				NewL(CDataLogger& aDataLogger,
       
  8215 							MUnitTestObserver& aObserver)
       
  8216 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8217 						cleanup stack.
       
  8218 		Error Condition	: Leaves with the error code.
       
  8219 		@exceptions		KErrNoMemory
       
  8220 		@since			7.0
       
  8221 		@param			aDataLogger The output logging object.
       
  8222 		@param			aObserver The observer of this UnitTest.
       
  8223 		@return			CWspHeaderReader_UpgradeMultiHeader_UnitTest* The constructed object.
       
  8224 		@pre 			None.
       
  8225 		@post			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully constructed, and initialized.
       
  8226 	 */
       
  8227 	static CWspHeaderReader_UpgradeMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8228 											MUnitTestObserver& aObserver);
       
  8229 
       
  8230 	/**
       
  8231 		@fn				RunError(TInt aError)
       
  8232 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8233 						to restore the CWspHeaderReader_UpgradeMultiHeader_UnitTest
       
  8234 						object to a sensible state.
       
  8235 						(called by the Active Scheduler immediately before the Panic).
       
  8236 		Error Condition	: @see CUnitTest::RunError().
       
  8237 		@since			7.0
       
  8238 		@return			KErrNone if cleanup successful, otherwise
       
  8239 						@see CUnitTest::RunError()
       
  8240 		@pre 			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully constructed, and initialized.
       
  8241 		@post			The object has been restored to a sensible state.
       
  8242 	 */
       
  8243 	inline TInt RunError(TInt aError);
       
  8244 
       
  8245 	/**
       
  8246 		@fn				~CWspHeaderReader_UpgradeMultiHeader_UnitTest()
       
  8247 		Intended Usage	: Standard Destructor.
       
  8248 		Error Condition	: None.	
       
  8249 		@since			7.0
       
  8250 		@pre 			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully constructed.
       
  8251 		@post			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully destroyed.
       
  8252 	*/
       
  8253 	~CWspHeaderReader_UpgradeMultiHeader_UnitTest();
       
  8254 
       
  8255 private:
       
  8256 	/**
       
  8257 		@fn				CWspHeaderReader_UpgradeMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8258 														MUnitTestObserver& aObserver)
       
  8259 		Intended Usage	: Default constructor.
       
  8260 		Error Condition	: None. 
       
  8261 		@since			7.0
       
  8262 		@param			aDataLogger The output logging object.
       
  8263 		@param			aObserver The observer of this UnitTest.
       
  8264 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8265 		@pre 			None.
       
  8266 		@post			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully constructed.
       
  8267 	*/
       
  8268 	inline CWspHeaderReader_UpgradeMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8269 											MUnitTestObserver& aObserver);
       
  8270 
       
  8271 	/**
       
  8272 		@fn				void ConstructL()
       
  8273 		Intended Usage	: Second phase of safe two phase construction, 
       
  8274 		to complete the object initialisation.
       
  8275 		Error Condition	: Leaves with an error code.
       
  8276 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8277 		@since			7.0
       
  8278 		@return			None 
       
  8279 		@pre 			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully constructed.
       
  8280 		@post			CWspHeaderReader_UpgradeMultiHeader_UnitTest is fully initialized.
       
  8281 	*/
       
  8282 	void ConstructL();
       
  8283 
       
  8284 	/**
       
  8285 	The context of the Unit Test.
       
  8286 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8287 	 */
       
  8288 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8289 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8290 	/* C'tor, d'tor, and method transition validators */
       
  8291 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8292 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iUpgradeMultiHeaderValidator;
       
  8293 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8294 	};	// CWspHeaderReader_UpgradeMultiHeader_UnitTest
       
  8295 
       
  8296 // ______________________________________________________________________________
       
  8297 //
       
  8298 /**
       
  8299 	@internal
       
  8300 	@class CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8301 	@Depends CWspHeaderReader & CUnitTest 
       
  8302 
       
  8303 	Comments : Unit Test for AllowMultiHeader on CWspHeaderReader, the class under test.
       
  8304  */
       
  8305 class CWspHeaderReader_AllowMultiHeader_UnitTest : public CUnitTest
       
  8306 	{
       
  8307 public:
       
  8308 	/**
       
  8309 		@fn				NewL(CDataLogger& aDataLogger,
       
  8310 							MUnitTestObserver& aObserver)
       
  8311 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8312 						cleanup stack.
       
  8313 		Error Condition	: Leaves with the error code.
       
  8314 		@exceptions		KErrNoMemory
       
  8315 		@since			7.0
       
  8316 		@param			aDataLogger The output logging object.
       
  8317 		@param			aObserver The observer of this UnitTest.
       
  8318 		@return			CWspHeaderReader_AllowMultiHeader_UnitTest* The constructed object.
       
  8319 		@pre 			None.
       
  8320 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed, and initialized.
       
  8321 	 */
       
  8322 	static CWspHeaderReader_AllowMultiHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8323 											MUnitTestObserver& aObserver);
       
  8324 
       
  8325 	/**
       
  8326 		@fn				RunError(TInt aError)
       
  8327 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8328 						to restore the CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8329 						object to a sensible state.
       
  8330 						(called by the Active Scheduler immediately before the Panic).
       
  8331 		Error Condition	: @see CUnitTest::RunError().
       
  8332 		@since			7.0
       
  8333 		@return			KErrNone if cleanup successful, otherwise
       
  8334 						@see CUnitTest::RunError()
       
  8335 		@pre 			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed, and initialized.
       
  8336 		@post			The object has been restored to a sensible state.
       
  8337 	 */
       
  8338 	inline TInt RunError(TInt aError);
       
  8339 
       
  8340 	/**
       
  8341 		@fn				~CWspHeaderReader_AllowMultiHeader_UnitTest()
       
  8342 		Intended Usage	: Standard Destructor.
       
  8343 		Error Condition	: None.	
       
  8344 		@since			7.0
       
  8345 		@pre 			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed.
       
  8346 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully destroyed.
       
  8347 	*/
       
  8348 	~CWspHeaderReader_AllowMultiHeader_UnitTest();
       
  8349 
       
  8350 private:
       
  8351 	/**
       
  8352 		@fn				CWspHeaderReader_AllowMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8353 														MUnitTestObserver& aObserver)
       
  8354 		Intended Usage	: Default constructor.
       
  8355 		Error Condition	: None. 
       
  8356 		@since			7.0
       
  8357 		@param			aDataLogger The output logging object.
       
  8358 		@param			aObserver The observer of this UnitTest.
       
  8359 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8360 		@pre 			None.
       
  8361 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed.
       
  8362 	*/
       
  8363 	inline CWspHeaderReader_AllowMultiHeader_UnitTest(CDataLogger& aDataLogger,
       
  8364 											MUnitTestObserver& aObserver);
       
  8365 
       
  8366 	/**
       
  8367 		@fn				void ConstructL()
       
  8368 		Intended Usage	: Second phase of safe two phase construction, 
       
  8369 		to complete the object initialisation.
       
  8370 		Error Condition	: Leaves with an error code.
       
  8371 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8372 		@since			7.0
       
  8373 		@return			None 
       
  8374 		@pre 			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed.
       
  8375 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully initialized.
       
  8376 	*/
       
  8377 	void ConstructL();
       
  8378 
       
  8379 	/**
       
  8380 	The context of the Unit Test.
       
  8381 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8382 	 */
       
  8383 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8384 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8385 	/* C'tor, d'tor, and method transition validators */
       
  8386 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8387 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iAllowMultiHeaderValidator;
       
  8388 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8389 	};	// CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8390 
       
  8391 // ______________________________________________________________________________
       
  8392 //
       
  8393 /**
       
  8394 	@internal
       
  8395 	@class CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8396 	@Depends CWspHeaderReader & CUnitTest 
       
  8397 
       
  8398 	Comments : Unit Test for AllowMultiHeader on CWspHeaderReader, the class under test.
       
  8399  */
       
  8400 class CWspHeaderReader_UnknownHeader_UnitTest : public CUnitTest
       
  8401 	{
       
  8402 public:
       
  8403 	/**
       
  8404 		@fn				NewL(CDataLogger& aDataLogger,
       
  8405 							MUnitTestObserver& aObserver)
       
  8406 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8407 						cleanup stack.
       
  8408 		Error Condition	: Leaves with the error code.
       
  8409 		@exceptions		KErrNoMemory
       
  8410 		@since			7.0
       
  8411 		@param			aDataLogger The output logging object.
       
  8412 		@param			aObserver The observer of this UnitTest.
       
  8413 		@return			CWspHeaderReader_AllowMultiHeader_UnitTest* The constructed object.
       
  8414 		@pre 			None.
       
  8415 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed, and initialized.
       
  8416 	 */
       
  8417 	static CWspHeaderReader_UnknownHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8418 											MUnitTestObserver& aObserver);
       
  8419 
       
  8420 	/**
       
  8421 		@fn				RunError(TInt aError)
       
  8422 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8423 						to restore the CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8424 						object to a sensible state.
       
  8425 						(called by the Active Scheduler immediately before the Panic).
       
  8426 		Error Condition	: @see CUnitTest::RunError().
       
  8427 		@since			7.0
       
  8428 		@return			KErrNone if cleanup successful, otherwise
       
  8429 						@see CUnitTest::RunError()
       
  8430 		@pre 			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed, and initialized.
       
  8431 		@post			The object has been restored to a sensible state.
       
  8432 	 */
       
  8433 	inline TInt RunError(TInt aError);
       
  8434 
       
  8435 	/**
       
  8436 		@fn				~CWspHeaderReader_UnknownHeader_UnitTest()
       
  8437 		Intended Usage	: Standard Destructor.
       
  8438 		Error Condition	: None.	
       
  8439 		@since			7.0
       
  8440 		@pre 			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed.
       
  8441 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully destroyed.
       
  8442 	*/
       
  8443 	~CWspHeaderReader_UnknownHeader_UnitTest();
       
  8444 
       
  8445 private:
       
  8446 	/**
       
  8447 		@fn				CWspHeaderReader_UnknownHeader_UnitTest(CDataLogger& aDataLogger,
       
  8448 														MUnitTestObserver& aObserver)
       
  8449 		Intended Usage	: Default constructor.
       
  8450 		Error Condition	: None. 
       
  8451 		@since			7.0
       
  8452 		@param			aDataLogger The output logging object.
       
  8453 		@param			aObserver The observer of this UnitTest.
       
  8454 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8455 		@pre 			None.
       
  8456 		@post			CWspHeaderReader_AllowMultiHeader_UnitTest is fully constructed.
       
  8457 	*/
       
  8458 	inline CWspHeaderReader_UnknownHeader_UnitTest(CDataLogger& aDataLogger,
       
  8459 											MUnitTestObserver& aObserver);
       
  8460 
       
  8461 	/**
       
  8462 		@fn				void ConstructL()
       
  8463 		Intended Usage	: Second phase of safe two phase construction, 
       
  8464 		to complete the object initialisation.
       
  8465 		Error Condition	: Leaves with an error code.
       
  8466 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8467 		@since			7.0
       
  8468 		@return			None 
       
  8469 		@pre 			CWspHeaderReader_UnknownHeader_UnitTest is fully constructed.
       
  8470 		@post			CWspHeaderReader_UnknownHeader_UnitTest is fully initialized.
       
  8471 	*/
       
  8472 	void ConstructL();
       
  8473 
       
  8474 	/**
       
  8475 	The context of the Unit Test.
       
  8476 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8477 	 */
       
  8478 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8479 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8480 	/* C'tor, d'tor, and method transition validators */
       
  8481 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8482 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iUnknownHeaderValidator;
       
  8483 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8484 	};	// CWspHeaderReader_UnknownHeader_UnitTest
       
  8485 
       
  8486 // ______________________________________________________________________________
       
  8487 //
       
  8488 /**
       
  8489 	@internal
       
  8490 	@class CWspHeaderReader_UnknownHeaderNull_UnitTest
       
  8491 	@Depends CWspHeaderReader & CUnitTest 
       
  8492 
       
  8493 	Comments : Unit Test for UnknownHeaderNull on CWspHeaderReader, the class under test.
       
  8494  */
       
  8495 class CWspHeaderReader_UnknownHeaderNull_UnitTest : public CUnitTest
       
  8496 	{
       
  8497 public:
       
  8498 	/**
       
  8499 		@fn				NewL(CDataLogger& aDataLogger,
       
  8500 							MUnitTestObserver& aObserver)
       
  8501 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8502 						cleanup stack.
       
  8503 		Error Condition	: Leaves with the error code.
       
  8504 		@exceptions		KErrNoMemory
       
  8505 		@since			7.0
       
  8506 		@param			aDataLogger The output logging object.
       
  8507 		@param			aObserver The observer of this UnitTest.
       
  8508 		@return			CWspHeaderReader_UnknownHeaderNull_UnitTest* The constructed object.
       
  8509 		@pre 			None.
       
  8510 		@post			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully constructed, and initialized.
       
  8511 	 */
       
  8512 	static CWspHeaderReader_UnknownHeaderNull_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8513 											MUnitTestObserver& aObserver);
       
  8514 
       
  8515 	/**
       
  8516 		@fn				RunError(TInt aError)
       
  8517 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8518 						to restore the CWspHeaderReader_ContentTypeNull_UnitTest
       
  8519 						object to a sensible state.
       
  8520 						(called by the Active Scheduler immediately before the Panic).
       
  8521 		Error Condition	: @see CUnitTest::RunError().
       
  8522 		@since			7.0
       
  8523 		@return			KErrNone if cleanup successful, otherwise
       
  8524 						@see CUnitTest::RunError()
       
  8525 		@pre 			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully constructed, and initialized.
       
  8526 		@post			The object has been restored to a sensible state.
       
  8527 	 */
       
  8528 	inline TInt RunError(TInt aError);
       
  8529 
       
  8530 	/**
       
  8531 		@fn				~CWspHeaderReader_UnknownHeaderNull_UnitTest()
       
  8532 		Intended Usage	: Standard Destructor.
       
  8533 		Error Condition	: None.	
       
  8534 		@since			7.0
       
  8535 		@pre 			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully constructed.
       
  8536 		@post			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully destroyed.
       
  8537 	*/
       
  8538 	~CWspHeaderReader_UnknownHeaderNull_UnitTest();
       
  8539 
       
  8540 private:
       
  8541 	/**
       
  8542 		@fn				CWspHeaderReader_UnknownHeaderNull_UnitTest(CDataLogger& aDataLogger,
       
  8543 														MUnitTestObserver& aObserver)
       
  8544 		Intended Usage	: Default constructor.
       
  8545 		Error Condition	: None. 
       
  8546 		@since			7.0
       
  8547 		@param			aDataLogger The output logging object.
       
  8548 		@param			aObserver The observer of this UnitTest.
       
  8549 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8550 		@pre 			None.
       
  8551 		@post			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully constructed.
       
  8552 	*/
       
  8553 	inline CWspHeaderReader_UnknownHeaderNull_UnitTest(CDataLogger& aDataLogger,
       
  8554 											MUnitTestObserver& aObserver);
       
  8555 
       
  8556 	/**
       
  8557 		@fn				void ConstructL()
       
  8558 		Intended Usage	: Second phase of safe two phase construction, 
       
  8559 		to complete the object initialisation.
       
  8560 		Error Condition	: Leaves with an error code.
       
  8561 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8562 		@since			7.0
       
  8563 		@return			None 
       
  8564 		@pre 			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully constructed.
       
  8565 		@post			CWspHeaderReader_UnknownHeaderNull_UnitTest is fully initialized.
       
  8566 	*/
       
  8567 	void ConstructL();
       
  8568 
       
  8569 	/**
       
  8570 	The context of the Unit Test.
       
  8571 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8572 	 */
       
  8573 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8574 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8575 	/* C'tor, d'tor, and method transition validators */
       
  8576 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8577 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iUnknownHeaderNullValidator;
       
  8578 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8579 	};	// CWspHeaderReader_UnknownHeaderNull_UnitTest
       
  8580 
       
  8581 // ______________________________________________________________________________
       
  8582 //
       
  8583 /**
       
  8584 	@internal
       
  8585 	@class CWspHeaderReader_MultiUnknownHeader_UnitTest
       
  8586 	@Depends CWspHeaderReader & CUnitTest 
       
  8587 
       
  8588 	Comments : Unit Test for MultiUnknownHeader on CWspHeaderReader, the class under test.
       
  8589  */
       
  8590 class CWspHeaderReader_MultiUnknownHeader_UnitTest : public CUnitTest
       
  8591 	{
       
  8592 public:
       
  8593 	/**
       
  8594 		@fn				NewL(CDataLogger& aDataLogger,
       
  8595 							MUnitTestObserver& aObserver)
       
  8596 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8597 						cleanup stack.
       
  8598 		Error Condition	: Leaves with the error code.
       
  8599 		@exceptions		KErrNoMemory
       
  8600 		@since			7.0
       
  8601 		@param			aDataLogger The output logging object.
       
  8602 		@param			aObserver The observer of this UnitTest.
       
  8603 		@return			CWspHeaderReader_MultiUnknownHeader_UnitTest* The constructed object.
       
  8604 		@pre 			None.
       
  8605 		@post			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully constructed, and initialized.
       
  8606 	 */
       
  8607 	static CWspHeaderReader_MultiUnknownHeader_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8608 											MUnitTestObserver& aObserver);
       
  8609 
       
  8610 	/**
       
  8611 		@fn				RunError(TInt aError)
       
  8612 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8613 						to restore the CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8614 						object to a sensible state.
       
  8615 						(called by the Active Scheduler immediately before the Panic).
       
  8616 		Error Condition	: @see CUnitTest::RunError().
       
  8617 		@since			7.0
       
  8618 		@return			KErrNone if cleanup successful, otherwise
       
  8619 						@see CUnitTest::RunError()
       
  8620 		@pre 			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully constructed, and initialized.
       
  8621 		@post			The object has been restored to a sensible state.
       
  8622 	 */
       
  8623 	inline TInt RunError(TInt aError);
       
  8624 
       
  8625 	/**
       
  8626 		@fn				~CWspHeaderReader_MultiUnknownHeader_UnitTest()
       
  8627 		Intended Usage	: Standard Destructor.
       
  8628 		Error Condition	: None.	
       
  8629 		@since			7.0
       
  8630 		@pre 			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully constructed.
       
  8631 		@post			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully destroyed.
       
  8632 	*/
       
  8633 	~CWspHeaderReader_MultiUnknownHeader_UnitTest();
       
  8634 
       
  8635 private:
       
  8636 	/**
       
  8637 		@fn				CWspHeaderReader_MultiUnknownHeader_UnitTest(CDataLogger& aDataLogger,
       
  8638 														MUnitTestObserver& aObserver)
       
  8639 		Intended Usage	: Default constructor.
       
  8640 		Error Condition	: None. 
       
  8641 		@since			7.0
       
  8642 		@param			aDataLogger The output logging object.
       
  8643 		@param			aObserver The observer of this UnitTest.
       
  8644 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8645 		@pre 			None.
       
  8646 		@post			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully constructed.
       
  8647 	*/
       
  8648 	inline CWspHeaderReader_MultiUnknownHeader_UnitTest(CDataLogger& aDataLogger,
       
  8649 											MUnitTestObserver& aObserver);
       
  8650 
       
  8651 	/**
       
  8652 		@fn				void ConstructL()
       
  8653 		Intended Usage	: Second phase of safe two phase construction, 
       
  8654 		to complete the object initialisation.
       
  8655 		Error Condition	: Leaves with an error code.
       
  8656 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8657 		@since			7.0
       
  8658 		@return			None 
       
  8659 		@pre 			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully constructed.
       
  8660 		@post			CWspHeaderReader_MultiUnknownHeader_UnitTest is fully initialized.
       
  8661 	*/
       
  8662 	void ConstructL();
       
  8663 
       
  8664 	/**
       
  8665 	The context of the Unit Test.
       
  8666 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8667 	 */
       
  8668 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8669 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8670 	/* C'tor, d'tor, and method transition validators */
       
  8671 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8672 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iMultiUnknownHeaderValidator;
       
  8673 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8674 	};	// CWspHeaderReader_AllowMultiHeader_UnitTest
       
  8675 
       
  8676 // ______________________________________________________________________________
       
  8677 //
       
  8678 /**
       
  8679 	@internal
       
  8680 	@class CWspHeaderReader_ProfileWarningWarnCode_UnitTest
       
  8681 	@Depends CWspHeaderReader & CUnitTest 
       
  8682 
       
  8683 	Comments : Unit Test for ProfileWarningWarnCode on CWspHeaderReader, the class under test.
       
  8684  */
       
  8685 class CWspHeaderReader_ProfileWarningWarnCode_UnitTest : public CUnitTest
       
  8686 	{
       
  8687 public:
       
  8688 	/**
       
  8689 		@fn				NewL(CDataLogger& aDataLogger,
       
  8690 							MUnitTestObserver& aObserver)
       
  8691 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8692 						cleanup stack.
       
  8693 		Error Condition	: Leaves with the error code.
       
  8694 		@exceptions		KErrNoMemory
       
  8695 		@since			7.0
       
  8696 		@param			aDataLogger The output logging object.
       
  8697 		@param			aObserver The observer of this UnitTest.
       
  8698 		@return			CWspHeaderReader_ProfileWarningWarnCode_UnitTest* The constructed object.
       
  8699 		@pre 			None.
       
  8700 		@post			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully constructed, and initialized.
       
  8701 	 */
       
  8702 	static CWspHeaderReader_ProfileWarningWarnCode_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8703 											MUnitTestObserver& aObserver);
       
  8704 
       
  8705 	/**
       
  8706 		@fn				RunError(TInt aError)
       
  8707 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8708 						to restore the CWspHeaderReader_ProfileWarningWarnCode_UnitTest
       
  8709 						object to a sensible state.
       
  8710 						(called by the Active Scheduler immediately before the Panic).
       
  8711 		Error Condition	: @see CUnitTest::RunError().
       
  8712 		@since			7.0
       
  8713 		@return			KErrNone if cleanup successful, otherwise
       
  8714 						@see CUnitTest::RunError()
       
  8715 		@pre 			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully constructed, and initialized.
       
  8716 		@post			The object has been restored to a sensible state.
       
  8717 	 */
       
  8718 	inline TInt RunError(TInt aError);
       
  8719 
       
  8720 	/**
       
  8721 		@fn				~CWspHeaderReader_ProfileWarningWarnCode_UnitTest()
       
  8722 		Intended Usage	: Standard Destructor.
       
  8723 		Error Condition	: None.	
       
  8724 		@since			7.0
       
  8725 		@pre 			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully constructed.
       
  8726 		@post			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully destroyed.
       
  8727 	*/
       
  8728 	~CWspHeaderReader_ProfileWarningWarnCode_UnitTest();
       
  8729 
       
  8730 private:
       
  8731 	/**
       
  8732 		@fn				CWspHeaderReader_ProfileWarningWarnCode_UnitTest(CDataLogger& aDataLogger,
       
  8733 														MUnitTestObserver& aObserver)
       
  8734 		Intended Usage	: Default constructor.
       
  8735 		Error Condition	: None. 
       
  8736 		@since			7.0
       
  8737 		@param			aDataLogger The output logging object.
       
  8738 		@param			aObserver The observer of this UnitTest.
       
  8739 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8740 		@pre 			None.
       
  8741 		@post			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully constructed.
       
  8742 	*/
       
  8743 	inline CWspHeaderReader_ProfileWarningWarnCode_UnitTest(CDataLogger& aDataLogger,
       
  8744 											MUnitTestObserver& aObserver);
       
  8745 
       
  8746 	/**
       
  8747 		@fn				void ConstructL()
       
  8748 		Intended Usage	: Second phase of safe two phase construction, 
       
  8749 		to complete the object initialisation.
       
  8750 		Error Condition	: Leaves with an error code.
       
  8751 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8752 		@since			7.0
       
  8753 		@return			None 
       
  8754 		@pre 			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully constructed.
       
  8755 		@post			CWspHeaderReader_ProfileWarningWarnCode_UnitTest is fully initialized.
       
  8756 	*/
       
  8757 	void ConstructL();
       
  8758 
       
  8759 	/**
       
  8760 	The context of the Unit Test.
       
  8761 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8762 	 */
       
  8763 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8764 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8765 	/* C'tor, d'tor, and method transition validators */
       
  8766 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8767 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningWarnCodeValidator;
       
  8768 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8769 	};	// CWspHeaderReader_ProfileWarningWarnCode_UnitTest
       
  8770 
       
  8771 // ______________________________________________________________________________
       
  8772 //
       
  8773 /**
       
  8774 	@internal
       
  8775 	@class CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest
       
  8776 	@Depends CWspHeaderReader & CUnitTest 
       
  8777 
       
  8778 	Comments : Unit Test for ProfileWarningWarnCodeTextWarnTarget on CWspHeaderReader, the class under test.
       
  8779  */
       
  8780 class CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest : public CUnitTest
       
  8781 	{
       
  8782 public:
       
  8783 	/**
       
  8784 		@fn				NewL(CDataLogger& aDataLogger,
       
  8785 							MUnitTestObserver& aObserver)
       
  8786 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8787 						cleanup stack.
       
  8788 		Error Condition	: Leaves with the error code.
       
  8789 		@exceptions		KErrNoMemory
       
  8790 		@since			7.0
       
  8791 		@param			aDataLogger The output logging object.
       
  8792 		@param			aObserver The observer of this UnitTest.
       
  8793 		@return			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest* The constructed object.
       
  8794 		@pre 			None.
       
  8795 		@post			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully constructed, and initialized.
       
  8796 	 */
       
  8797 	static CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8798 											MUnitTestObserver& aObserver);
       
  8799 
       
  8800 	/**
       
  8801 		@fn				RunError(TInt aError)
       
  8802 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8803 						to restore the CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest
       
  8804 						object to a sensible state.
       
  8805 						(called by the Active Scheduler immediately before the Panic).
       
  8806 		Error Condition	: @see CUnitTest::RunError().
       
  8807 		@since			7.0
       
  8808 		@return			KErrNone if cleanup successful, otherwise
       
  8809 						@see CUnitTest::RunError()
       
  8810 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully constructed, and initialized.
       
  8811 		@post			The object has been restored to a sensible state.
       
  8812 	 */
       
  8813 	inline TInt RunError(TInt aError);
       
  8814 
       
  8815 	/**
       
  8816 		@fn				~CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest()
       
  8817 		Intended Usage	: Standard Destructor.
       
  8818 		Error Condition	: None.	
       
  8819 		@since			7.0
       
  8820 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully constructed.
       
  8821 		@post			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully destroyed.
       
  8822 	*/
       
  8823 	~CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest();
       
  8824 
       
  8825 private:
       
  8826 	/**
       
  8827 		@fn				CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  8828 														MUnitTestObserver& aObserver)
       
  8829 		Intended Usage	: Default constructor.
       
  8830 		Error Condition	: None. 
       
  8831 		@since			7.0
       
  8832 		@param			aDataLogger The output logging object.
       
  8833 		@param			aObserver The observer of this UnitTest.
       
  8834 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8835 		@pre 			None.
       
  8836 		@post			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully constructed.
       
  8837 	*/
       
  8838 	inline CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  8839 											MUnitTestObserver& aObserver);
       
  8840 
       
  8841 	/**
       
  8842 		@fn				void ConstructL()
       
  8843 		Intended Usage	: Second phase of safe two phase construction, 
       
  8844 		to complete the object initialisation.
       
  8845 		Error Condition	: Leaves with an error code.
       
  8846 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8847 		@since			7.0
       
  8848 		@return			None 
       
  8849 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully constructed.
       
  8850 		@post			CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest is fully initialized.
       
  8851 	*/
       
  8852 	void ConstructL();
       
  8853 
       
  8854 	/**
       
  8855 	The context of the Unit Test.
       
  8856 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8857 	 */
       
  8858 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8859 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8860 	/* C'tor, d'tor, and method transition validators */
       
  8861 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8862 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningWarnCodeTextWarnTargetValidator;
       
  8863 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8864 	};	// CWspHeaderReader_ProfileWarningWarnCodeTextWarnTarget_UnitTest
       
  8865 
       
  8866 // ______________________________________________________________________________
       
  8867 //
       
  8868 /**
       
  8869 	@internal
       
  8870 	@class CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest
       
  8871 	@Depends CWspHeaderReader & CUnitTest 
       
  8872 
       
  8873 	Comments : Unit Test for ProfileWarningWarnCodeHostWarnTarget on CWspHeaderReader, the class under test.
       
  8874  */
       
  8875 class CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest : public CUnitTest
       
  8876 	{
       
  8877 public:
       
  8878 	/**
       
  8879 		@fn				NewL(CDataLogger& aDataLogger,
       
  8880 							MUnitTestObserver& aObserver)
       
  8881 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8882 						cleanup stack.
       
  8883 		Error Condition	: Leaves with the error code.
       
  8884 		@exceptions		KErrNoMemory
       
  8885 		@since			7.0
       
  8886 		@param			aDataLogger The output logging object.
       
  8887 		@param			aObserver The observer of this UnitTest.
       
  8888 		@return			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest* The constructed object.
       
  8889 		@pre 			None.
       
  8890 		@post			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully constructed, and initialized.
       
  8891 	 */
       
  8892 	static CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8893 											MUnitTestObserver& aObserver);
       
  8894 
       
  8895 	/**
       
  8896 		@fn				RunError(TInt aError)
       
  8897 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8898 						to restore the CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest
       
  8899 						object to a sensible state.
       
  8900 						(called by the Active Scheduler immediately before the Panic).
       
  8901 		Error Condition	: @see CUnitTest::RunError().
       
  8902 		@since			7.0
       
  8903 		@return			KErrNone if cleanup successful, otherwise
       
  8904 						@see CUnitTest::RunError()
       
  8905 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully constructed, and initialized.
       
  8906 		@post			The object has been restored to a sensible state.
       
  8907 	 */
       
  8908 	inline TInt RunError(TInt aError);
       
  8909 
       
  8910 	/**
       
  8911 		@fn				~CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest()
       
  8912 		Intended Usage	: Standard Destructor.
       
  8913 		Error Condition	: None.	
       
  8914 		@since			7.0
       
  8915 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  8916 		@post			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully destroyed.
       
  8917 	*/
       
  8918 	~CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest();
       
  8919 
       
  8920 private:
       
  8921 	/**
       
  8922 		@fn				CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  8923 														MUnitTestObserver& aObserver)
       
  8924 		Intended Usage	: Default constructor.
       
  8925 		Error Condition	: None. 
       
  8926 		@since			7.0
       
  8927 		@param			aDataLogger The output logging object.
       
  8928 		@param			aObserver The observer of this UnitTest.
       
  8929 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  8930 		@pre 			None.
       
  8931 		@post			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  8932 	*/
       
  8933 	inline CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  8934 											MUnitTestObserver& aObserver);
       
  8935 
       
  8936 	/**
       
  8937 		@fn				void ConstructL()
       
  8938 		Intended Usage	: Second phase of safe two phase construction, 
       
  8939 		to complete the object initialisation.
       
  8940 		Error Condition	: Leaves with an error code.
       
  8941 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  8942 		@since			7.0
       
  8943 		@return			None 
       
  8944 		@pre 			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  8945 		@post			CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest is fully initialized.
       
  8946 	*/
       
  8947 	void ConstructL();
       
  8948 
       
  8949 	/**
       
  8950 	The context of the Unit Test.
       
  8951 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  8952 	 */
       
  8953 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  8954 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  8955 	/* C'tor, d'tor, and method transition validators */
       
  8956 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  8957 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningWarnCodeHostWarnTargetValidator;
       
  8958 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  8959 	};	// CWspHeaderReader_ProfileWarningWarnCodeHostWarnTarget_UnitTest
       
  8960 
       
  8961 // ______________________________________________________________________________
       
  8962 //
       
  8963 /**
       
  8964 	@internal
       
  8965 	@class CWspHeaderReader_ProfileWarningLongFullValue_UnitTest
       
  8966 	@Depends CWspHeaderReader & CUnitTest 
       
  8967 
       
  8968 	Comments : Unit Test for ProfileWarningLongFullValue on CWspHeaderReader, the class under test.
       
  8969  */
       
  8970 class CWspHeaderReader_ProfileWarningLongFullValue_UnitTest : public CUnitTest
       
  8971 	{
       
  8972 public:
       
  8973 	/**
       
  8974 		@fn				NewL(CDataLogger& aDataLogger,
       
  8975 							MUnitTestObserver& aObserver)
       
  8976 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  8977 						cleanup stack.
       
  8978 		Error Condition	: Leaves with the error code.
       
  8979 		@exceptions		KErrNoMemory
       
  8980 		@since			7.0
       
  8981 		@param			aDataLogger The output logging object.
       
  8982 		@param			aObserver The observer of this UnitTest.
       
  8983 		@return			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest* The constructed object.
       
  8984 		@pre 			None.
       
  8985 		@post			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully constructed, and initialized.
       
  8986 	 */
       
  8987 	static CWspHeaderReader_ProfileWarningLongFullValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  8988 											MUnitTestObserver& aObserver);
       
  8989 
       
  8990 	/**
       
  8991 		@fn				RunError(TInt aError)
       
  8992 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  8993 						to restore the CWspHeaderReader_ProfileWarningLongFullValue_UnitTest
       
  8994 						object to a sensible state.
       
  8995 						(called by the Active Scheduler immediately before the Panic).
       
  8996 		Error Condition	: @see CUnitTest::RunError().
       
  8997 		@since			7.0
       
  8998 		@return			KErrNone if cleanup successful, otherwise
       
  8999 						@see CUnitTest::RunError()
       
  9000 		@pre 			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully constructed, and initialized.
       
  9001 		@post			The object has been restored to a sensible state.
       
  9002 	 */
       
  9003 	inline TInt RunError(TInt aError);
       
  9004 
       
  9005 	/**
       
  9006 		@fn				~CWspHeaderReader_ProfileWarningLongFullValue_UnitTest()
       
  9007 		Intended Usage	: Standard Destructor.
       
  9008 		Error Condition	: None.	
       
  9009 		@since			7.0
       
  9010 		@pre 			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully constructed.
       
  9011 		@post			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully destroyed.
       
  9012 	*/
       
  9013 	~CWspHeaderReader_ProfileWarningLongFullValue_UnitTest();
       
  9014 
       
  9015 private:
       
  9016 	/**
       
  9017 		@fn				CWspHeaderReader_ProfileWarningLongFullValue_UnitTest(CDataLogger& aDataLogger,
       
  9018 														MUnitTestObserver& aObserver)
       
  9019 		Intended Usage	: Default constructor.
       
  9020 		Error Condition	: None. 
       
  9021 		@since			7.0
       
  9022 		@param			aDataLogger The output logging object.
       
  9023 		@param			aObserver The observer of this UnitTest.
       
  9024 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  9025 		@pre 			None.
       
  9026 		@post			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully constructed.
       
  9027 	*/
       
  9028 	inline CWspHeaderReader_ProfileWarningLongFullValue_UnitTest(CDataLogger& aDataLogger,
       
  9029 											MUnitTestObserver& aObserver);
       
  9030 
       
  9031 	/**
       
  9032 		@fn				void ConstructL()
       
  9033 		Intended Usage	: Second phase of safe two phase construction, 
       
  9034 		to complete the object initialisation.
       
  9035 		Error Condition	: Leaves with an error code.
       
  9036 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  9037 		@since			7.0
       
  9038 		@return			None 
       
  9039 		@pre 			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully constructed.
       
  9040 		@post			CWspHeaderReader_ProfileWarningLongFullValue_UnitTest is fully initialized.
       
  9041 	*/
       
  9042 	void ConstructL();
       
  9043 
       
  9044 	/**
       
  9045 	The context of the Unit Test.
       
  9046 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  9047 	 */
       
  9048 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  9049 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  9050 	/* C'tor, d'tor, and method transition validators */
       
  9051 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  9052 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningLongFullValueValidator;
       
  9053 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  9054 	};	// CWspHeaderReader_ProfileWarningLongFullValue_UnitTest
       
  9055 
       
  9056 // ______________________________________________________________________________
       
  9057 //
       
  9058 /**
       
  9059 	@internal
       
  9060 	@class CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest
       
  9061 	@Depends CWspHeaderReader & CUnitTest 
       
  9062 
       
  9063 	Comments : Unit Test for ProfileWarningLongWarnCodeHostWarnTarget on CWspHeaderReader, the class under test.
       
  9064  */
       
  9065 class CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest : public CUnitTest
       
  9066 	{
       
  9067 public:
       
  9068 	/**
       
  9069 		@fn				NewL(CDataLogger& aDataLogger,
       
  9070 							MUnitTestObserver& aObserver)
       
  9071 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  9072 						cleanup stack.
       
  9073 		Error Condition	: Leaves with the error code.
       
  9074 		@exceptions		KErrNoMemory
       
  9075 		@since			7.0
       
  9076 		@param			aDataLogger The output logging object.
       
  9077 		@param			aObserver The observer of this UnitTest.
       
  9078 		@return			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest* The constructed object.
       
  9079 		@pre 			None.
       
  9080 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully constructed, and initialized.
       
  9081 	 */
       
  9082 	static CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest* NewL(CDataLogger& aDataLogger,
       
  9083 											MUnitTestObserver& aObserver);
       
  9084 
       
  9085 	/**
       
  9086 		@fn				RunError(TInt aError)
       
  9087 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  9088 						to restore the CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest
       
  9089 						object to a sensible state.
       
  9090 						(called by the Active Scheduler immediately before the Panic).
       
  9091 		Error Condition	: @see CUnitTest::RunError().
       
  9092 		@since			7.0
       
  9093 		@return			KErrNone if cleanup successful, otherwise
       
  9094 						@see CUnitTest::RunError()
       
  9095 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully constructed, and initialized.
       
  9096 		@post			The object has been restored to a sensible state.
       
  9097 	 */
       
  9098 	inline TInt RunError(TInt aError);
       
  9099 
       
  9100 	/**
       
  9101 		@fn				~CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest()
       
  9102 		Intended Usage	: Standard Destructor.
       
  9103 		Error Condition	: None.	
       
  9104 		@since			7.0
       
  9105 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  9106 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully destroyed.
       
  9107 	*/
       
  9108 	~CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest();
       
  9109 
       
  9110 private:
       
  9111 	/**
       
  9112 		@fn				CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  9113 														MUnitTestObserver& aObserver)
       
  9114 		Intended Usage	: Default constructor.
       
  9115 		Error Condition	: None. 
       
  9116 		@since			7.0
       
  9117 		@param			aDataLogger The output logging object.
       
  9118 		@param			aObserver The observer of this UnitTest.
       
  9119 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  9120 		@pre 			None.
       
  9121 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  9122 	*/
       
  9123 	inline CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest(CDataLogger& aDataLogger,
       
  9124 											MUnitTestObserver& aObserver);
       
  9125 
       
  9126 	/**
       
  9127 		@fn				void ConstructL()
       
  9128 		Intended Usage	: Second phase of safe two phase construction, 
       
  9129 		to complete the object initialisation.
       
  9130 		Error Condition	: Leaves with an error code.
       
  9131 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  9132 		@since			7.0
       
  9133 		@return			None 
       
  9134 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully constructed.
       
  9135 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest is fully initialized.
       
  9136 	*/
       
  9137 	void ConstructL();
       
  9138 
       
  9139 	/**
       
  9140 	The context of the Unit Test.
       
  9141 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  9142 	 */
       
  9143 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  9144 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  9145 	/* C'tor, d'tor, and method transition validators */
       
  9146 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  9147 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningLongWarnCodeHostWarnTargetValidator;
       
  9148 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  9149 	};	// CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTarget_UnitTest
       
  9150 
       
  9151 // ______________________________________________________________________________
       
  9152 //
       
  9153 /**
       
  9154 	@internal
       
  9155 	@class CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest
       
  9156 	@Depends CWspHeaderReader & CUnitTest 
       
  9157 
       
  9158 	Comments : Unit Test for ProfileWarningLongWarnCodeHostWarnTargetDateValue on CWspHeaderReader, the class under test.
       
  9159  */
       
  9160 class CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest : public CUnitTest
       
  9161 	{
       
  9162 public:
       
  9163 	/**
       
  9164 		@fn				NewL(CDataLogger& aDataLogger,
       
  9165 							MUnitTestObserver& aObserver)
       
  9166 		Intended Usage	: Standard two-phase construction which leaves nothing on the
       
  9167 						cleanup stack.
       
  9168 		Error Condition	: Leaves with the error code.
       
  9169 		@exceptions		KErrNoMemory
       
  9170 		@since			7.0
       
  9171 		@param			aDataLogger The output logging object.
       
  9172 		@param			aObserver The observer of this UnitTest.
       
  9173 		@return			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest* The constructed object.
       
  9174 		@pre 			None.
       
  9175 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully constructed, and initialized.
       
  9176 	 */
       
  9177 	static CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest* NewL(CDataLogger& aDataLogger,
       
  9178 											MUnitTestObserver& aObserver);
       
  9179 
       
  9180 	/**
       
  9181 		@fn				RunError(TInt aError)
       
  9182 		Intended Usage	: Intercept the panic caused by a RunL leave,
       
  9183 						to restore the CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest
       
  9184 						object to a sensible state.
       
  9185 						(called by the Active Scheduler immediately before the Panic).
       
  9186 		Error Condition	: @see CUnitTest::RunError().
       
  9187 		@since			7.0
       
  9188 		@return			KErrNone if cleanup successful, otherwise
       
  9189 						@see CUnitTest::RunError()
       
  9190 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully constructed, and initialized.
       
  9191 		@post			The object has been restored to a sensible state.
       
  9192 	 */
       
  9193 	inline TInt RunError(TInt aError);
       
  9194 
       
  9195 	/**
       
  9196 		@fn				~CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest()
       
  9197 		Intended Usage	: Standard Destructor.
       
  9198 		Error Condition	: None.	
       
  9199 		@since			7.0
       
  9200 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully constructed.
       
  9201 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully destroyed.
       
  9202 	*/
       
  9203 	~CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest();
       
  9204 
       
  9205 private:
       
  9206 	/**
       
  9207 		@fn				CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest(CDataLogger& aDataLogger,
       
  9208 														MUnitTestObserver& aObserver)
       
  9209 		Intended Usage	: Default constructor.
       
  9210 		Error Condition	: None. 
       
  9211 		@since			7.0
       
  9212 		@param			aDataLogger The output logging object.
       
  9213 		@param			aObserver The observer of this UnitTest.
       
  9214 		@param			aStateAccessor WhiteBox state access to the CWspHeaderReader class.
       
  9215 		@pre 			None.
       
  9216 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully constructed.
       
  9217 	*/
       
  9218 	inline CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest(CDataLogger& aDataLogger,
       
  9219 											MUnitTestObserver& aObserver);
       
  9220 
       
  9221 	/**
       
  9222 		@fn				void ConstructL()
       
  9223 		Intended Usage	: Second phase of safe two phase construction, 
       
  9224 		to complete the object initialisation.
       
  9225 		Error Condition	: Leaves with an error code.
       
  9226 		@exception		KErrNoMemory, and @see CUnitTest::BaseNewL().
       
  9227 		@since			7.0
       
  9228 		@return			None 
       
  9229 		@pre 			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully constructed.
       
  9230 		@post			CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest is fully initialized.
       
  9231 	*/
       
  9232 	void ConstructL();
       
  9233 
       
  9234 	/**
       
  9235 	The context of the Unit Test.
       
  9236 	i.e The CWspHeaderReader class tested by this UnitTest's transitions.
       
  9237 	 */
       
  9238 	CWspHeaderReader_UnitTestContext* iUTContext;
       
  9239 	TWspHeaderReader_StateAccessor*	iStateAccessor;
       
  9240 	/* C'tor, d'tor, and method transition validators */
       
  9241 	TWspHeaderReader_Ctor_TransitionValidator*	iCtorValidator;
       
  9242 	TWspHeaderReader_DecodeHeaderL_TransitionValidator*	iProfileWarningLongWarnCodeHostWarnTargetDateValueValidator;
       
  9243 	TWspHeaderReader_Dtor_TransitionValidator*	iDtorValidator;
       
  9244 	};	// CWspHeaderReader_ProfileWarningLongWarnCodeHostWarnTargetDateValue_UnitTest
       
  9245 
       
  9246 
       
  9247 #endif	// __WSPHEADERREADERUNITTEST_H__