1 // Copyright (c) 2006-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 the License "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". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 #ifndef BASETESTFAT32READFILE_H |
|
17 #define BASETESTFAT32READFILE_H |
|
18 |
|
19 #include <testexecutestepbase.h> |
|
20 #include <testexecuteserverbase.h> |
|
21 #include "basetestfat32base.h" |
|
22 |
|
23 /** |
|
24 Fat32 ReadFile Class. Inherits from the base class. |
|
25 Contains functions needed to read a file, with other associated functions, |
|
26 such as: |
|
27 a) Reading a file |
|
28 b) Opening a file |
|
29 c) Listing a list of directory entries |
|
30 d) Obtaining the last modified date and time of a file |
|
31 */ |
|
32 class CBaseTestFat32ReadFile : public CBaseTestFat32Base |
|
33 { |
|
34 public: |
|
35 CBaseTestFat32ReadFile(); |
|
36 ~CBaseTestFat32ReadFile(); |
|
37 // the actual test step |
|
38 virtual TVerdict doTestStepL(); |
|
39 TInt ReadFile(const TDesC16& aFile); |
|
40 TInt OpenFile(const TDesC16& aFile); |
|
41 TInt DirList(const TDesC16& aFile); |
|
42 TInt GetModDate(const TDesC16& aFile); |
|
43 TInt GetModTime(const TDesC16& aFile); |
|
44 protected: |
|
45 |
|
46 |
|
47 }; |
|
48 |
|
49 _LIT(KTestStepReadFile, "ReadFile"); |
|
50 |
|
51 #endif // BASETESTFAT32READFILE_H |
|