lafagnosticuifoundation/uigraphicsutils/tef/t_addressstringtokenizer.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @test
       
    19  @internalComponent - Internal Symbian test code 
       
    20 */
       
    21 
       
    22 #if (!defined __T_ADDRESSSTRINGTOKENIZER_STEP_H__)
       
    23 #define __T_ADDRESSSTRINGTOKENIZER_STEP_H__
       
    24 
       
    25 #include "appfwk_test_AppUi.h"
       
    26 #include <tuladdressstringtokenizer.h>
       
    27 
       
    28 _LIT(KT_AddressStringTokenizerStep,"t_addressstringtokenizer");
       
    29 
       
    30 class CT_AddressStringTokenizerStep : public CTmsTestStep
       
    31 	{
       
    32 public:
       
    33 	CT_AddressStringTokenizerStep();
       
    34 	~CT_AddressStringTokenizerStep();
       
    35 	virtual TVerdict doTestStepL();
       
    36 	void RunTestCases();
       
    37 	
       
    38 private:
       
    39 	void SearchURLsL();
       
    40 	void SearchEMailAddressesL();
       
    41 	void SearchPhoneNumbersL();
       
    42 	void SearchPhoneNumbersWithMin3NosL();
       
    43 	void SearchPhoneNumbersWithMin8NosL();
       
    44 	void SearchPhoneNumbersWithMin15NosL();
       
    45 	void SearchAllL();
       
    46 	void CheckPositionsL();
       
    47 	void ParseURIFileL();
       
    48 	void TestAddressStringTokenizers(CTulAddressStringTokenizer* aAddressStringTokenizer, TFileText& aReader, TDes& aText);
       
    49 	void TestOOMForAddressStringTokenizer();
       
    50 	void TestPhoneSearchSeparatorsL();
       
    51 	};
       
    52 
       
    53 #endif