baseintegtests/baseintegrationtest/testsuites/fat32/inc/basetestfat32calculate.h
branchanywhere
changeset 20 d63d727ee0a6
parent 19 f6d3d9676ee4
parent 16 6d8ad5bee44b
child 21 af091391d962
equal deleted inserted replaced
19:f6d3d9676ee4 20:d63d727ee0a6
     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 
       
    17 #ifndef BASETESTFAT32CALCULATE_H
       
    18 #define BASETESTFAT32CALCULATE_H
       
    19 
       
    20 #include <testexecutestepbase.h>
       
    21 #include <testexecuteserverbase.h>
       
    22 #include "basetestfat32base.h"
       
    23 
       
    24 /**
       
    25 Fat32 Calculate Class. Inherits from the base class.
       
    26 Contains functions needed to perform the following calculations:
       
    27 	a) Setting the cluster count to a value greater than it actually is
       
    28 	b) Calculate the size of a FAT
       
    29 	c) Obtaining the cluster count of the volume
       
    30 */
       
    31 class CBaseTestFat32Calculate : public CBaseTestFat32Base
       
    32 	{
       
    33 	public:
       
    34 		CBaseTestFat32Calculate();
       
    35 		~CBaseTestFat32Calculate();
       
    36 		virtual TVerdict doTestStepL();	
       
    37 		TInt Calculate(TInt64 aPos,TInt aValue);	
       
    38 		TInt SetToGreater(TUint32 aClusterCount, TInt aPos);
       
    39 		TInt ComputeFatSize();
       
    40 		TInt CheckClusterCount(TUint32 aClusterCount);	
       
    41 		TInt CheckFSInfo(TInt aPos);
       
    42 	protected:
       
    43 	
       
    44 	
       
    45 };
       
    46 
       
    47 _LIT(KTestStepCalculate, "Calculate");
       
    48 
       
    49 #endif // BASETESTFAT32CALCULATE_H