applayerprotocols/httpservice/test/httpservicetest/ctesthttpclientstep.h
changeset 0 b16258d2340f
child 5 337070b4fa18
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/applayerprotocols/httpservice/test/httpservicetest/ctesthttpclientstep.h	Tue Feb 02 01:09:52 2010 +0200
@@ -0,0 +1,53 @@
+// Copyright (c) 2003-2009 Nokia Corporation and/or its subsidiary(-ies).
+// All rights reserved.
+// This component and the accompanying materials are made available
+// under the terms of "Eclipse Public License v1.0"
+// which accompanies this distribution, and is available
+// at the URL "http://www.eclipse.org/legal/epl-v10.html".
+//
+// Initial Contributors:
+// Nokia Corporation - initial contribution.
+//
+// Contributors:
+//
+// Description:
+//
+
+#ifndef __CTESTHTTPCLIENTSTEP_H__
+#define __CTESTHTTPCLIENTSTEP_H__
+
+
+#include <testexecuteserverbase.h>
+#include "mlocaltestserverobserver.h"
+
+class CHttpService;
+class CActiveScheduler;
+class CHttpClientTransaction;
+class CLocalTestServer;
+class CHTTPTestUtils;
+class CHttpClientTestParamArray;
+
+class CTestHttpClientStep : public CTestStep, public MLocalTestServerObserver
+    {
+public:
+    CTestHttpClientStep();
+    ~CTestHttpClientStep();
+      
+    // TEF virtuals
+    virtual TVerdict doTestStepPreambleL();
+
+    // TEF pure virtual
+    virtual TVerdict doTestStepL();
+    
+    void EndTest(TInt aError);
+    
+private:
+    CHttpService*        iHttpClient;
+    CActiveScheduler*   iActiveScheduler;
+    CHttpClientTransaction* iHttpTrans;
+    CHTTPTestUtils*     iTestUtils;
+    CLocalTestServer*   iTestServer;
+    CHttpClientTestParamArray* iTestParamArray;
+    };
+
+#endif // __CTESTHTTPCLIENTSTEP_H__