cmmanager/cppacketdataapplugin/tsrc/ut/testcppacketdataapplugin.cpp
changeset 47 cb7afde124a3
parent 46 95d45f234cf3
--- a/cmmanager/cppacketdataapplugin/tsrc/ut/testcppacketdataapplugin.cpp	Wed Jun 23 18:39:24 2010 +0300
+++ b/cmmanager/cppacketdataapplugin/tsrc/ut/testcppacketdataapplugin.cpp	Tue Jul 06 14:42:41 2010 +0300
@@ -401,36 +401,6 @@
 }
 
 /**
- * Tests "prompt" password checkbox.
- */
-void TestCpPacketDataApPlugin::tcChangePromptPassword()
-{
-    // Ensure prompt for password is unchecked
-    bool prompt = subGetBool(CMManagerShim::PacketDataIFPromptForAuth);
-    if (prompt) {
-        // Disable prompt for password
-        HbAutoTest::mouseClick(mMainWindow, mPasswordPromptWidget);
-    }
-    
-    // Enable prompt for password and verify
-    HbAutoTest::mouseClick(mMainWindow, mPasswordPromptWidget);
-    subVerifyBool(
-        CMManagerShim::PacketDataIFPromptForAuth,
-        true);
-    
-    // Verify that password lineedit is disabled, following steps will
-    // fail if editing is allowed
-    HbAutoTest::mouseClick(mMainWindow, mPasswordWidget);
-    QTest::qWait(waitTime);
-
-    // Disable prompt for password and verify
-    HbAutoTest::mouseClick(mMainWindow, mPasswordPromptWidget);
-    subVerifyBool(
-        CMManagerShim::PacketDataIFPromptForAuth,
-        false);
-}
-
-/**
  * Tests changing of password.
  */
 void TestCpPacketDataApPlugin::tcChangePassword()
@@ -1208,9 +1178,6 @@
     mUserNameWidget = subGetWidgetByIndex(
         mTestView->mForm,
         iterator.index(2, apGroupIndex));
-    mPasswordPromptWidget = subGetWidgetByIndex(
-        mTestView->mForm,
-        iterator.index(3, apGroupIndex));
     mPasswordWidget = subGetWidgetByIndex(
         mTestView->mForm,
         iterator.index(4, apGroupIndex));