|
1 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies). |
|
2 // All rights reserved. |
|
3 // This component and the accompanying materials are made available |
|
4 // under the terms of "Eclipse Public License v1.0" |
|
5 // which accompanies this distribution, and is available |
|
6 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 // |
|
8 // Initial Contributors: |
|
9 // Nokia Corporation - initial contribution. |
|
10 // |
|
11 // Contributors: |
|
12 // |
|
13 // Description: |
|
14 // |
|
15 |
|
16 // EPOC includes |
|
17 #include <e32base.h> |
|
18 |
|
19 // Test system includes |
|
20 #include <testframework.h> |
|
21 |
|
22 #include "IclMdaVidTestStep.h" |
|
23 #include "IclTestSuite.h" |
|
24 |
|
25 /* |
|
26 * NewTestSuite is exported at ordinal 1 |
|
27 * this provides the interface to allow schedule test |
|
28 * to create instances of this test suite |
|
29 * |
|
30 */ |
|
31 EXPORT_C CTestSuite* NewTestSuiteL() |
|
32 { |
|
33 CIclTestSuite* result = CIclTestSuite::NewL(); |
|
34 return result; |
|
35 } |
|
36 |
|
37 CIclTestSuite::CIclTestSuite() |
|
38 { |
|
39 } |
|
40 |
|
41 CIclTestSuite* CIclTestSuite::NewL() |
|
42 { |
|
43 CIclTestSuite* self = new (ELeave) CIclTestSuite; |
|
44 CleanupStack::PushL(self); |
|
45 self->ConstructL(); |
|
46 CleanupStack::Pop(self); // self |
|
47 return self; |
|
48 } |
|
49 |
|
50 CIclTestSuite::~CIclTestSuite() |
|
51 { |
|
52 } |
|
53 |
|
54 TPtrC CIclTestSuite::GetVersion( void ) |
|
55 { |
|
56 _LIT(KTxtVersion,"1.0"); |
|
57 return KTxtVersion(); |
|
58 } |
|
59 |
|
60 void CIclTestSuite::InitialiseL() |
|
61 { |
|
62 // store the name of this test suite |
|
63 iSuiteName = _L("TSU_ICL_TMDAVID"); |
|
64 AddTestStepL(CIclMdaVidTestStep::NewL(_L("MM-ICL-TMDAVID-U-0001"))); |
|
65 } |
|
66 |