|
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 BASETESTFAT32WRITERAW_H |
|
17 #define BASETESTFAT32WRITERAW_H |
|
18 |
|
19 #include <testexecutestepbase.h> |
|
20 #include <testexecuteserverbase.h> |
|
21 #include "basetestfat32base.h" |
|
22 |
|
23 /** |
|
24 Fat32 WriteRaw Class. Inherits from the base class. |
|
25 Contains functions needed to write to the raw disk when given the number |
|
26 of bytes to read and the position at which to start writing to |
|
27 */ |
|
28 class CBaseTestFat32WriteRaw : public CBaseTestFat32Base |
|
29 { |
|
30 public: |
|
31 CBaseTestFat32WriteRaw(); |
|
32 ~CBaseTestFat32WriteRaw(); |
|
33 virtual TVerdict doTestStepL(); |
|
34 TInt WriteRaw(TInt64 aPos,TInt aValue); |
|
35 TInt GetWriteValue(TInt aNumOfBytes,TInt* aValueArray); |
|
36 TInt GetCluster(TInt aClusterNumber,TInt64 &aPosition); |
|
37 protected: |
|
38 |
|
39 |
|
40 }; |
|
41 |
|
42 _LIT(KTestStepWriteRaw, "WriteRaw"); |
|
43 |
|
44 #endif // BASETESTFAT32WRITERAW_H |