--- a/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp Mon Oct 04 16:06:10 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp Fri Oct 15 12:58:46 2010 +0300
@@ -19,6 +19,7 @@
#include <QtGui>
#include <hbapplication.h>
#include <QSignalSpy>
+#include <xqsystemtoneservice.h>
//#include <hbglobal_p.h>
#include "phonenotecontroller.h"
#include "phoneresourceids.h"
@@ -74,7 +75,8 @@
void TestPhoneNoteController::initTestCase ()
{
- m_noteController = new PhoneNoteController();
+ XQSystemToneService* toneservice = new XQSystemToneService(this);
+ m_noteController = new PhoneNoteController(*toneservice);
}
void TestPhoneNoteController::cleanupTestCase ()