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 __FILEURITESTCOMMON_H__
17 #define __FILEURITESTCOMMON_H__
23 template<class CUriType, class TDesCType>
24 TInt DoFileUriExtraction(const CUriType& aUri, const TDesCType& aExpectedFileUri);
26 template<class TUriParserType, class CUriType, class TDesCType, class TDesCType16>
27 TInt DoFileUriComponentExtraction(const CUriType& aUri, const TDesCType& aScheme,
28 const TDesCType& aPath, const TDesCType16& aExpectedFileName);
30 template<class TParserType, class TDesCType>
31 TInt TestFileName(const TParserType& aParser, const TDesCType& aExpected);
33 template<class TParserType, class TDesCType, class TComponentType>
34 TInt TestComponent(const TParserType& aParser, const TDesCType& aExpected, TComponentType aComponent);
37 #endif // __FILEURITESTCOMMON_H__