| Index: chrome/test/data/extensions/api_test/system/memory/test_memory_api.js
|
| diff --git a/chrome/test/data/extensions/api_test/systeminfo/memory/test_memory_api.js b/chrome/test/data/extensions/api_test/system/memory/test_memory_api.js
|
| similarity index 72%
|
| rename from chrome/test/data/extensions/api_test/systeminfo/memory/test_memory_api.js
|
| rename to chrome/test/data/extensions/api_test/system/memory/test_memory_api.js
|
| index 77eca5683e5a9c6f59c62d5da5b1aa5804d4b031..6a9a81c92159ee05ab1070855efba570fa2e6824 100644
|
| --- a/chrome/test/data/extensions/api_test/systeminfo/memory/test_memory_api.js
|
| +++ b/chrome/test/data/extensions/api_test/system/memory/test_memory_api.js
|
| @@ -2,13 +2,13 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// systeminfo.memory api test
|
| -// browser_tests --gtest_filter=SystemInfoMemoryApiTest.*
|
| +// system.memory api test
|
| +// browser_tests --gtest_filter=SystemMemoryApiTest.*
|
|
|
| chrome.test.runTests([
|
| function testGet() {
|
| for(var i = 0; i < 10; ++i) {
|
| - chrome.systemInfo.memory.get(chrome.test.callbackPass(function(result) {
|
| + chrome.system.memory.getInfo(chrome.test.callbackPass(function(result) {
|
| chrome.test.assertEq(4096, result.capacity);
|
| chrome.test.assertEq(1024, result.availableCapacity);
|
| }));
|
|
|