os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestNormaliseUriStep.h
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestNormaliseUriStep.h Fri Jun 15 03:10:57 2012 +0200
1.3 @@ -0,0 +1,71 @@
1.4 +// Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies).
1.5 +// All rights reserved.
1.6 +// This component and the accompanying materials are made available
1.7 +// under the terms of "Eclipse Public License v1.0"
1.8 +// which accompanies this distribution, and is available
1.9 +// at the URL "http://www.eclipse.org/legal/epl-v10.html".
1.10 +//
1.11 +// Initial Contributors:
1.12 +// Nokia Corporation - initial contribution.
1.13 +//
1.14 +// Contributors:
1.15 +//
1.16 +// Description:
1.17 +// Contains declaration of CTestNormaliseUriStep class
1.18 +//
1.19 +//
1.20 +
1.21 +#ifndef __TEST_NORMALISEURI_STEP_H__
1.22 +#define __TEST_NORMALISEURI_STEP_H__
1.23 +
1.24 +#include "TestInetProUtilsUriServer.h"
1.25 +
1.26 +// Literal constant defined for identifying step name
1.27 +_LIT(KTestNormaliseUriStep, "TestNormaliseUriStep");
1.28 +_LIT(KTestOomNormaliseUriStep, "TestOomNormaliseUriStep");
1.29 +
1.30 +/**
1.31 + This test step is to test the syntax normalisation of an URI.
1.32 + @internalTechnology
1.33 + @test
1.34 +*/
1.35 +class CTestNormaliseUriStep : public CTestStep
1.36 + {
1.37 +
1.38 +public:
1.39 + // Construction
1.40 + CTestNormaliseUriStep();
1.41 +
1.42 + //Destruction
1.43 + ~CTestNormaliseUriStep();
1.44 +
1.45 + // TEF pure virtual
1.46 + virtual enum TVerdict doTestStepL();
1.47 +
1.48 +protected: // Methods
1.49 + void NormaliseAndCompareUriL(const TDesC& aUri, const TDesC& aExpUri);
1.50 +
1.51 + };
1.52 +
1.53 +/**
1.54 + This test step is to test the syntax normalisation of an URI and OOM test.
1.55 + @internalTechnology
1.56 + @test
1.57 +*/
1.58 +class CTestNormaliseUriOomStep : public CTestStep
1.59 + {
1.60 +
1.61 +public:
1.62 + // Construction
1.63 + CTestNormaliseUriOomStep();
1.64 +
1.65 + //Destruction
1.66 + ~CTestNormaliseUriOomStep();
1.67 +
1.68 + // TEF pure virtual
1.69 + virtual enum TVerdict doTestStepL();
1.70 +
1.71 + };
1.72 +
1.73 +#endif // __TEST_NORMALISEURI_STEP_H__
1.74 +