--- a/usbengines/usbotgwatcher/tsrc/UsbOtgWatcherTest/src/UsbOtgWatcherTestBlocks.cpp Tue Aug 31 16:13:57 2010 +0300
+++ b/usbengines/usbotgwatcher/tsrc/UsbOtgWatcherTest/src/UsbOtgWatcherTestBlocks.cpp Wed Sep 01 12:20:49 2010 +0100
@@ -26,7 +26,6 @@
#include "mockusbman.h"
#include "mockcusbnotifmanager.h"
#include <usbpersonalityids.h>
-#include "cusbindicatornotifier.h"
// EXTERNAL DATA STRUCTURES
@@ -146,11 +145,6 @@
{
TESTPARAM( eGetString, eTestOption1 )
}
-
- TESTENTRY( "IndicatorNotifier_IndicatorActivateL", CtUsbOtgWatcher::IndicatorNotifier_IndicatorActivateL )
- {
- TESTPARAM( eGetString, eTestOption1 )
- }
}
// Add test block methods implementation here
@@ -619,29 +613,6 @@
TRACE("<<CtUsbOtgWatcher::DeviceDetached_SupportedDeviceL");
}
-void CtUsbOtgWatcher::IndicatorNotifier_IndicatorActivateL( TUsbOtgWatcherTestBlockParams& aParams,
- TUsbOtgWatcherTestResult& aTestResult )
- {
- TRACE(">> IndicatorNotifier_IndicatorActivateL");
-
- SetupL();
-
- CUsbNotifManager* notifManager = CUsbNotifManager::NewL(*iWatcher);
- CleanupStack::PushL(notifManager);
- CUsbIndicatorNotifier* notifier = CUsbIndicatorNotifier::NewL(*notifManager, *iWatcher);
- CleanupStack::PushL(notifier);
-
- notifier->ToggleConnectingIndicator(ETrue);
-
- STIF_ASSERT_TRUE(notifier->iConnectingIndicatorOn);
-
- CleanupStack::PopAndDestroy(2);
-
- TearDown();
-
- aTestResult = ETestCasePassed;
- TRACE("<< IndicatorNotifier_IndicatorActivateL");
- }
// Add other member functions implementation here