- add sources.
[platform/framework/web/crosswalk.git] / src / chrome / test / data / extensions / api_test / sync_file_system / get_service_status / test.js
1 // Copyright 2013 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.
4
5 var testSteps = [
6   function () {
7     chrome.syncFileSystem.requestFileSystem(
8         chrome.test.callbackPass(testSteps.shift()));
9   },
10   function () {
11     chrome.syncFileSystem.getServiceStatus(
12         chrome.test.callbackPass(testSteps.shift()));
13   },
14   function (status) {
15     chrome.test.assertEq('authentication_required', status);
16   }
17 ];
18
19 chrome.test.runTests([
20   testSteps.shift()
21 ]);