idlefw/tsrc/mcsplugin/mt_mcsplugin/mt_mcsplugindllmain.cpp
branchRCL_3
changeset 28 053c6c7c14f3
equal deleted inserted replaced
27:2c7f27287390 28:053c6c7c14f3
       
     1 /*
       
     2 * Copyright (c) 2009 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 
       
    19 //  CLASS HEADER
       
    20 #include "MT_mcsplugin.h"
       
    21 
       
    22 
       
    23 
       
    24 //  EXTERNAL INCLUDES
       
    25 #include <digia/eunit/ceunittestsuite.h>
       
    26 
       
    27 /**
       
    28  * Test suite factory function.
       
    29  */
       
    30 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    31     {
       
    32     //There is a suite contraction error if use belong codes
       
    33     CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC( _L("Wizard generated") );
       
    34 
       
    35     rootSuite->AddL( MT_mcsplugin::NewLC() );
       
    36     CleanupStack::Pop();
       
    37 
       
    38 
       
    39     CleanupStack::Pop( rootSuite ); // rootSuite
       
    40 
       
    41     return rootSuite;
       
    42     }
       
    43 
       
    44 #ifndef __SECURE_API__
       
    45 /**
       
    46  * Standard Symbian DLL entry point function.
       
    47  */
       
    48 GLDEF_C TInt E32Dll(TDllReason)
       
    49     {
       
    50     return KErrNone;
       
    51     }
       
    52 #endif
       
    53 
       
    54 //  END OF FILE