os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestTelUriParsingStep.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 CTestTelUriParsingStep class
    15 // 
    16 //
    17 
    18 #ifndef __TEST_TELURI_PARSING_STEP_H__
    19 #define __TEST_TELURI_PARSING_STEP_H__
    20 
    21 #include "TestInetProUtilsUriServer.h"
    22 #include <uri8.h>
    23 
    24 // Literal constant defined for identifying step name
    25 _LIT(KTestTelUriParsingStep, "TestTelUriParsingStep");
    26 
    27 /**
    28 This test step is to test the Tel uri parsing.
    29 @internalTechnology
    30 @test
    31 */
    32 
    33 class CTestTelUriParsingStep : public CTestStep
    34 	{
    35 public:
    36 	// Construction
    37 	CTestTelUriParsingStep();
    38 
    39 	//Destruction
    40 	~CTestTelUriParsingStep();
    41 
    42 	// TEF pure virtual
    43 	virtual TVerdict doTestStepL();
    44 	
    45 protected: // Methods
    46 	void TestTelUriParsingAndCompareL(const TDesC16& aUri, const TDesC16& aScheme, const TDesC16& aPath);
    47 	TInt TestComponentL(const TUriParser8& aParser, const TDesC16& aExpectedComponent, TUriComponent aComponent);
    48 	
    49 	};
    50 
    51 
    52 #endif		// __TEST_TELURI_PARSING_STEP_H__
    53 
    54 
    55 
    56