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