|         |      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__ |