--- a/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp Thu Sep 02 20:26:16 2010 +0300
+++ b/phoneapp/phoneuiqtviewadapter/tsrc/ut_phonenotecontroller/unit_tests.cpp Fri Sep 17 08:29:19 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);