sl@0: // Copyright (c) 2004-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: // sl@0: sl@0: #ifndef __TEST_FOR_ALL_FILES_STEP_H__ sl@0: #define __TEST_FOR_ALL_FILES_STEP_H__ sl@0: sl@0: // User Include sl@0: #include "TestFileUriServer.h" sl@0: sl@0: /** sl@0: The test step that tests the creation of URI and converting it back to sl@0: a filename for all the files in the system. sl@0: @internalTechnology sl@0: */ sl@0: class CTestForAllFilesStep : public CTestStep sl@0: { sl@0: public: sl@0: CTestForAllFilesStep(); sl@0: sl@0: // TEF pure virtual sl@0: virtual enum TVerdict doTestStepL(); sl@0: sl@0: private: sl@0: void DoTestL(); sl@0: void TestCreateFileUriL(const TPtrC& aFilename, RArray& aFileUris, RArray& aFileNames); sl@0: sl@0: template sl@0: void TestBothWaysL(CUriType*& cUri8Or16, TUriParserType& tUriParser8Or16, TFileName& aFileName); sl@0: }; sl@0: sl@0: /*@{*/ sl@0: // Literal constant defined for identifying step name sl@0: _LIT(KTestForAllFilesStep, "TestForAllFilesStep"); sl@0: /*@}*/ sl@0: sl@0: #endif // __TEST_FOR_ALL_FILES_STEP_H__