testdev/ite/test/com.nokia.testfw.cmdtool.test/test.resource/unittest/standard/testThread/unittest/src/dllentry.cpp
author Johnson Ma <johnson.ma@nokia.com>
Tue, 30 Mar 2010 14:39:29 +0800
changeset 1 96906a986c3b
permissions -rw-r--r--
contribute ITE to symbian foundation

/*
 * Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
 * All rights reserved.
 * This component and the accompanying materials are made available
 * under the terms of the License "Symbian Foundation License v1.0"
 * which accompanies this distribution, and is available
 * at the URL "http://www.symbianfoundation.org/legal/epl-v10.html".
 *
 * Initial Contributors:
 * Nokia Corporation - initial contribution.
 *
 * Contributors:
 *
 * Description:
 *
 */

#include "ut_CChild.h"
#include "ut_CTest1.h"
#include <symbianunittestsuite.h>

// Exactly one exported function returning
// the pointer to the suite of tests for the SymbianUnit framework.
//
EXPORT_C MSymbianUnitTestInterface* CreateTestL()
{
	CSymbianUnitTestSuite* testSuite =
	CSymbianUnitTestSuite::NewLC( _L("ut_testThread") );

    testSuite->AddL( UT_CChild::NewLC() );
    testSuite->AddL( UT_CTest1::NewLC() );
	CleanupStack::Pop();

	CleanupStack::Pop( testSuite );
	return testSuite;
}