diff -r 000000000000 -r 5d03bc08d59c graphicsutils/commongraphicsheaders/test/src/tcommonheader.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graphicsutils/commongraphicsheaders/test/src/tcommonheader.cpp Tue Feb 02 01:47:50 2010 +0200 @@ -0,0 +1,63 @@ +// Copyright (c) 2008-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 +*/ + +#include "tdisplayconfiguration.h" +#include + +//these includes are here just to get the files listed in the carbide symbian project view +#include "../inc/displayconfiguration.h" +#include "../inc/displaycontrolbase.h" + +_LIT( KServerName, "commonheadertestserver" ); + +GLDEF_C const TTestName ServerName() +/** + * ServerName + * + * @return - The TEF server name + */ + { + TTestName serverName(KServerName); + return serverName; + } + +GLDEF_C CTestSuite* CreateTestSuiteL() +/** + * Create the overall test suite. + * + * @return - The top level suite + */ + { + START_SUITE; + + ADD_TEST_SUITE( CTestDisplayConfiguration ); + + END_SUITE; + } + +GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& , CTEFUnitServer& /* aServer */) +/** + * Create individual test steps, outside the suite. + */ + { + // Initialise test step object to NULL if no TEF step is found + CTestStep* testStep = NULL; + + return testStep; + }