applayerprotocols/httptransportfw/Test/Acceptance/Iter1/Tc3.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 // Author: Franco.Bellu@symbian.com
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __TC3_H__
       
    19 #define __TC3_H__
       
    20 
       
    21 #include "HttpTestCore.h"
       
    22 #include <http.h>
       
    23 
       
    24 /** 
       
    25  * like TC2 but the request is submitted and the response' headers are received
       
    26  */
       
    27 class CHttpTestCase3: public CHttpTestTransBase, public MHTTPTransactionCallback
       
    28 	{
       
    29 	//to implement in this class' member functs definitions
       
    30 public:
       
    31 	virtual void MHFRunL(RHTTPTransaction aTransaction,
       
    32 						 const THTTPEvent& aEvent) ;
       
    33 	virtual TInt MHFRunError(TInt aError,RHTTPTransaction aTransaction, const THTTPEvent& aEvent);
       
    34 	virtual ~CHttpTestCase3();
       
    35 private:	
       
    36 	const TDesC& TestName();
       
    37 	virtual void DoRunL();
       
    38 	virtual TInt RunError(TInt aErr);
       
    39 	virtual void DoCancel();	
       
    40 //	virtual const TDesC& TestName();
       
    41 protected:
       
    42 	void CompleteOwnRequest();
       
    43 	};
       
    44 
       
    45 #endif