os/ossrv/genericservices/httputils/Test/Integration/TestFileUriSuite/TestForAllFilesStep.h
Update contrib.
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
16 #ifndef __TEST_FOR_ALL_FILES_STEP_H__
17 #define __TEST_FOR_ALL_FILES_STEP_H__
20 #include "TestFileUriServer.h"
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.
27 class CTestForAllFilesStep : public CTestStep
30 CTestForAllFilesStep();
33 virtual enum TVerdict doTestStepL();
37 void TestCreateFileUriL(const TPtrC& aFilename, RArray<TPtrC>& aFileUris, RArray<TPtrC>& aFileNames);
39 template <class CUriType, class TUriParserType>
40 void TestBothWaysL(CUriType*& cUri8Or16, TUriParserType& tUriParser8Or16, TFileName& aFileName);
44 // Literal constant defined for identifying step name
45 _LIT(KTestForAllFilesStep, "TestForAllFilesStep");
48 #endif // __TEST_FOR_ALL_FILES_STEP_H__