chromium/chrome/test/data/extensions/api_test/sync_file_system/get_service_status/test.js

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

var testSteps = [
  function () {
    chrome.syncFileSystem.requestFileSystem(
        chrome.test.callbackPass(testSteps.shift()));
  },
  function () {
    chrome.syncFileSystem.getServiceStatus(
        chrome.test.callbackPass(testSteps.shift()));
  },
  function (status) {
    chrome.test.assertEq('authentication_required', status);
  }
];

chrome.test.runTests([
  testSteps.shift()
]);