mds_pub/content_listing_framework_api/tsrc/src/CreateTestSuite.cpp
branchRCL_3
changeset 8 50de4d668bb6
parent 7 3cebc1a84278
child 9 82c0024438c8
equal deleted inserted replaced
7:3cebc1a84278 8:50de4d668bb6
     1 /*
       
     2 * Copyright (c) 2007 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 // INCLUDES
       
    20 #include <ceunittestsuite.h>
       
    21 #include "T_CLFApiModuleTests.h"
       
    22 
       
    23 /**
       
    24  * Test suite factory function.
       
    25  */
       
    26 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    27     {
       
    28     CEUnitTestSuite* mainSuite = CEUnitTestSuite::NewLC(_L("Content Listing Framework API Module Tests"));
       
    29 
       
    30     // NewLC leaves the pointer to cleanupstack until AddL finishes
       
    31     mainSuite->AddL( T_CLFApiModuleTests::NewLC() );
       
    32     CleanupStack::Pop();
       
    33 
       
    34     CleanupStack::Pop( mainSuite );
       
    35     return mainSuite;
       
    36     }
       
    37