meetingrequest/mrentry/tsrc/ut_mrentry/src/dllmain.cpp
branchRCL_3
changeset 12 4ce476e64c59
equal deleted inserted replaced
11:0396474f30f5 12:4ce476e64c59
       
     1 /*
       
     2 * Copyright (c) 2008-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:  Conflict Checker unit and module test entrypoint
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 // SYSTEM INCLUDES
       
    20 #include <CEUnitTestSuite.h>
       
    21 
       
    22 // USER INCLUDES
       
    23 #include "ut_cesmrconflictchecker.h"
       
    24 #include "ut_cesmrmeetingrequestentry.h"
       
    25 
       
    26 // ---------------------------------------------------------------------------
       
    27 // CreateTestSuiteL
       
    28 // ---------------------------------------------------------------------------
       
    29 //
       
    30 EXPORT_C MEUnitTest* CreateTestSuiteL()
       
    31     {
       
    32     CEUnitTestSuite* rootSuite = CEUnitTestSuite::NewLC(_L("MREntry Unit Tests"));
       
    33     
       
    34     CEUnitTestSuiteClass* testSuite;
       
    35     testSuite = UT_CESMRConflictChecker::NewLC();
       
    36     rootSuite->AddL( testSuite );
       
    37     CleanupStack::Pop( testSuite );
       
    38     
       
    39     CEUnitTestSuiteClass* testSuite2;
       
    40     testSuite2 = UT_CESMRMeetingRequestEntry::NewLC();
       
    41     rootSuite->AddL( testSuite2 );
       
    42     CleanupStack::Pop( testSuite2 );
       
    43     
       
    44     CleanupStack::Pop( rootSuite );
       
    45     return rootSuite;
       
    46     }