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

Side by Side Diff: chrome/test/data/extensions/api_test/file_system_provider/evil/test.js

Issue 412163002: [fsp] Fix linter issues in JS tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed. Created 6 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 'use strict'; 5 'use strict';
6 6
7 /** 7 /**
8 * Map of opened files, from a <code>openRequestId</code> to <code>filePath 8 * Map of opened files, from a <code>openRequestId</code> to <code>filePath
9 * </code>. 9 * </code>.
10 * @type {Object.<number, string>} 10 * @type {Object.<number, string>}
(...skipping 279 matching lines...) Expand 10 before | Expand all | Expand 10 after
290 var onTestSuccess = chrome.test.callbackPass(); 290 var onTestSuccess = chrome.test.callbackPass();
291 test_util.fileSystem.root.getFile( 291 test_util.fileSystem.root.getFile(
292 TESTING_RELATIVE_NAME_FILE.name, 292 TESTING_RELATIVE_NAME_FILE.name,
293 {create: false}, 293 {create: false},
294 function(fileEntry) { 294 function(fileEntry) {
295 chrome.test.fail('Opening a file should fail.'); 295 chrome.test.fail('Opening a file should fail.');
296 }, 296 },
297 function(error) { 297 function(error) {
298 onTestSuccess(); 298 onTestSuccess();
299 }); 299 });
300 }, ]); 300 }
301 ]);
301 } 302 }
302 303
303 // Setup and run all of the test cases. 304 // Setup and run all of the test cases.
304 setUp(runTests); 305 setUp(runTests);
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698