os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestTelUriParsingStep.h
changeset 0 bde4ae8d615e
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestTelUriParsingStep.h	Fri Jun 15 03:10:57 2012 +0200
     1.3 @@ -0,0 +1,56 @@
     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 CTestTelUriParsingStep class
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#ifndef __TEST_TELURI_PARSING_STEP_H__
    1.22 +#define __TEST_TELURI_PARSING_STEP_H__
    1.23 +
    1.24 +#include "TestInetProUtilsUriServer.h"
    1.25 +#include <uri8.h>
    1.26 +
    1.27 +// Literal constant defined for identifying step name
    1.28 +_LIT(KTestTelUriParsingStep, "TestTelUriParsingStep");
    1.29 +
    1.30 +/**
    1.31 +This test step is to test the Tel uri parsing.
    1.32 +@internalTechnology
    1.33 +@test
    1.34 +*/
    1.35 +
    1.36 +class CTestTelUriParsingStep : public CTestStep
    1.37 +	{
    1.38 +public:
    1.39 +	// Construction
    1.40 +	CTestTelUriParsingStep();
    1.41 +
    1.42 +	//Destruction
    1.43 +	~CTestTelUriParsingStep();
    1.44 +
    1.45 +	// TEF pure virtual
    1.46 +	virtual TVerdict doTestStepL();
    1.47 +	
    1.48 +protected: // Methods
    1.49 +	void TestTelUriParsingAndCompareL(const TDesC16& aUri, const TDesC16& aScheme, const TDesC16& aPath);
    1.50 +	TInt TestComponentL(const TUriParser8& aParser, const TDesC16& aExpectedComponent, TUriComponent aComponent);
    1.51 +	
    1.52 +	};
    1.53 +
    1.54 +
    1.55 +#endif		// __TEST_TELURI_PARSING_STEP_H__
    1.56 +
    1.57 +
    1.58 +
    1.59 +