|
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 __CINC078630_H__ |
|
17 #define __CINC078630_H__ |
|
18 |
|
19 #include <e32base.h> |
|
20 #include <http.h> |
|
21 |
|
22 #include "CPipeliningTestCase.h" |
|
23 |
|
24 class CHTTPTestUtils; |
|
25 |
|
26 /* Test case for defect fix INC025140. Test server returns response with status line without |
|
27 status text, ie 'HTTP/1.1 200 ' (Note space after status code). The test case ensures that |
|
28 this case is handled correctly. |
|
29 */ |
|
30 class CINC078630 : public CPipeliningTestCase |
|
31 { |
|
32 public: |
|
33 static CINC078630* NewL(CHTTPTestUtils& aTestUtils); |
|
34 ~CINC078630(); |
|
35 |
|
36 private: |
|
37 CINC078630(CHTTPTestUtils& aTestUtils); |
|
38 void ConstructL(); |
|
39 |
|
40 // From MPipeliningTestCase |
|
41 const TDesC& TestCaseName() const; |
|
42 TInt TotalTransactionCount() const; |
|
43 RHTTPTransaction GetTransactionL(TInt aIndex, RHTTPSession aSession, MHTTPTransactionCallback& aClient); |
|
44 const TDesC8& GetRawRequest(TInt aConnectionIndex, TInt aTransIndex); |
|
45 const TDesC8& GetRawResponse(TInt aConnectionIndex, TInt aTransIndex); |
|
46 TInt ConnectionCount() const; |
|
47 // void ProcessHeadersL(RHTTPTransaction aTrans); |
|
48 |
|
49 private: |
|
50 CHTTPTestUtils& iTestUtils; |
|
51 }; |
|
52 |
|
53 #endif // __CINC078630_H__ |