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

Unified Diff: chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpuinfo_api.js

Issue 10905171: Add systemInfo.cpu.onUpdated event implementation. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpu_api.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpuinfo_api.js
diff --git a/chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpuinfo_api.js b/chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpuinfo_api.js
deleted file mode 100644
index cbeec68f5cd661b00aeb2a680472d19238e01724..0000000000000000000000000000000000000000
--- a/chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpuinfo_api.js
+++ /dev/null
@@ -1,21 +0,0 @@
-// 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.
-
-// systeminfo.cpu api test
-// browser_tests.exe --gtest_filter=SystemInfoCpuApiTest.*
-
-chrome.systemInfo = chrome.experimental.systemInfo;
-
-chrome.test.runTests([
- function testGet() {
- for(var i = 0; i < 20; ++i) {
- chrome.systemInfo.cpu.get(chrome.test.callbackPass(function(result) {
- chrome.test.assertEq(4, result.numOfProcessors);
- chrome.test.assertEq("x86", result.archName);
- chrome.test.assertEq("unknown", result.modelName);
- }));
- }
- },
-]);
-
« no previous file with comments | « chrome/test/data/extensions/api_test/systeminfo/cpu/test_cpu_api.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698