diff -r 000000000000 -r 4e1aa6a622a0 resourcemgmt/hwresourcesmgr/test/te_hwrm/hwrmtestserver_pr.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/resourcemgmt/hwresourcesmgr/test/te_hwrm/hwrmtestserver_pr.cpp Tue Feb 02 00:53:00 2010 +0200 @@ -0,0 +1,41 @@ +// Copyright (c) 2007-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: +// + +#include +#include +#include "hwrmtest.h" + +// Require: return server name : must be the same that the exe name +_LIT( KServerName, "te_hwrm_pr" ); +GLDEF_C const TTestName ServerName() + { + TTestName serverName(KServerName); + return serverName; + } + +// Require: return the root test suite +GLDEF_C CTestSuite* CreateTestSuiteL() + { + START_SUITE + ADD_TEST_SUITE(CHWRMTest) + END_SUITE + } + +// Require: create std TEF test case +GLDEF_D CTestStep* CreateTEFTestStep(const TDesC& /*aStepName*/, CTEFUnitServer& /*aServer*/) + { + // this allow std TEF test steps to be created and run inside TEFUnit + return NULL; + }