symbianunittestfw/sutfw/sutfwcore/sutfwoutput/inc/symbianunittestfileoutputwriter.h
equal
deleted
inserted
replaced
1 /* |
|
2 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * |
|
16 */ |
|
17 |
|
18 #ifndef SYMBIANUNITTESTFILEOUTPUTWRITER_H |
|
19 #define SYMBIANUNITTESTFILEOUTPUTWRITER_H |
|
20 |
|
21 // INCLUDES |
|
22 #include <f32file.h> |
|
23 #include <e32base.h> |
|
24 |
|
25 // CLASS DECLARATION |
|
26 class CSymbianUnitTestFileOutputWriter : public CBase |
|
27 { |
|
28 public: // Constructors and destructor |
|
29 |
|
30 static CSymbianUnitTestFileOutputWriter* NewLC( |
|
31 const TDesC& aFileName ); |
|
32 |
|
33 static CSymbianUnitTestFileOutputWriter* NewL( |
|
34 const TDesC& aFileName ); |
|
35 |
|
36 ~CSymbianUnitTestFileOutputWriter(); |
|
37 |
|
38 public: // New functions |
|
39 |
|
40 void WriteDateAndTimeL(); |
|
41 void WriteL( const TDesC8& aValue ); |
|
42 void WriteL( const TDesC8& aFormat, TInt aValue ); |
|
43 void WriteL( const TDesC& aValue); |
|
44 |
|
45 private: // Constructors |
|
46 |
|
47 CSymbianUnitTestFileOutputWriter(); |
|
48 void ConstructL( const TDesC& aFileName ); |
|
49 |
|
50 private: // Data |
|
51 |
|
52 RFile iFile; |
|
53 RFs iRFs; |
|
54 }; |
|
55 |
|
56 #endif // SYMBIANUNITTESTFILEOUTPUTWRITER_H |
|