applayerprotocols/httptransportfw/Test/Integration/inc/testhttpserver.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 // Contains declaration of CTestHttpServer class
       
    15 // @internalAll
       
    16 // 
       
    17 //
       
    18 
       
    19 #ifndef __TEST__HTTP_SERVER_H__
       
    20 #define __TEST__HTTP_SERVER_H__
       
    21 
       
    22 // System Include
       
    23 // For accessing TEF classes 
       
    24 #include <test/testexecuteserverbase.h>
       
    25 
       
    26 /*@{*/
       
    27 // Literal constants for INI file field-names
       
    28 _LIT(KIniSessProxy, 		   "SessProxy");
       
    29 _LIT(KIniSessProxyUsage, 	   "SessProxyUsage");
       
    30 _LIT(KIniTranProxy,        "TranProxy");
       
    31 _LIT(KIniTranProxyUsage,   "TranProxyUsage");
       
    32 _LIT(KIniUri, 		       "Uri");
       
    33 _LIT(KIniRespBodyFileName, "RespBodyFileName");
       
    34 _LIT(KIniFileName,  	   "OutputFileName");
       
    35 _LIT(KIniSessHttpOptUsage, "SessHttpOptUsage");
       
    36 _LIT(KIniTranHttpOptUsage, "TranHttpOptUsage");
       
    37 _LIT(KIniIsEncoded,  "IsEncoded");
       
    38 _LIT(KIniIsDecoded,  "IsDecoded");
       
    39 _LIT(KIniFailTransaction,  "FailTransaction");
       
    40 _LIT(KDisableTransOpt, "DisableTransOpt");
       
    41 _LIT(KIAP, "IAP");
       
    42 /*@}*/
       
    43 _LIT(KTxt, "ERROR");
       
    44 
       
    45 /**
       
    46 This is the test server to test the white/black-list uri service API. 
       
    47 @internalTechnology
       
    48 */
       
    49 class CTestHttpServer : public CTestServer
       
    50 	{
       
    51 public:
       
    52 	// Construction
       
    53 	static	CTestHttpServer* 	NewL();
       
    54 	// Base class pure virtual
       
    55 	virtual CTestStep* 	CreateTestStep(const TDesC& aStepName);
       
    56 	
       
    57 protected:
       
    58 	CTestStep* 	 CreateTestStepL(const TDesC& aStepName);
       
    59 	const TPtrC  ServerName();
       
    60 	};
       
    61 
       
    62 #endif		// __TEST__HTTPEBO_SERVER_H__
       
    63 
       
    64