os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestNormaliseUriStep.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     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 // Contains declaration of CTestNormaliseUriStep class
    15 // 
    16 //
    17 
    18 #ifndef __TEST_NORMALISEURI_STEP_H__
    19 #define __TEST_NORMALISEURI_STEP_H__
    20 
    21 #include "TestInetProUtilsUriServer.h"
    22 
    23 // Literal constant defined for identifying step name
    24 _LIT(KTestNormaliseUriStep, "TestNormaliseUriStep");
    25 _LIT(KTestOomNormaliseUriStep, "TestOomNormaliseUriStep");
    26 
    27 /**
    28   This test step is to test the syntax normalisation of an URI.
    29   @internalTechnology
    30   @test
    31 */
    32 class CTestNormaliseUriStep : public CTestStep
    33 	{
    34 
    35 public:
    36 	// Construction
    37 	CTestNormaliseUriStep();
    38 
    39 	//Destruction
    40 	~CTestNormaliseUriStep();
    41 
    42 	// TEF pure virtual
    43 	virtual enum TVerdict 	doTestStepL();
    44 
    45 protected: // Methods
    46 	void NormaliseAndCompareUriL(const TDesC& aUri, const TDesC& aExpUri);
    47 	
    48 	};
    49 
    50 /**
    51   This test step is to test the syntax normalisation of an URI and OOM test.
    52   @internalTechnology
    53   @test
    54 */
    55 class CTestNormaliseUriOomStep : public CTestStep
    56 	{
    57 
    58 public:
    59 	// Construction
    60 	CTestNormaliseUriOomStep();
    61 
    62 	//Destruction
    63 	~CTestNormaliseUriOomStep();
    64 
    65 	// TEF pure virtual
    66 	virtual enum TVerdict 	doTestStepL();
    67 
    68 	};
    69 	
    70 #endif		// __TEST_NORMALISEURI_STEP_H__
    71