meetingrequest/mrmbutilsextension/tsrc/module/mrmbutilsextension/src/DllMain.cpp
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2008 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 #include <ceunittestsuite.h>
       
    20 #include "MT_mrmbutilsextension.h"
       
    21 
       
    22 /**
       
    23 * T_HelloWorld.dll test suite factory function.
       
    24 */
       
    25 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    26     {
       
    27     _LIT( KMRMbUtilsExtensionTest, "MRMBUtils extension test" );
       
    28     
       
    29     CEUnitTestSuite* rootSuite = 
       
    30 			CEUnitTestSuite::NewLC( KMRMbUtilsExtensionTest );
       
    31 
       
    32     // Note that NewLC leaves the object in the cleanupstack.
       
    33     MT_MRMbUtilsExtension* moduleTest = 
       
    34             MT_MRMbUtilsExtension::NewLC();
       
    35     
       
    36     rootSuite->AddL( moduleTest );
       
    37 
       
    38     CleanupStack::Pop( moduleTest );
       
    39     CleanupStack::Pop( rootSuite );
       
    40 
       
    41     return rootSuite;
       
    42     }