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 |
|
19 #ifndef __UT_CMusFactorySettings_H__ |
|
20 #define __UT_CMusFactorySettings_H__ |
|
21 |
|
22 |
|
23 // EXTERNAL INCLUDES |
|
24 #include <ceunittestsuiteclass.h> |
|
25 #include <eunitmacros.h> |
|
26 |
|
27 |
|
28 // Forward declaration |
|
29 class MusFactorySettings; |
|
30 class CRepository; |
|
31 |
|
32 // Next row is to disable warning emerging from EUnit code. |
|
33 // Placement is due to a fact that most test case files |
|
34 // include this file. Directive can be removed when |
|
35 // EUnit is fixed. |
|
36 #pragma warn_illtokenpasting off |
|
37 |
|
38 // CLASS DEFINITION |
|
39 /** |
|
40 * Tester class for CMusCallMonitorBase. |
|
41 * |
|
42 */ |
|
43 NONSHARABLE_CLASS( UT_CMusFactorySettings ): public CEUnitTestSuiteClass |
|
44 { |
|
45 public: |
|
46 //Two phase construction |
|
47 static UT_CMusFactorySettings* NewL(); |
|
48 static UT_CMusFactorySettings* NewLC(); |
|
49 // Destructor |
|
50 ~UT_CMusFactorySettings(); |
|
51 |
|
52 private: // Constructor |
|
53 UT_CMusFactorySettings(); |
|
54 void ConstructL(); |
|
55 |
|
56 private: // Test case setup and teardown |
|
57 void SetupL(); |
|
58 void Teardown(); |
|
59 |
|
60 private: // Test methdods |
|
61 void UT_CMusFactorySettings_IsSupportedLL(); |
|
62 |
|
63 private: // Data |
|
64 CRepository* iMusCentralRepository ; |
|
65 EUNIT_DECLARE_TEST_TABLE; |
|
66 |
|
67 }; |
|
68 |
|
69 #endif // __UT_CMusFactorySettings_H__ |
|
70 |
|
71 // End of file |
|