equal
deleted
inserted
replaced
17 |
17 |
18 #include <QtTest/QtTest> |
18 #include <QtTest/QtTest> |
19 #include <QtGui> |
19 #include <QtGui> |
20 #include <hbapplication.h> |
20 #include <hbapplication.h> |
21 #include <QSignalSpy> |
21 #include <QSignalSpy> |
|
22 #include <xqsystemtoneservice.h> |
22 //#include <hbglobal_p.h> |
23 //#include <hbglobal_p.h> |
23 #include "phonenotecontroller.h" |
24 #include "phonenotecontroller.h" |
24 #include "phoneresourceids.h" |
25 #include "phoneresourceids.h" |
25 #include "phoneui.hrh" |
26 #include "phoneui.hrh" |
26 #include "tphonecmdparamglobalnote.h" |
27 #include "tphonecmdparamglobalnote.h" |
72 { |
73 { |
73 } |
74 } |
74 |
75 |
75 void TestPhoneNoteController::initTestCase () |
76 void TestPhoneNoteController::initTestCase () |
76 { |
77 { |
77 m_noteController = new PhoneNoteController(); |
78 XQSystemToneService* toneservice = new XQSystemToneService(this); |
|
79 m_noteController = new PhoneNoteController(*toneservice); |
78 } |
80 } |
79 |
81 |
80 void TestPhoneNoteController::cleanupTestCase () |
82 void TestPhoneNoteController::cleanupTestCase () |
81 { |
83 { |
82 delete m_noteController; |
84 delete m_noteController; |