sl@0: // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Contains declaration of CTestTelUriValidationStep class sl@0: // sl@0: // sl@0: sl@0: #ifndef __TEST_TELURI_VALIDATION_STEP_H__ sl@0: #define __TEST_TELURI_VALIDATION_STEP_H__ sl@0: sl@0: #include "TestInetProUtilsUriServer.h" sl@0: sl@0: // Literal constant defined for identifying step name sl@0: _LIT(KTestTelUriValidationStep, "TestTelUriValidationStep"); sl@0: _LIT(KTestOomTelUriValidationStep, "TestOomTelUriValidationStep"); sl@0: sl@0: /** sl@0: This test step is to test the Tel uri validation. sl@0: @internalTechnology sl@0: @test sl@0: */ sl@0: class CTestTelUriValidationStep : public CTestStep sl@0: { sl@0: sl@0: public: sl@0: // Construction sl@0: CTestTelUriValidationStep(); sl@0: sl@0: //Destruction sl@0: ~CTestTelUriValidationStep(); sl@0: sl@0: // TEF pure virtual sl@0: virtual enum TVerdict doTestStepL(); sl@0: sl@0: protected: // Methods sl@0: void TestTelUriValidateAndCompareL(const TDesC16& aTelUri, const TInt aExpRetCode); sl@0: sl@0: }; sl@0: sl@0: /** sl@0: This test step is to test the Tel uri validation and performs OOM test. sl@0: @internalTechnology sl@0: @test sl@0: */ sl@0: class CTestTelUriValidationOomStep : public CTestStep sl@0: { sl@0: public: sl@0: // Construction sl@0: CTestTelUriValidationOomStep(); sl@0: sl@0: //Destruction sl@0: ~CTestTelUriValidationOomStep(); sl@0: sl@0: // TEF pure virtual sl@0: virtual enum TVerdict doTestStepL(); sl@0: sl@0: }; sl@0: sl@0: #endif // __TEST_TELURI_VALIDATION_STEP_H__ sl@0: sl@0: