profilesapplication/Profiles/ProfileApp/tsrc/public/basic/src/DllMain.cpp
branchRCL_3
changeset 19 cd54903d48da
parent 0 ca436256272f
equal deleted inserted replaced
18:b7fa36b488f8 19:cd54903d48da
       
     1 /*
       
     2 * Copyright (c) 2002 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:  Profile Settings View module test suite and test class
       
    15 *                creation and DLL entry point function.
       
    16 *
       
    17 */
       
    18 
       
    19 
       
    20 
       
    21 // INCLUDE FILES
       
    22 #include "T_CProfileToneHandler.h"
       
    23 #include <CEUnitTestSuite.h>
       
    24 
       
    25 // ============================= LOCAL FUNCTIONS ===============================
       
    26 
       
    27 // -----------------------------------------------------------------------------
       
    28 // CreateTestSuiteL EUnit test suite factory function.
       
    29 //                  Creates the test suite and the test classes.
       
    30 //
       
    31 // Returns: EUnit test suite interface
       
    32 // -----------------------------------------------------------------------------
       
    33 //
       
    34 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    35     {
       
    36     CEUnitTestSuite* mainSuite = CEUnitTestSuite::NewLC(
       
    37         _L("ProfileSettingsView Module Tests") );
       
    38 
       
    39     // NewLC leaves the pointer to cleanupstack until AddL finishes
       
    40     mainSuite->AddL( T_CProfileToneHandler::NewLC() );
       
    41     CleanupStack::Pop();
       
    42 
       
    43     CleanupStack::Pop( mainSuite );
       
    44     return mainSuite;
       
    45     }
       
    46 
       
    47 //  End of File