sl@0: /* sl@0: * Copyright (c) 2007-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: * All rights reserved. sl@0: * This component and the accompanying materials are made available sl@0: * under the terms of the License "Eclipse Public License v1.0" sl@0: * which accompanies this distribution, and is available sl@0: * at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: * sl@0: * Initial Contributors: sl@0: * Nokia Corporation - initial contribution. sl@0: * sl@0: * Contributors: sl@0: * sl@0: * Description: sl@0: * sl@0: */ sl@0: sl@0: sl@0: sl@0: #include sl@0: #include sl@0: sl@0: #include "tpolicyreader.h" sl@0: #include "tupsplugins.h" sl@0: #include "tserviceconfig.h" sl@0: sl@0: _LIT( KServerName, "tupspolicies" ); sl@0: sl@0: const TTestName ServerName() sl@0: /** sl@0: ServerName sl@0: @return - The TEF server name sl@0: */ sl@0: { sl@0: TTestName serverName(KServerName); sl@0: return serverName; sl@0: } sl@0: sl@0: CTestSuite* CreateTestSuiteL() sl@0: /** sl@0: Gets the top level test suite sl@0: @return - The top level suite sl@0: */ sl@0: { sl@0: START_SUITE sl@0: ADD_TEST_SUITE(CTestPlugins); sl@0: ADD_TEST_SUITE(CTestPolicyReader); sl@0: END_SUITE sl@0: } sl@0: sl@0: GLDEF_C CTestStep* CreateTEFTestStep(const TDesC& aStepName, CTEFUnitServer& /* aServer */) sl@0: { sl@0: // Initialise test step object to NULL if no TEF steps are assigned sl@0: CTestStep* testStep(0); sl@0: if(aStepName == KServiceConfigStep) sl@0: testStep = new CServiceConfigTestStep(); sl@0: return testStep; sl@0: }