Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(147)

Unified Diff: trunk/src/chrome/test/data/extensions/api_test/image_writer_private/list_devices/test.js

Issue 384513002: Revert 282130 "Adds API test for imageWriterPrivate.writeFromFile" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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);
});
}

Powered by Google App Engine
This is Rietveld 408576698