sl@0: 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: // Header file: Basic tests. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file OpenFileByHandle7908.h sl@0: */ sl@0: sl@0: #ifndef OPENFILEBYHANDLE7908_H__ sl@0: #define OPENFILEBYHANDLE7908_H__ sl@0: sl@0: #include "OpenFileByHandle7902.h" sl@0: sl@0: /** sl@0: * Open new file. sl@0: * sl@0: * @class CTestMmfAclntOpenFile7908 sl@0: * sl@0: */ sl@0: sl@0: class CTestMmfAclntOpenFile7908 : public CTestMmfAclntOpenFile7902 sl@0: { sl@0: public: sl@0: static CTestMmfAclntOpenFile7908* NewL( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); sl@0: static CTestMmfAclntOpenFile7908* NewLC( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); sl@0: virtual TVerdict DoTestStepL(); sl@0: sl@0: protected: sl@0: CTestMmfAclntOpenFile7908( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); sl@0: sl@0: private: sl@0: TInt PerformTestStep(TInt aStepNo, TInt& aStepFailCount); sl@0: TVerdict ExecuteStep1L(); sl@0: TVerdict ExecuteStep2L(); sl@0: TVerdict ExecuteStep3L(); sl@0: TVerdict ExecuteStep4L(); sl@0: sl@0: CMdaAudioRecorderUtility* iRecUtil; sl@0: CMdaAudioPlayerUtility* iPlayUtil; sl@0: TPtrC iFilename; sl@0: RFs iFs; sl@0: RFile iFile; sl@0: } ; sl@0: sl@0: #endif // OPENFILEBYHANDLE7908_H__