Index: chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
diff --git a/chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js b/chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..4b7894236e707527c9a79604bdc1637a4496db2b |
--- /dev/null |
+++ b/chrome/test/data/extensions/api_test/file_system/open_multiple_writable_existing_with_write/test.js |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2012 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+chrome.test.runTests([ |
+ function openFile() { |
+ chrome.fileSystem.chooseEntry( |
+ {acceptsMultiple: true, type: 'openWritableFile'}, |
+ chrome.test.callbackPass(function(entries) { |
+ chrome.test.assertEq(2, entries.length); |
+ checkEntry(entries[0], 'open_existing1.txt', false, true); |
+ checkEntry(entries[1], 'open_existing2.txt', false, true); |
+ }) |
+ ); |
+ } |
+]); |