os/textandloc/textrendering/textformatting/test/tbandformat/inc/bandtestfileoutput.h
Update contrib.
2 * Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
20 #ifndef __FILEOUTPUT_H
21 #define __FILEOUTPUT_H
32 Class used by CBandValidator to log results of tests
33 Writes information about document being tested to a file.
34 If any test fails detailed output will be written to a file
35 detailing the contents of the views.
37 class CFileOutput : public CBase
40 IMPORT_C static CFileOutput* NewL();
41 // log document attributes
42 virtual void WriteDocumentAttributesL(const CTextView& aView);
43 // log document positions
44 virtual void WriteDocumentPositionsL(const RArray<TInt>& aPositions);
45 // log the test view visible lines
46 virtual void WriteVisibleTestLinesL(const CDesCArray& aTestLines);
47 // log the reference view visible lines
48 virtual void WriteVisibleReferenceLinesL(const CDesCArray& aTestLines);
49 // log the details of operation being performed
50 virtual void WriteOperationDetails(const TDesC& aDesc);
55 virtual void ConstructL();
56 void WriteLinesL(const CDesCArray& aLines, RFile& aFile);
60 RFile iReferenceErrorFile;