contenthandling/webrecognisers/Test/t_recweb/crecwebrecogtest.h
changeset 0 2e3d3ce01487
equal deleted inserted replaced
-1:000000000000 0:2e3d3ce01487
       
     1 // Copyright (c) 2003-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 #ifndef __CRECWEBRECOGTEST_H__
       
    17 #define __CRECWEBRECOGTEST_H__
       
    18 
       
    19 #include <e32std.h>
       
    20 #include <f32file.h>
       
    21 
       
    22 #include "cecomrecogtest.h"
       
    23 
       
    24 class RApaLsSession;
       
    25 class RFileLogger;
       
    26 
       
    27 class CRecWebRecogTest : public CEComRecogTest
       
    28 	{
       
    29 public:
       
    30 	static CRecWebRecogTest* NewL(TAny* aConstructionsParams);
       
    31 	virtual ~CRecWebRecogTest();
       
    32 	
       
    33 private:
       
    34 	CRecWebRecogTest(RApaLsSession& aAppArc, RFileLogger& aLogger);
       
    35 	void ConstructL();
       
    36 	
       
    37 	// From CEComRecogTest
       
    38 	const TDesC& TestPluginTitle() const;
       
    39 	TInt TestCaseCount() const;
       
    40 	const TDesC& TestCaseTitle(TInt aIndex);
       
    41 	void RunTestCaseL(TInt aIndex);
       
    42 	
       
    43 	void RunTestL(const TDesC& aTestData, const TDesC8& aExpectedType);
       
    44 	void RunTestCase1L();
       
    45 	void RunTestCase2L();
       
    46 	void RunTestCase3L();
       
    47 	void RunTestCase4L();
       
    48 	void RunTestCase5L();
       
    49 	void RunTestCase6L();
       
    50 	void RunTestCase7L();
       
    51 	void RunTestCase8L();
       
    52 	void LogConfidence(TInt aConfidence);
       
    53 	
       
    54 private:
       
    55 	TPtrC iTestCaseTitle;
       
    56 	RApaLsSession& iAppArc;
       
    57 	RFileLogger& iLogger;
       
    58 	RFs iFs;
       
    59 	};
       
    60 	
       
    61 #endif // __CRECWEBRECOGTEST_H__