equal
deleted
inserted
replaced
14 * Description: |
14 * Description: |
15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 #include "ut_symbianunittestcommandlineparser.h" |
18 #include "ut_symbianunittestcommandlineparser.h" |
|
19 #include <symbianunittestsuite.h> |
19 |
20 |
20 |
21 |
21 // Exactly one exported function returning |
22 // Exactly one exported function returning |
22 // the pointer to the suite of tests for the SymbianUnit framework. |
23 // the pointer to the suite of tests for the SymbianUnit framework. |
23 // |
24 // |
24 EXPORT_C MSymbianUnitTestInterface* CreateTestL() |
25 EXPORT_C MSymbianUnitTestInterface* CreateTestL() |
25 { |
26 { |
26 return UT_CSymbianUnitTestCommandLineParser::NewL(); |
27 CSymbianUnitTestSuite* testSuite = |
|
28 CSymbianUnitTestSuite::NewLC( _L("ut_consoleui") ); |
|
29 |
|
30 testSuite->AddL( UT_CSymbianUnitTestCommandLineParser::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; |
27 } |
37 } |
28 |
|
29 |
|