0
|
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_racecar.h"
|
|
19 |
#include <symbianunittestsuite.h>
|
|
20 |
|
|
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_racecar") );
|
|
29 |
|
|
30 |
testSuite->AddL( UT_CRaceCar::NewLC() );
|
|
31 |
CleanupStack::Pop();
|
|
32 |
|
|
33 |
// Add more tests to the test suite here when testing multiple classes
|
|
34 |
|
|
35 |
CleanupStack::Pop( testSuite );
|
|
36 |
return testSuite;
|
|
37 |
}
|
|
38 |
|
|
39 |
|