os/ossrv/genericservices/httputils/Test/Integration/TestInetProtUtilsSuite/inc/TestTelUriValidationStep.h
author sl@SLION-WIN7.fritz.box
Fri, 15 Jun 2012 03:10:57 +0200
changeset 0 bde4ae8d615e
permissions -rw-r--r--
First public contribution.
     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 CTestTelUriValidationStep class
    15 // 
    16 //
    17 
    18 #ifndef __TEST_TELURI_VALIDATION_STEP_H__
    19 #define __TEST_TELURI_VALIDATION_STEP_H__
    20 
    21 #include "TestInetProUtilsUriServer.h"
    22 
    23 // Literal constant defined for identifying step name
    24 _LIT(KTestTelUriValidationStep, "TestTelUriValidationStep");
    25 _LIT(KTestOomTelUriValidationStep, "TestOomTelUriValidationStep");
    26 
    27 /**
    28   This test step is to test the Tel uri validation.
    29   @internalTechnology
    30   @test
    31 */
    32 class CTestTelUriValidationStep : public CTestStep
    33 	{
    34 
    35 public:
    36 	// Construction
    37 	CTestTelUriValidationStep();
    38 
    39 	//Destruction
    40 	~CTestTelUriValidationStep();
    41 
    42 	// TEF pure virtual
    43 	virtual enum TVerdict 	doTestStepL();
    44 	
    45 protected: // Methods
    46 	void TestTelUriValidateAndCompareL(const TDesC16& aTelUri, const TInt aExpRetCode);
    47 
    48 	};
    49 
    50 /**
    51   This test step is to test the Tel uri validation and performs OOM test.
    52   @internalTechnology
    53   @test
    54 */
    55 class CTestTelUriValidationOomStep : public CTestStep
    56 	{
    57 public:
    58 	// Construction
    59 	CTestTelUriValidationOomStep();
    60 
    61 	//Destruction
    62 	~CTestTelUriValidationOomStep();
    63 
    64 	// TEF pure virtual
    65 	virtual enum TVerdict 	doTestStepL();
    66 	
    67 	};
    68 
    69 #endif		// __TEST_TELURI_VALIDATION_STEP_H__
    70 
    71