Index: trunk/src/chrome/test/data/extensions/api_test/image_writer_private/list_devices/test.js |
=================================================================== |
--- trunk/src/chrome/test/data/extensions/api_test/image_writer_private/list_devices/test.js (revision 282139) |
+++ trunk/src/chrome/test/data/extensions/api_test/image_writer_private/list_devices/test.js (working copy) |
@@ -2,17 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
- |
-// storage_unit_id is skipped because it is generated to point at a temporary |
-// file. |
var expectedDevices = [{ |
'vendor': 'Vendor 1', |
'model': 'Model 1', |
- 'capacity': 1 << 15, |
+ 'capacity': 1 << 20, |
+ 'storageUnitId': '/test/id/1', |
}, { |
'vendor': 'Vendor 2', |
'model': 'Model 2', |
- 'capacity': 1 << 17, |
+ 'capacity': 1 << 22, |
+ 'storageUnitId': '/test/id/2', |
}]; |
@@ -35,6 +34,7 @@ |
chrome.test.assertEq(expected.vendor, dev.vendor); |
chrome.test.assertEq(expected.model, dev.model); |
chrome.test.assertEq(expected.capacity, dev.capacity); |
+ chrome.test.assertEq(expected.storageUnitId, dev.storageUnitId); |
}); |
} |