Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Side by Side Diff: extensions/test/data/system/memory/test_memory_api.js

Issue 797023006: s/app_shell_browsertests/extensions_browsertests/g (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge, actually add extensions_tests.gyp Created 5 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // system.memory api test 5 // system.memory api test
6 // app_shell_browsertests --gtest_filter=SystemMemoryApiTest.* 6 // extensions_browsertests --gtest_filter=SystemMemoryApiTest.*
7 7
8 chrome.test.runTests([ 8 chrome.test.runTests([
9 function testGet() { 9 function testGet() {
10 for(var i = 0; i < 10; ++i) { 10 for(var i = 0; i < 10; ++i) {
11 chrome.system.memory.getInfo(chrome.test.callbackPass(function(result) { 11 chrome.system.memory.getInfo(chrome.test.callbackPass(function(result) {
12 chrome.test.assertEq(4096, result.capacity); 12 chrome.test.assertEq(4096, result.capacity);
13 chrome.test.assertEq(1024, result.availableCapacity); 13 chrome.test.assertEq(1024, result.availableCapacity);
14 })); 14 }));
15 } 15 }
16 } 16 }
17 ]); 17 ]);
18 18
OLDNEW
« no previous file with comments | « extensions/test/data/system/display/test_display_api.js ('k') | extensions/test/data/system/storage/test_storage_api.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698