multimediacommsengine/mmcesrv/mmceserver/tsrc/ut_server/src/DllEntry.cpp
changeset 0 1bce908db942
equal deleted inserted replaced
-1:000000000000 0:1bce908db942
       
     1 /*
       
     2 * Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  
       
    15 *
       
    16 */
       
    17 
       
    18 #include <cppunit/TestSuite.h>
       
    19 #include "CMceTimerManagerTest.h"
       
    20 
       
    21 // Bullseye reguires following entry point
       
    22 #ifdef _BullseyeCoverage
       
    23 GLDEF_C int __stdcall __E32Dll(void*, unsigned, void*)
       
    24 	{
       
    25 	return 0;
       
    26 	}
       
    27 #else
       
    28 #ifndef EKA2
       
    29 // Starting point of the DLL (Removed in EKA2) 
       
    30 GLDEF_C TInt E32Dll(TDllReason)
       
    31 	{
       
    32 	return(KErrNone);
       
    33 	}
       
    34 #endif
       
    35 #endif _BullseyeCoverage
       
    36 
       
    37 
       
    38 // Exactly one exported function returning the suite of 
       
    39 // test functions for the test runner in the framework.
       
    40 // (Always needed)
       
    41 //
       
    42 EXPORT_C MTest* CreateTestL ()
       
    43 	{
       
    44     CTestSuite *suite = CTestSuite::NewL(_L8("MceTimerManagerTest"));
       
    45 
       
    46     suite->addTestL(CMceTimerManagerTest::suiteL());
       
    47 /*
       
    48 	suite->addTestL(CMceCsReceiveQueueTest::suiteL());
       
    49     suite->addTestL(CMceCsReceiverBaseTest::suiteL());
       
    50     suite->addTestL(CMceCsSessionReceiverTest::suiteL());
       
    51     suite->addTestL(CMceCsSubSessionReceiverTest::suiteL());
       
    52     suite->addTestL(CMceCsSessionTest::suiteL());
       
    53     suite->addTestL(CMceCsSubSessionTest::suiteL());
       
    54 */
       
    55     return suite;
       
    56 	}