diff -r 000000000000 -r 2f259fa3e83a lafagnosticuifoundation/cone/tef/TConeHelpTextStep.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lafagnosticuifoundation/cone/tef/TConeHelpTextStep.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,86 @@ +// Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). +// All rights reserved. +// This component and the accompanying materials are made available +// under the terms of "Eclipse Public License v1.0" +// which accompanies this distribution, and is available +// at the URL "http://www.eclipse.org/legal/epl-v10.html". +// +// Initial Contributors: +// Nokia Corporation - initial contribution. +// +// Contributors: +// +// Description: +// + +/** + @file + @internalComponent - Internal Symbian test code +*/ + + +#if !defined(__TCONEHELPTEXTSTEP_H__) +#define __TCONEHELPTEXTSTEP_H__ + +#include +#include "TConeTestServer.h" +#include "appfwk_test_AppUi.h" + +//! A CTestStep Derived Class.\n + +/** Incorporates the tests to create a sample application and + handle the key events.\n */ + +class CTConeHelpTextStep : public CTmsTestStep + { +public: + CTConeHelpTextStep(); + ~CTConeHelpTextStep(); +// virtual TVerdict doTestStepPreambleL(); +// virtual TVerdict doTestStepPostambleL(); + virtual TVerdict doTestStepL(); + void ConstructAppL(CCoeEnv* aCoe); + +private: + }; +//! A CTestCoeAppUi derived Class.\n + +/** App Ui class for the TConeErrorMsgStep.\n */ + +class CConeHelpTextTestAppUi : public CTestCoeAppUi + { +public: + CConeHelpTextTestAppUi(CTmsTestStep* aStep); + ~CConeHelpTextTestAppUi(); + void ConstructL(); +private: // utility + void TestCase01(); + void TestCase02(); + void TestCase03(); + void TestCase04(); + void TestCase05(); + void TestCase06(); + void TestCase07(); + void TestCase08(); + void RunTestStepL(TInt aStepNum); + void CloseDialogsL(); + void TestErrorDialogL(const TDesC8& aTestCaseName, + const TDesC& aTestCompareMbm, + const TDesC* aDbgBmp=NULL, + const TDesC* aDbgConvBmp=NULL, + const TDesC* aDbgConvCompBmp=NULL, + const TDesC* aDbgMbm=NULL); + void TestLeaveWithErrorText(const TDesC& aErrorText, const TDesC* aContextErrorText=NULL, const TBool& aExceedMaxDesc=NULL); + void ConvertToBmp(const CFbsBitmap* aBitmap, const TDesC* aFileName); +private: + RFs iFs; + RWsSession iWs; + }; + +//! TConeErrorMsg Test Step Name +_LIT(KTConeHelpTextStep,"TConeHelpText"); + + +#endif + +