phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp
changeset 65 2a5d4ab426d3
parent 53 22cc52eade9b
child 76 cfea66083b62
--- a/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp	Mon Aug 23 15:42:12 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp	Fri Sep 03 13:33:36 2010 +0300
@@ -107,7 +107,6 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     globalNoteParam.SetTimeout(0);
-    globalNoteParam.SetWaitForReady(ETrue);
     m_noteController->showGlobalNote(&globalNoteParam);
     QTest::qWait(2500);
     
@@ -120,7 +119,6 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     globalNoteParam.SetTextResourceId(R_NOTETEXT_NO_ANSWER);
-    globalNoteParam.SetWaitForReady(EFalse);
     globalNoteParam.SetType( EPhoneMessageBoxInformation );
     
     m_noteController->showGlobalNote(&globalNoteParam);
@@ -131,7 +129,6 @@
 void TestPhoneNoteController::testShowGlobalWarningNoteWithText ()
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
-    globalNoteParam.SetWaitForReady(ETrue);
     globalNoteParam.SetType( EPhoneMessageBoxWarning );
     globalNoteParam.SetText(_L("Test note 1"));
     
@@ -142,7 +139,6 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     globalNoteParam.SetTextResourceId(R_PHONE_TEXT_COLP_CONNECTED);
-    globalNoteParam.SetWaitForReady(EFalse);
     globalNoteParam.SetType( EPhoneMessageBoxInformation );
     globalNoteParam.SetText(_L("Test number"));
     
@@ -155,7 +151,6 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     //globalNoteParam.SetTextResourceId(R_NOTETEXT_NO_ANSWER);
-    globalNoteParam.SetWaitForReady(EFalse);
     globalNoteParam.SetType( EPhoneMessageBoxInformation );
     globalNoteParam.SetText(_L("Test note 2"));
     
@@ -173,7 +168,6 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     //globalNoteParam.SetTextResourceId(R_NOTETEXT_NO_ANSWER);
-    globalNoteParam.SetWaitForReady(EFalse);
     globalNoteParam.SetType( EPhoneMessageBoxInformation );
     globalNoteParam.SetText(_L("Test note 4"));
     
@@ -297,7 +291,7 @@
 {
     TPhoneCmdParamGlobalNote globalNoteParam;
     globalNoteParam.SetNotificationDialog( ETrue );
-    globalNoteParam.SetType( EAknGlobalWarningNote );
+    globalNoteParam.SetType( EPhoneMessageBoxWarning );
     globalNoteParam.SetText(_L("Test indication 1"));
     
     m_noteController->showGlobalNote(&globalNoteParam);