cryptoservices/certificateandkeymgmt/tasn1/testbigint.h
changeset 0 2c201484c85f
child 8 35751d3474b7
equal deleted inserted replaced
-1:000000000000 0:2c201484c85f
       
     1 /*
       
     2 * Copyright (c) 2001-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 * testinteger.h
       
    16 * Test class for big integer (TInteger) encoding/decoding
       
    17 *
       
    18 */
       
    19 
       
    20 
       
    21 #ifndef __TESTBIGINT_H__
       
    22 #define __TESTBIGINT_H__
       
    23 
       
    24 
       
    25 #include <bigint.h>
       
    26 
       
    27 #include "testbase.h"
       
    28 
       
    29 
       
    30 class CTestBigInt : public CTestBase
       
    31 	{
       
    32 	public:
       
    33 		static CTestBigInt* NewL(CASN1NormalTest &aASN1Action);
       
    34 
       
    35 		// Overridden from CTestBase
       
    36 		void GetName(TDes& aBuf);
       
    37 		TBool PerformTestsL(CConsoleBase& aConsole);
       
    38 
       
    39 	private:
       
    40 		CTestBigInt(CASN1NormalTest &aASN1Action);
       
    41 		void OutputIntegerL(CConsoleBase& aConsole, RInteger& aInt);
       
    42 		TBool PerformTest(CConsoleBase& aConsole, const RInteger &aTest, const TInt &aTestNumber, const TInt &aTotalTests);
       
    43 		void FillParameterArray(void);
       
    44 	};
       
    45 
       
    46 
       
    47 #endif