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 // INCLUDE FILES |
|
18 #include <e32svr.h> |
|
19 #include <StifParser.h> |
|
20 #include <Stiftestinterface.h> |
|
21 #include "menusatinterfacetest.h" |
|
22 |
|
23 // ============================ MEMBER FUNCTIONS =============================== |
|
24 |
|
25 // ----------------------------------------------------------------------------- |
|
26 // CMenuSatInterfaceTest::RunMethodL |
|
27 // Run specified method. Contains also table of test mothods and their names. |
|
28 // ----------------------------------------------------------------------------- |
|
29 // |
|
30 TInt CMenuSatInterfaceTest::RunMethodL( |
|
31 CStifItemParser& aItem ) |
|
32 { |
|
33 |
|
34 static TStifFunctionInfo const KFunctions[] = |
|
35 { |
|
36 ENTRY( "Test_SatUiVisibleL", CMenuSatInterfaceTest::Test_SatUiVisibleL), |
|
37 ENTRY( "Test_SatUiVisibleIconIdL", CMenuSatInterfaceTest::Test_SatUiVisibleIconIdL), |
|
38 ENTRY( "Test_SatInterfaceConstructL", CMenuSatInterfaceTest::Test_SatInterfaceConstructL), |
|
39 }; |
|
40 |
|
41 const TInt count = sizeof( KFunctions ) / |
|
42 sizeof( TStifFunctionInfo ); |
|
43 |
|
44 return RunInternalL( KFunctions, count, aItem ); |
|
45 |
|
46 } |
|
47 |
|
48 // End of File |
|