os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestTelUriValidationStep.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/TestTelUriValidationStep.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 CTestTelUriValidationStep class
    1.18 +// 
    1.19 +//
    1.20 +
    1.21 +#ifndef __TEST_TELURI_VALIDATION_STEP_H__
    1.22 +#define __TEST_TELURI_VALIDATION_STEP_H__
    1.23 +
    1.24 +#include "TestInetProUtilsUriServer.h"
    1.25 +
    1.26 +// Literal constant defined for identifying step name
    1.27 +_LIT(KTestTelUriValidationStep, "TestTelUriValidationStep");
    1.28 +_LIT(KTestOomTelUriValidationStep, "TestOomTelUriValidationStep");
    1.29 +
    1.30 +/**
    1.31 +  This test step is to test the Tel uri validation.
    1.32 +  @internalTechnology
    1.33 +  @test
    1.34 +*/
    1.35 +class CTestTelUriValidationStep : public CTestStep
    1.36 +	{
    1.37 +
    1.38 +public:
    1.39 +	// Construction
    1.40 +	CTestTelUriValidationStep();
    1.41 +
    1.42 +	//Destruction
    1.43 +	~CTestTelUriValidationStep();
    1.44 +
    1.45 +	// TEF pure virtual
    1.46 +	virtual enum TVerdict 	doTestStepL();
    1.47 +	
    1.48 +protected: // Methods
    1.49 +	void TestTelUriValidateAndCompareL(const TDesC16& aTelUri, const TInt aExpRetCode);
    1.50 +
    1.51 +	};
    1.52 +
    1.53 +/**
    1.54 +  This test step is to test the Tel uri validation and performs OOM test.
    1.55 +  @internalTechnology
    1.56 +  @test
    1.57 +*/
    1.58 +class CTestTelUriValidationOomStep : public CTestStep
    1.59 +	{
    1.60 +public:
    1.61 +	// Construction
    1.62 +	CTestTelUriValidationOomStep();
    1.63 +
    1.64 +	//Destruction
    1.65 +	~CTestTelUriValidationOomStep();
    1.66 +
    1.67 +	// TEF pure virtual
    1.68 +	virtual enum TVerdict 	doTestStepL();
    1.69 +	
    1.70 +	};
    1.71 +
    1.72 +#endif		// __TEST_TELURI_VALIDATION_STEP_H__
    1.73 +
    1.74 +