Index: chrome/test/data/file_manager/unit_tests/device_handler_unittest.js |
diff --git a/chrome/test/data/file_manager/unit_tests/device_handler_unittest.js b/chrome/test/data/file_manager/unit_tests/device_handler_unittest.js |
index c544871a117a37899f71e73e1c582d21499be319..fa357f4d6c573e10113cf2bacfaf4a7cb2a3bb4a 100644 |
--- a/chrome/test/data/file_manager/unit_tests/device_handler_unittest.js |
+++ b/chrome/test/data/file_manager/unit_tests/device_handler_unittest.js |
@@ -25,7 +25,6 @@ function setUp() { |
// Set up string assets. |
loadTimeData.data = { |
REMOVABLE_DEVICE_DETECTION_TITLE: 'Device detected', |
- REMOVABLE_DEVICE_SCANNING_MESSAGE: 'Scanning...', |
REMOVABLE_DEVICE_NAVIGATION_MESSAGE: 'DEVICE_NAVIGATION', |
REMOVABLE_DEVICE_NAVIGATION_BUTTON_LABEL: '', |
DEVICE_UNKNOWN_MESSAGE: 'DEVICE_UNKNOWN: $1', |
@@ -358,29 +357,6 @@ function testMulitpleFail() { |
chrome.notifications.items['deviceFail:/device/path'].message); |
} |
-function testScanCanceled() { |
- chrome.fileManagerPrivate.onDeviceChanged.dispatch({ |
- type: 'scan_started', |
- devicePath: '/device/path' |
- }); |
- assertTrue('device:/device/path' in chrome.notifications.items); |
- assertEquals('Scanning...', |
- chrome.notifications.items['device:/device/path'].message); |
- |
- chrome.fileManagerPrivate.onDeviceChanged.dispatch({ |
- type: 'scan_cancelled', |
- devicePath: '/device/path' |
- }); |
- assertEquals(0, Object.keys(chrome.notifications.items).length); |
- |
- // Nothing happened. |
- chrome.fileManagerPrivate.onDeviceChanged.dispatch({ |
- type: 'removed', |
- devicePath: '/device/path' |
- }); |
- assertEquals(0, Object.keys(chrome.notifications.items).length); |
-} |
- |
function testDisabledDevice() { |
chrome.fileManagerPrivate.onDeviceChanged.dispatch({ |
type: 'disabled', |