diff -r 000000000000 -r a41df078684a baseintegtests/baseintegrationtest/testsuites/fat32/inc/basetestfat32writefile.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/baseintegtests/baseintegrationtest/testsuites/fat32/inc/basetestfat32writefile.h Mon Oct 19 15:55:17 2009 +0100 @@ -0,0 +1,48 @@ +// 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 +#include +#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