Update contrib.
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
9 * Initial Contributors:
10 * Nokia Corporation - initial contribution.
30 //TBool gMD2Test=ETrue;
31 //TBool gMD5Test=ETrue;
32 //TBool gSHATest=ETrue;
33 //TBool gSHA1Test=ETrue;
34 //TBool gHMACTest=ETrue;
35 //TBool gErrorTest=ETrue;
36 //TBool gPerformanceTest=ETrue;
37 //TBool gVectorTest=ETrue;
38 //TBool gLogging=ETrue;
39 //TBool gFunctionalityTest=ETrue;
42 //TBool gUnfixed=EFalse;
45 class CTestData:public CBase
49 static CTestData* NewL(const TDesC& aFilename);
50 enum TType { EMessage, EData, EFinished,EFileName,EError=-1 } ;
53 HBufC8* operator [] (TInt aIndex);
58 void ConstructL(const TDesC& aFilename);
64 class CTestConsole:public CConsoleBase
68 static CTestConsole* NewL(CConsoleBase* aCon);
69 TInt Create(const TDesC16& aTitle,TSize aSize) {return iCon->Create(aTitle,aSize);};
70 void Read(TRequestStatus& aStatus) {iCon->Read(aStatus);};
71 void ReadCancel(void) {iCon->ReadCancel();};
72 void Write(const TDesC16& aString);
73 TPoint CursorPos(void) const {return iCon->CursorPos();};
74 void SetCursorPosAbs(const TPoint& aPos) {iCon->SetCursorPosAbs(aPos);};
75 void SetCursorPosRel(const TPoint& aPos) {iCon->SetCursorPosRel(aPos);};
76 void SetCursorHeight(TInt aHeight) {iCon->SetCursorHeight(aHeight);};
77 void SetTitle(const TDesC16& aTitle) {iCon->SetTitle(aTitle);};
78 void ClearScreen(void) {iCon->ClearScreen();};
79 void ClearToEndOfLine(void) {iCon->ClearToEndOfLine();};
80 TSize ScreenSize(void) const {return iCon->ScreenSize();};
81 TKeyCode KeyCode(void) const {return iCon->KeyCode();};
82 TUint KeyModifiers(void) const {return iCon->KeyModifiers();};
84 void SetLogFile(RFile* aFile);