diff -r ccd8e69b5392 -r 496ad160a278 mmsharing/mmshindicator/tsrc/ut_indicator/src/dllmain.cpp --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mmsharing/mmshindicator/tsrc/ut_indicator/src/dllmain.cpp Fri Jun 11 13:36:18 2010 +0300 @@ -0,0 +1,48 @@ +/* +* Copyright (c) 2007 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: Provides factory function for EUnit test suite. +* +*/ + + + +#include "ut_cmusindicatorapi.h" +#include "ut_cmussoundplayer.h" +#include "ut_cmusindicatordsa.h" +#include + + +_LIT( KRootSuiteName, "Mus Indicator" ); + + +/** + * Test suite factory function. + */ +EXPORT_C MEUnitTest* CreateTestSuiteL() + { + CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC( KRootSuiteName ); + + rootSuite->AddL( UT_CMusIndicatorApi::NewLC() ); + CleanupStack::Pop(); + + rootSuite->AddL( UT_CMusSoundPlayer::NewLC() ); + CleanupStack::Pop(); + + rootSuite->AddL( UT_CMusIndicatorDsa::NewLC() ); + CleanupStack::Pop(); + + CleanupStack::Pop( rootSuite ); + + return rootSuite; + }