applayerprotocols/httptransportfw/Test/T_HttpRegression/t_KHN-4Z7DT7.h
changeset 0 b16258d2340f
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2004-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 // T_BEU-4YJFSK.h
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __T_KHN4Z7DT7_H__
       
    19 #define __T_KHN4Z7DT7_H__
       
    20 
       
    21 
       
    22 #include <e32test.h>
       
    23 #include <http.h>
       
    24 
       
    25 #include "HttpTestCore.h"
       
    26 #include "csrvaddrval.h"
       
    27 
       
    28 class CTestFixKHN4Z7DT7 : public CHttpTestBase, 
       
    29 	public MHTTPTransactionCallback
       
    30 	{
       
    31 public:
       
    32 	static CTestFixKHN4Z7DT7* NewLC(CScriptFile* aIniSettingsFile);
       
    33 	~CTestFixKHN4Z7DT7();
       
    34 	virtual const TDesC& TestName();
       
    35 	void DoRunL();
       
    36 	void DoCancel();
       
    37 
       
    38 protected:
       
    39 	// From MHTTPTransactionCallback
       
    40 	virtual TInt MHFRunError(TInt aError,RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
       
    41 	virtual void MHFRunL(RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
       
    42 
       
    43 private:
       
    44 	CTestFixKHN4Z7DT7(CScriptFile* aIniSettingsFile);
       
    45 
       
    46 private:
       
    47 	CScriptFile* iIniSettingsFile;
       
    48 
       
    49 protected:
       
    50 	TInt iCount;
       
    51 	TInt iError;
       
    52 	RHTTPSession iSession;
       
    53 	RHTTPTransaction iTransaction;
       
    54 	};
       
    55 
       
    56 #endif // __T_KHN4Z7DT7_H__