diff -r cfea66083b62 -r baacf668fe89 phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp --- 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 #include #include +#include //#include #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 ()