sl@0
|
1 |
// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
|
sl@0
|
2 |
// All rights reserved.
|
sl@0
|
3 |
// This component and the accompanying materials are made available
|
sl@0
|
4 |
// under the terms of "Eclipse Public License v1.0"
|
sl@0
|
5 |
// which accompanies this distribution, and is available
|
sl@0
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
|
sl@0
|
7 |
//
|
sl@0
|
8 |
// Initial Contributors:
|
sl@0
|
9 |
// Nokia Corporation - initial contribution.
|
sl@0
|
10 |
//
|
sl@0
|
11 |
// Contributors:
|
sl@0
|
12 |
//
|
sl@0
|
13 |
// Description:
|
sl@0
|
14 |
//
|
sl@0
|
15 |
|
sl@0
|
16 |
#ifndef __TEST__INETPROUTILS_URI_SERVER_H__
|
sl@0
|
17 |
#define __TEST__INETPROUTILS_URI_SERVER_H__
|
sl@0
|
18 |
|
sl@0
|
19 |
// Epoc Include
|
sl@0
|
20 |
// For accessing TEF classes
|
sl@0
|
21 |
#include <testexecuteserverbase.h>
|
sl@0
|
22 |
|
sl@0
|
23 |
// Literal constants for INI file field-names
|
sl@0
|
24 |
_LIT(KIniUri, "Uri" );
|
sl@0
|
25 |
_LIT(KIniExpectedRetCode,"ExpRetCode");
|
sl@0
|
26 |
_LIT(KRetCode, "RetCode" );
|
sl@0
|
27 |
_LIT(KIniExpectedUri,"ExpUri");
|
sl@0
|
28 |
_LIT(KIniEscapeDecoded,"EscDecoded");
|
sl@0
|
29 |
_LIT(KIniEscapeEncodedUri,"EscEncodedUri");
|
sl@0
|
30 |
_LIT(KIniEscapeEncodedAuthority,"EscEncodedAut");
|
sl@0
|
31 |
_LIT(KIniEscapeEncodedPath,"EscEncodedUriPath");
|
sl@0
|
32 |
_LIT(KIniEscapeEncodedQuery,"EscEncodedUriQuery");
|
sl@0
|
33 |
_LIT(KIniEscapeEncodedNormal,"EscEncodedUriNormal");
|
sl@0
|
34 |
_LIT(KIniExpectedTelScheme,"ExpTelScheme");
|
sl@0
|
35 |
_LIT(KIniExpectedTelHost,"ExpTelHost");
|
sl@0
|
36 |
_LIT(KIniExpectedTelPath,"ExpTelPath");
|
sl@0
|
37 |
|
sl@0
|
38 |
/**
|
sl@0
|
39 |
The test server.
|
sl@0
|
40 |
@internalTechnology
|
sl@0
|
41 |
*/
|
sl@0
|
42 |
class CTestInetProUtilsUriServer : public CTestServer
|
sl@0
|
43 |
{
|
sl@0
|
44 |
public:
|
sl@0
|
45 |
// Construction
|
sl@0
|
46 |
static CTestInetProUtilsUriServer* NewL();
|
sl@0
|
47 |
|
sl@0
|
48 |
// Base class pure virtual
|
sl@0
|
49 |
virtual CTestStep* CreateTestStep(const TDesC& aStepName);
|
sl@0
|
50 |
|
sl@0
|
51 |
const TPtrC ServerName();
|
sl@0
|
52 |
|
sl@0
|
53 |
protected:
|
sl@0
|
54 |
CTestStep* CreateTestStepL(const TDesC& aStepName);
|
sl@0
|
55 |
|
sl@0
|
56 |
};
|
sl@0
|
57 |
|
sl@0
|
58 |
#endif // __TEST__INETPROUTILS_URI_SERVER_H__
|
sl@0
|
59 |
|
sl@0
|
60 |
|
sl@0
|
61 |
|
sl@0
|
62 |
|
sl@0
|
63 |
|