baseintegtests/baseintegrationtest/testsuites/fat32/inc/basetestfat32writefile.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 #ifndef BASETESTFAT32WRITEFILE_H
       
    17 #define BASETESTFAT32WRITEFILE_H
       
    18 
       
    19 #include <testexecutestepbase.h>
       
    20 #include <testexecuteserverbase.h>
       
    21 #include "basetestfat32base.h"
       
    22 
       
    23 /**
       
    24 Fat32 WriteFile Class. Inherits from the base class.
       
    25 Contains functions needed to perform various different write file operations
       
    26 */
       
    27 class CBaseTestFat32WriteFile : public CBaseTestFat32Base
       
    28 	{
       
    29 	public:
       
    30 		CBaseTestFat32WriteFile(); 
       
    31 		~CBaseTestFat32WriteFile();
       
    32 		virtual TVerdict doTestStepL();	
       
    33 		TInt WriteFile(const TDesC16& aFile);	
       
    34 		TInt SetAttribs(const TDesC16& aFile);
       
    35 		TInt DirList(const TDesC16& aFile);	
       
    36 		TInt CheckErrCode(TInt aReturnCode);
       
    37 		TInt CheckAtt(const TDesC16& aFile, TUint setMask);
       
    38 		TInt MakeDirectory(const TDesC16& aDir);
       
    39 		TInt SetLabel(const TDesC16& aLabel);
       
    40 		TInt SetFileSize(const TDesC16& aFile);	
       
    41 		TInt DeleteFile(const TDesC16& aFile);	
       
    42 	
       
    43 	
       
    44 };
       
    45 
       
    46 _LIT(KTestStepWriteFile, "WriteFile");
       
    47 
       
    48 #endif // BASETESTFAT32WRITEFILE_H