baseintegtests/baseintegrationtest/testsuites/fat32/inc/basetestfat32writefile.h
author Simon Howkins <simonh@symbian.org>
Thu, 03 Dec 2009 15:29:05 +0000
changeset 11 2e0eeacfdf12
parent 0 a41df078684a
permissions -rw-r--r--
Removed EPOCROOT option as it's not necessary to pass it in this way - the FLM gets it from the environment anyway.

// Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of the License "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description:
//

#ifndef BASETESTFAT32WRITEFILE_H
#define BASETESTFAT32WRITEFILE_H

#include <testexecutestepbase.h>
#include <testexecuteserverbase.h>
#include "basetestfat32base.h"

/**
Fat32 WriteFile Class. Inherits from the base class.
Contains functions needed to perform various different write file operations
*/
class CBaseTestFat32WriteFile : public CBaseTestFat32Base
	{
	public:
		CBaseTestFat32WriteFile(); 
		~CBaseTestFat32WriteFile();
		virtual TVerdict doTestStepL();	
		TInt WriteFile(const TDesC16& aFile);	
		TInt SetAttribs(const TDesC16& aFile);
		TInt DirList(const TDesC16& aFile);	
		TInt CheckErrCode(TInt aReturnCode);
		TInt CheckAtt(const TDesC16& aFile, TUint setMask);
		TInt MakeDirectory(const TDesC16& aDir);
		TInt SetLabel(const TDesC16& aLabel);
		TInt SetFileSize(const TDesC16& aFile);	
		TInt DeleteFile(const TDesC16& aFile);	
	
	
};

_LIT(KTestStepWriteFile, "WriteFile");

#endif // BASETESTFAT32WRITEFILE_H