| Index: chrome/test/data/extensions/api_test/sync_file_system/get_usage_and_quota/test.js
|
| diff --git a/chrome/test/data/extensions/api_test/sync_file_system/get_usage_and_quota/test.js b/chrome/test/data/extensions/api_test/sync_file_system/get_usage_and_quota/test.js
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..4e164d4b18c06b84b8e74ba92189aa7ef23e455f
|
| --- /dev/null
|
| +++ b/chrome/test/data/extensions/api_test/sync_file_system/get_usage_and_quota/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.
|
| +
|
| +// TODO(calvinlo): Update test code after default quota is made const
|
| +// (http://crbug.com/155488).
|
| +chrome.test.runTests([
|
| + function getUsageAndQuota() {
|
| + chrome.syncFileSystem.getUsageAndQuota(
|
| + 'drive',
|
| + chrome.test.callbackPass(function(info) {
|
| + chrome.test.assertEq(0, info.usage);
|
| + chrome.test.assertEq(123456789, info.quota);
|
| + }));
|
| + }
|
| +]);
|
|
|