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
3 // found in the LICENSE file.
7 chrome.syncFileSystem.requestFileSystem(testStep.shift());
10 function(fileSystem) {
11 fileSystem.root.getFile('Test.txt', {create: true}, testStep.shift(),
14 // Confirm file is conflicting as this is the mocked value.
16 chrome.syncFileSystem.getFileStatus(fileEntry, testStep.shift());
18 function(fileStatus) {
19 chrome.test.assertEq("conflicting", fileStatus);
20 chrome.test.succeed();
24 function errorHandler(e) {
25 console.log("Failed test with error" + e);
29 chrome.test.runTests([