testdev/ite/test/com.nokia.testfw.cmdtool.test/test.resource/unittest/standard/testThread/unittest/src/dllentry.cpp
changeset 1 96906a986c3b
equal deleted inserted replaced
0:f1112f777ce9 1:96906a986c3b
       
     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 the License "Symbian Foundation License v1.0"
       
     6  * which accompanies this distribution, and is available
       
     7  * at the URL "http://www.symbianfoundation.org/legal/epl-v10.html".
       
     8  *
       
     9  * Initial Contributors:
       
    10  * Nokia Corporation - initial contribution.
       
    11  *
       
    12  * Contributors:
       
    13  *
       
    14  * Description:
       
    15  *
       
    16  */
       
    17 
       
    18 #include "ut_CChild.h"
       
    19 #include "ut_CTest1.h"
       
    20 #include <symbianunittestsuite.h>
       
    21 
       
    22 // Exactly one exported function returning
       
    23 // the pointer to the suite of tests for the SymbianUnit framework.
       
    24 //
       
    25 EXPORT_C MSymbianUnitTestInterface* CreateTestL()
       
    26 {
       
    27 	CSymbianUnitTestSuite* testSuite =
       
    28 	CSymbianUnitTestSuite::NewLC( _L("ut_testThread") );
       
    29 
       
    30     testSuite->AddL( UT_CChild::NewLC() );
       
    31     testSuite->AddL( UT_CTest1::NewLC() );
       
    32 	CleanupStack::Pop();
       
    33 
       
    34 	CleanupStack::Pop( testSuite );
       
    35 	return testSuite;
       
    36 }