|
1 |
|
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". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // Header file: Basic tests. |
|
16 // |
|
17 // |
|
18 |
|
19 /** |
|
20 @file OpenFileByHandle7908.h |
|
21 */ |
|
22 |
|
23 #ifndef OPENFILEBYHANDLE7908_H__ |
|
24 #define OPENFILEBYHANDLE7908_H__ |
|
25 |
|
26 #include "OpenFileByHandle7902.h" |
|
27 |
|
28 /** |
|
29 * Open new file. |
|
30 * |
|
31 * @class CTestMmfAclntOpenFile7908 |
|
32 * |
|
33 */ |
|
34 |
|
35 class CTestMmfAclntOpenFile7908 : public CTestMmfAclntOpenFile7902 |
|
36 { |
|
37 public: |
|
38 static CTestMmfAclntOpenFile7908* NewL( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); |
|
39 static CTestMmfAclntOpenFile7908* NewLC( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); |
|
40 virtual TVerdict DoTestStepL(); |
|
41 |
|
42 protected: |
|
43 CTestMmfAclntOpenFile7908( const TDesC& aTestName, const TDesC& aSectName, const TDesC& aKeyName, const TTestFormat aFormat = ENone, const TBool aCreateFile = EFalse ); |
|
44 |
|
45 private: |
|
46 TInt PerformTestStep(TInt aStepNo, TInt& aStepFailCount); |
|
47 TVerdict ExecuteStep1L(); |
|
48 TVerdict ExecuteStep2L(); |
|
49 TVerdict ExecuteStep3L(); |
|
50 TVerdict ExecuteStep4L(); |
|
51 |
|
52 CMdaAudioRecorderUtility* iRecUtil; |
|
53 CMdaAudioPlayerUtility* iPlayUtil; |
|
54 TPtrC iFilename; |
|
55 RFs iFs; |
|
56 RFile iFile; |
|
57 } ; |
|
58 |
|
59 #endif // OPENFILEBYHANDLE7908_H__ |