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

Side by Side Diff: chrome/test/data/extensions/api_test/file_browser/mount_test/test.js

Issue 24024002: file_manager: Move mount test stuff to c/t/d/extensions/api_test/file_browser (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix OWNERS Created 7 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // These have to be sync'd with file_browser_private_apitest.cc 5 // These have to be sync'd with file_browser_private_apitest.cc
6 var expectedVolume1 = { 6 var expectedVolume1 = {
7 devicePath: 'device_path1', 7 devicePath: 'device_path1',
8 mountPath: 'removable/mount_path1', 8 mountPath: 'removable/mount_path1',
9 systemPath: 'system_path1', 9 systemPath: 'system_path1',
10 filePath: 'file_path1', 10 filePath: 'file_path1',
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after
190 chrome.test.assertEq(result.length, expectedMountPoints.length, 190 chrome.test.assertEq(result.length, expectedMountPoints.length,
191 'getMountPoints returned wrong number of mount points.'); 191 'getMountPoints returned wrong number of mount points.');
192 for (var i = 0; i < expectedMountPoints.length; i++) { 192 for (var i = 0; i < expectedMountPoints.length; i++) {
193 chrome.test.assertTrue( 193 chrome.test.assertTrue(
194 validateObject(result[i], expectedMountPoints[i], 'mountPoint'), 194 validateObject(result[i], expectedMountPoints[i], 'mountPoint'),
195 'getMountPoints result[' + i + '] not as expected'); 195 'getMountPoints result[' + i + '] not as expected');
196 } 196 }
197 })); 197 }));
198 } 198 }
199 ]); 199 ]);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698