equal
deleted
inserted
replaced
18 |
18 |
19 #ifndef __UT_CMusPropertyMonitor_H__ |
19 #ifndef __UT_CMusPropertyMonitor_H__ |
20 #define __UT_CMusPropertyMonitor_H__ |
20 #define __UT_CMusPropertyMonitor_H__ |
21 |
21 |
22 |
22 |
23 // USER INCLUDES |
|
24 |
|
25 #include "mmuscallstateobserver.h" |
|
26 |
|
27 // EXTERNAL INCLUDES |
23 // EXTERNAL INCLUDES |
28 #include <digia/eunit/ceunittestsuiteclass.h> |
24 #include <digia/eunit/ceunittestsuiteclass.h> |
29 #include <digia/eunit/eunitmacros.h> |
25 #include <digia/eunit/eunitmacros.h> |
30 |
26 |
31 // FORWARD DECLARATIONS |
27 // FORWARD DECLARATIONS |
40 // CLASS DEFINITION |
36 // CLASS DEFINITION |
41 /** |
37 /** |
42 * Tester class for CMusTsyPropertyMonitor. |
38 * Tester class for CMusTsyPropertyMonitor. |
43 * |
39 * |
44 */ |
40 */ |
45 NONSHARABLE_CLASS( UT_CMusPropertyMonitor ): public CEUnitTestSuiteClass, |
41 NONSHARABLE_CLASS( UT_CMusPropertyMonitor ): public CEUnitTestSuiteClass |
46 MMusCallStateObserver |
|
47 { |
42 { |
48 public: // Constructors and destructors |
43 public: // Constructors and destructors |
49 |
44 |
50 /** |
45 /** |
51 * Two phase construction |
46 * Two phase construction |
55 |
50 |
56 /** |
51 /** |
57 * Destructor |
52 * Destructor |
58 */ |
53 */ |
59 ~UT_CMusPropertyMonitor(); |
54 ~UT_CMusPropertyMonitor(); |
60 |
|
61 |
|
62 public: // MMusCallStateObserver |
|
63 |
|
64 virtual void MusCallStateChanged(); |
|
65 |
|
66 |
55 |
67 private: // Constructors and destructors |
56 private: // Constructors and destructors |
68 |
57 |
69 UT_CMusPropertyMonitor(); |
58 UT_CMusPropertyMonitor(); |
70 void ConstructL(); |
59 void ConstructL(); |
77 |
66 |
78 private: // Test methdods |
67 private: // Test methdods |
79 |
68 |
80 void UT_CMusPropertyMonitor_RunLL(); |
69 void UT_CMusPropertyMonitor_RunLL(); |
81 void UT_CMusPropertyMonitor_DoCancelL(); |
70 void UT_CMusPropertyMonitor_DoCancelL(); |
82 void UT_CMusPropertyMonitor_RunErrorL(); |
71 void UT_CMusPropertyMonitor_RunErrorL(); |
83 void UT_CMusPropertyMonitor_IsCallConnected(); |
|
84 |
72 |
85 private: // Data |
73 private: // Data |
86 CMusPropertyMonitor* iMusPropertyMonitor; |
74 CMusPropertyMonitor* iMusPropertyMonitor; |
87 TBool iMusCallStateObserverInovked; |
|
88 |
|
89 |
75 |
90 EUNIT_DECLARE_TEST_TABLE; |
76 EUNIT_DECLARE_TEST_TABLE; |
91 |
77 |
92 }; |
78 }; |
93 |
79 |