| 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
|
| index 5bf45546269da4cb26ce5cbeeb9ae53168c63b16..cbeec68f5cd661b00aeb2a680472d19238e01724 100644
|
| --- 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
|
| @@ -11,12 +11,9 @@ chrome.test.runTests([
|
| function testGet() {
|
| for(var i = 0; i < 20; ++i) {
|
| chrome.systemInfo.cpu.get(chrome.test.callbackPass(function(result) {
|
| - chrome.test.assertTrue(result.cores.length == 4);
|
| - var core;
|
| - for (var i = 0; i < result.cores.length; ++i) {
|
| - core = result.cores[i];
|
| - chrome.test.assertTrue(core.load == i*10);
|
| - }
|
| + chrome.test.assertEq(4, result.numOfProcessors);
|
| + chrome.test.assertEq("x86", result.archName);
|
| + chrome.test.assertEq("unknown", result.modelName);
|
| }));
|
| }
|
| },
|
|
|