cryptomgmtlibs/securityutils/test/trecog/trecogstep.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2005-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 the License "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 
       
    19 
       
    20 
       
    21 /**
       
    22  @file 
       
    23  @internalComponent - Internal Symbian test code  
       
    24 */
       
    25 
       
    26 #ifndef __TRECOGSTEP_H__
       
    27 #define __TRECOGSTEP_H__
       
    28 
       
    29 #include "trecogserver.h"
       
    30 #include <apgcli.h>
       
    31 #include <charconv.h>
       
    32 
       
    33 _LIT(KRecogStep, "RecogStep");
       
    34 
       
    35 
       
    36 class CRecogStep : public CTestStep
       
    37 	{
       
    38 public:
       
    39 	CRecogStep();
       
    40 	~CRecogStep();
       
    41 	virtual TVerdict doTestStepPreambleL();
       
    42 	virtual TVerdict doTestStepPostambleL();
       
    43 	virtual TVerdict doTestStepL();
       
    44 	void RunTestCases();
       
    45 
       
    46 private:
       
    47 	void ConstructL();
       
    48 	void RunTestCasesL();
       
    49 	HBufC8* ConvertDes16toHBufC8LC(TDesC& source);
       
    50 	void TestRecognizeDataL();
       
    51 	
       
    52 	void ConvertFileToPrivateL();
       
    53 	
       
    54 private:
       
    55 	RFs iTheFs;
       
    56 	RApaLsSession iLs;
       
    57 	TFileName iFileName;
       
    58 	};
       
    59 
       
    60 #endif