|
1 // Copyright (c) 2007-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 __TEST__INETPROUTILS_URI_SERVER_H__ |
|
17 #define __TEST__INETPROUTILS_URI_SERVER_H__ |
|
18 |
|
19 // Epoc Include |
|
20 // For accessing TEF classes |
|
21 #include <testexecuteserverbase.h> |
|
22 |
|
23 // Literal constants for INI file field-names |
|
24 _LIT(KIniUri, "Uri" ); |
|
25 _LIT(KIniExpectedRetCode,"ExpRetCode"); |
|
26 _LIT(KRetCode, "RetCode" ); |
|
27 _LIT(KIniExpectedUri,"ExpUri"); |
|
28 _LIT(KIniEscapeDecoded,"EscDecoded"); |
|
29 _LIT(KIniEscapeEncodedUri,"EscEncodedUri"); |
|
30 _LIT(KIniEscapeEncodedAuthority,"EscEncodedAut"); |
|
31 _LIT(KIniEscapeEncodedPath,"EscEncodedUriPath"); |
|
32 _LIT(KIniEscapeEncodedQuery,"EscEncodedUriQuery"); |
|
33 _LIT(KIniEscapeEncodedNormal,"EscEncodedUriNormal"); |
|
34 _LIT(KIniExpectedTelScheme,"ExpTelScheme"); |
|
35 _LIT(KIniExpectedTelHost,"ExpTelHost"); |
|
36 _LIT(KIniExpectedTelPath,"ExpTelPath"); |
|
37 |
|
38 /** |
|
39 The test server. |
|
40 @internalTechnology |
|
41 */ |
|
42 class CTestInetProUtilsUriServer : public CTestServer |
|
43 { |
|
44 public: |
|
45 // Construction |
|
46 static CTestInetProUtilsUriServer* NewL(); |
|
47 |
|
48 // Base class pure virtual |
|
49 virtual CTestStep* CreateTestStep(const TDesC& aStepName); |
|
50 |
|
51 const TPtrC ServerName(); |
|
52 |
|
53 protected: |
|
54 CTestStep* CreateTestStepL(const TDesC& aStepName); |
|
55 |
|
56 }; |
|
57 |
|
58 #endif // __TEST__INETPROUTILS_URI_SERVER_H__ |
|
59 |
|
60 |
|
61 |
|
62 |
|
63 |