|
1 // Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 |
|
17 |
|
18 /** |
|
19 @file te_uloggerperfsanitytest.h |
|
20 @internalTechnology |
|
21 */ |
|
22 #if (!defined TE_OUTPUTSANITYTEST_H) |
|
23 #define TE_OUTPUTSANITYTEST_H |
|
24 #include <datawrapper.h> |
|
25 #include "te_ostv2integsuite_basewrapper.h" |
|
26 #include <e32base.h> |
|
27 #include <e32math.h> |
|
28 #include <uloggerclient.h> |
|
29 using namespace Ulogger; //CA:added so can use old ulogger api |
|
30 |
|
31 |
|
32 class COutputCSVSanityWrapper : public CTe_MCLSuiteBaseWrapper |
|
33 { |
|
34 public: |
|
35 ~COutputCSVSanityWrapper(); |
|
36 static COutputCSVSanityWrapper* NewL(); |
|
37 static COutputCSVSanityWrapper* NewLC(); |
|
38 TAny* GetObject(); |
|
39 TBool DoCommandL( const TTEFFunction& aCommand, |
|
40 const TTEFSectionName& aSection, |
|
41 const TInt aAsyncErrorIndex); |
|
42 private: |
|
43 COutputCSVSanityWrapper(); |
|
44 void ConstructL(); |
|
45 TVerdict TestBaselineCsv(); |
|
46 TInt ReadCsvFile(const TDesC& aFilename, RBuf8& aBuffer); |
|
47 TInt CsvFileSize(const TDesC& aFilename, TInt& aSize); |
|
48 |
|
49 }; |
|
50 |
|
51 |
|
52 _LIT(KOutputCSVSanityWrapper,"OutputCSVSanityTest"); |
|
53 |
|
54 |
|
55 #endif //TE_OUTPUTSANITYTEST_H |