testexecfw/symbianunittestfw/sutfw/sutfwcore/sutfwframework/tsrc/src/dllentry.cpp
equal
deleted
inserted
replaced
|
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 "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 #include "ut_symbianunittestfailure.h" |
|
19 #include "ut_symbianunittestresult.h" |
|
20 #include "ut_symbianunittest.h" |
|
21 #include "ut_symbianunittestsuite.h" |
|
22 #include <symbianunittestsuite.h> |
|
23 |
|
24 |
|
25 /** |
|
26 * Test suite factory function. |
|
27 */ |
|
28 EXPORT_C MSymbianUnitTestInterface* CreateTestSuiteL() |
|
29 { |
|
30 CSymbianUnitTestSuite* testSuite = |
|
31 CSymbianUnitTestSuite::NewLC( _L("ut_sutfwframework") ); |
|
32 |
|
33 testSuite->AddL( UT_CSymbianUnitTestFailure::NewLC() ); |
|
34 CleanupStack::Pop(); |
|
35 |
|
36 testSuite->AddL( UT_CSymbianUnitTestResult::NewLC() ); |
|
37 CleanupStack::Pop(); |
|
38 |
|
39 testSuite->AddL( UT_CSymbianUnitTest::NewLC() ); |
|
40 CleanupStack::Pop(); |
|
41 |
|
42 testSuite->AddL( UT_CSymbianUnitTestSuite::NewLC() ); |
|
43 CleanupStack::Pop(); |
|
44 |
|
45 CleanupStack::Pop( testSuite ); |
|
46 return testSuite; |
|
47 } |
|
48 |
|
49 // END OF FILE |