applayerprotocols/httptransportfw/Test/Acceptance/Iter1/Tc1.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 // Author: Franco.Bellu@symbian.com
       
    15 // 
       
    16 //
       
    17 
       
    18 #ifndef __TC1_H__
       
    19 #define __TC1_H__
       
    20 
       
    21 #include "HttpTestCore.h"
       
    22 #include <http.h>
       
    23 
       
    24 
       
    25 /**
       
    26  *  Derived test case class : only opens and closes a session
       
    27  */
       
    28 class CHttpTestCase1: public CHttpTestBase, public MHTTPTransactionCallback
       
    29 	{
       
    30 	//to implement in this class' member functs definitions
       
    31 public:
       
    32 	CHttpTestCase1();
       
    33 	private:
       
    34 	virtual void MHFRunL(RHTTPTransaction aTransaction,
       
    35 						 const THTTPEvent& aEvent) ;
       
    36 	virtual TInt MHFRunError(TInt aError, RHTTPTransaction,
       
    37 						 const THTTPEvent& aEvent);
       
    38 
       
    39 	virtual ~CHttpTestCase1();
       
    40 	private:
       
    41 	const TDesC& TestName();
       
    42 	virtual void DoRunL();
       
    43 	virtual TInt RunError(TInt aErr);	
       
    44 	virtual void DoCancel();
       
    45 //	virtual const TDesC& TestName();
       
    46 protected:
       
    47 	void CompleteOwnRequest();
       
    48 	};
       
    49 
       
    50 
       
    51 #endif