applayerprotocols/httpservice/test/httpservicetest/ctesthttpclientstep.h
changeset 0 b16258d2340f
child 7 337070b4fa18
child 19 2f328ce1b263
equal deleted inserted replaced
-1:000000000000 0:b16258d2340f
       
     1 // Copyright (c) 2003-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 //
       
    15 
       
    16 #ifndef __CTESTHTTPCLIENTSTEP_H__
       
    17 #define __CTESTHTTPCLIENTSTEP_H__
       
    18 
       
    19 
       
    20 #include <testexecuteserverbase.h>
       
    21 #include "mlocaltestserverobserver.h"
       
    22 
       
    23 class CHttpService;
       
    24 class CActiveScheduler;
       
    25 class CHttpClientTransaction;
       
    26 class CLocalTestServer;
       
    27 class CHTTPTestUtils;
       
    28 class CHttpClientTestParamArray;
       
    29 
       
    30 class CTestHttpClientStep : public CTestStep, public MLocalTestServerObserver
       
    31     {
       
    32 public:
       
    33     CTestHttpClientStep();
       
    34     ~CTestHttpClientStep();
       
    35       
       
    36     // TEF virtuals
       
    37     virtual TVerdict doTestStepPreambleL();
       
    38 
       
    39     // TEF pure virtual
       
    40     virtual TVerdict doTestStepL();
       
    41     
       
    42     void EndTest(TInt aError);
       
    43     
       
    44 private:
       
    45     CHttpService*        iHttpClient;
       
    46     CActiveScheduler*   iActiveScheduler;
       
    47     CHttpClientTransaction* iHttpTrans;
       
    48     CHTTPTestUtils*     iTestUtils;
       
    49     CLocalTestServer*   iTestServer;
       
    50     CHttpClientTestParamArray* iTestParamArray;
       
    51     };
       
    52 
       
    53 #endif // __CTESTHTTPCLIENTSTEP_H__