Update contrib.
1 // Copyright (c) 2008-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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
22 #ifndef TTMSGRAPHICSSTEP_
23 #define TTMSGRAPHICSSTEP_
25 #include <test/testexecutestepbase.h>
30 // default name that a test will be called if not specifically set in the calling object
31 _LIT(KUnknownSYMTestCaseIDName, "@SYMTestCaseID Unnamed test");
32 _LIT(KUndefinedSYMTestCaseIDName, "@SYMTestCaseID is not defined");
33 _LIT(KNotATestSYMTestCaseIDName, "This is not a test");
42 class CTTMSGraphicsStep : public CTestStep
45 IMPORT_C CTTMSGraphicsStep();
46 IMPORT_C virtual ~CTTMSGraphicsStep();
47 IMPORT_C void CloseTMSGraphicsStep();
48 IMPORT_C void MQCTest(TBool aCondition, const TText8* aFile, TInt aLine);
49 IMPORT_C void MQCTestL(TBool aCondition, const TText8* aFile, TInt aLine);
50 IMPORT_C void SetTestStepID(const TDesC& aStepName);
51 IMPORT_C void SetOverallTestStepID(const TDesC& aStepName);
52 IMPORT_C void RecordTestResultL();
53 IMPORT_C void MultipleResultsForSameID(TBool aShowMultipleResults);
54 IMPORT_C void MQCTestWithErrorCode(TBool aCondition, TInt aErrorCode, const TText8* aFile, TInt aLine);
56 void DebugLogL(const TDesC8 &aText, const TDesC8 &aText1);
58 void CleanUpAndWriteResults();
59 TBuf8<KMaxTestExecuteNameLength> iCurrentTestStepName;
61 TBool iShowMultipleResults;
62 RArray<CTMSDataColumn> iArrayTMSData;
65 #endif /*TTMSGRAPHICSSTEP_*/