genericservices/httputils/Test/Integration/TestFileUriSuite/TestForAllFilesStep.h
changeset 0 e4d67989cc36
equal deleted inserted replaced
-1:000000000000 0:e4d67989cc36
       
     1 // Copyright (c) 2004-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 #ifndef __TEST_FOR_ALL_FILES_STEP_H__
       
    17 #define __TEST_FOR_ALL_FILES_STEP_H__
       
    18 
       
    19 // User Include
       
    20 #include "TestFileUriServer.h"
       
    21 
       
    22 /**
       
    23 The test step that tests the creation of URI and converting it back to 
       
    24 a filename for all the files in the system.
       
    25 @internalTechnology
       
    26 */
       
    27 class CTestForAllFilesStep : public CTestStep
       
    28 	{	
       
    29 	public:
       
    30 	CTestForAllFilesStep();
       
    31 	
       
    32 	// TEF pure virtual
       
    33 	virtual enum 	TVerdict doTestStepL();
       
    34 	
       
    35 	private:
       
    36 	void 			DoTestL();
       
    37 	void 			TestCreateFileUriL(const TPtrC& aFilename, RArray<TPtrC>& aFileUris, RArray<TPtrC>& aFileNames);
       
    38 	
       
    39 	template <class CUriType, class TUriParserType>
       
    40 	void 			TestBothWaysL(CUriType*& cUri8Or16, TUriParserType& tUriParser8Or16, TFileName& aFileName);
       
    41 	};
       
    42 
       
    43 /*@{*/
       
    44 // Literal constant defined for identifying step name
       
    45 _LIT(KTestForAllFilesStep, "TestForAllFilesStep");	
       
    46 /*@}*/
       
    47 
       
    48 #endif		// __TEST_FOR_ALL_FILES_STEP_H__