Update contrib.
2 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
3 // All rights reserved.
4 // This component and the accompanying materials are made available
5 // under the terms of "Eclipse Public License v1.0"
6 // which accompanies this distribution, and is available
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
9 // Initial Contributors:
10 // Nokia Corporation - initial contribution.
15 // Header file: Basic tests.
20 @file OpenFileByHandle7803.h
23 #ifndef OPENFILEBYHANDLE7803_H
24 #define OPENFILEBYHANDLE7803_H
26 #include "TSI_MMFACLNT.h"
31 * @class CTestMmfAclntOpenFile7803
34 class CTestMmfAclntOpenFile7803 : public CTestMmfAclntAudioPlayerUtil
37 static CTestMmfAclntOpenFile7803* NewL( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName);
38 virtual TVerdict DoTestL( CMdaAudioPlayerUtility* aPlayer );
41 CTestMmfAclntOpenFile7803( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName);
42 TVerdict PerformTestL( CMdaAudioPlayerUtility* aPlayer );
45 TBuf<KNameBufSize> iKeyName; // Key name for retrieving filename
46 TBool iSkipShareProtected; // skip the normal RFs::ShareProtected call
47 TBool iExpectToFail; // True if the RFile open stage should fail
48 TInt iExpectedError; // if iExpectToFail, what error do we expect
52 #endif // OPENFILEBYHANDLE7803_H