testexecfw/symbianunittestfw/sutfw/sutfwcore/sutfwoutput/inc/symbianunittestfileoutputwriter.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/testexecfw/symbianunittestfw/sutfw/sutfwcore/sutfwoutput/inc/symbianunittestfileoutputwriter.h Mon Mar 08 15:03:44 2010 +0800
@@ -0,0 +1,55 @@
+/*
+* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
+* All rights reserved.
+* This component and the accompanying materials are made available
+* under the terms of "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 SYMBIANUNITTESTFILEOUTPUTWRITER_H
+#define SYMBIANUNITTESTFILEOUTPUTWRITER_H
+
+// INCLUDES
+#include <f32file.h>
+#include <e32base.h>
+
+// CLASS DECLARATION
+class CSymbianUnitTestFileOutputWriter : public CBase
+ {
+ public: // Constructors and destructor
+
+ static CSymbianUnitTestFileOutputWriter* NewLC(
+ const TDesC& aFileName );
+
+ static CSymbianUnitTestFileOutputWriter* NewL(
+ const TDesC& aFileName );
+
+ ~CSymbianUnitTestFileOutputWriter();
+
+ public: // New functions
+
+ void WriteDateAndTimeL();
+ void WriteL( const TDesC8& aValue );
+ void WriteL( const TDesC8& aFormat, TInt aValue );
+
+ private: // Constructors
+
+ CSymbianUnitTestFileOutputWriter();
+ void ConstructL( const TDesC& aFileName );
+
+ private: // Data
+
+ RFile iFile;
+ RFs iRFs;
+ };
+
+#endif // SYMBIANUNITTESTFILEOUTPUTWRITER_H