OLD | NEW |
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 Loading... |
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 ]); |
OLD | NEW |