diff -r 000000000000 -r 08ec8eefde2f traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/inc/te_perfoutputsanity.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/traceservices/tracefw/integ_test/ost/TEF/te_ostv2integsuite_performance/inc/te_perfoutputsanity.h Fri Jan 22 11:06:30 2010 +0200 @@ -0,0 +1,55 @@ +// Copyright (c) 2007-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: +// + + + +/** + @file te_uloggerperfsanitytest.h + @internalTechnology +*/ +#if (!defined TE_OUTPUTSANITYTEST_H) +#define TE_OUTPUTSANITYTEST_H +#include +#include "te_ostv2integsuite_basewrapper.h" +#include +#include +#include +using namespace Ulogger; //CA:added so can use old ulogger api + + +class COutputCSVSanityWrapper : public CTe_MCLSuiteBaseWrapper + { +public: + ~COutputCSVSanityWrapper(); + static COutputCSVSanityWrapper* NewL(); + static COutputCSVSanityWrapper* NewLC(); + TAny* GetObject(); + TBool DoCommandL( const TTEFFunction& aCommand, + const TTEFSectionName& aSection, + const TInt aAsyncErrorIndex); +private: + COutputCSVSanityWrapper(); + void ConstructL(); + TVerdict TestBaselineCsv(); + TInt ReadCsvFile(const TDesC& aFilename, RBuf8& aBuffer); + TInt CsvFileSize(const TDesC& aFilename, TInt& aSize); + + }; + + +_LIT(KOutputCSVSanityWrapper,"OutputCSVSanityTest"); + + +#endif //TE_OUTPUTSANITYTEST_H