| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 // Include test fixture. | 5 // Include test fixture. |
| 6 GEN_INCLUDE(['net_internals_test.js']); | 6 GEN_INCLUDE(['net_internals_test.js']); |
| 7 | 7 |
| 8 // Anonymous namespace | 8 // Anonymous namespace |
| 9 (function() { | 9 (function() { |
| 10 | 10 |
| (...skipping 29 matching lines...) Expand all Loading... |
| 40 ResultChecker.prototype = { | 40 ResultChecker.prototype = { |
| 41 __proto__: NetInternalsTest.Task.prototype, | 41 __proto__: NetInternalsTest.Task.prototype, |
| 42 | 42 |
| 43 start: function(success) { | 43 start: function(success) { |
| 44 assertTrue(success); | 44 assertTrue(success); |
| 45 this.onTaskDone(); | 45 this.onTaskDone(); |
| 46 } | 46 } |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 TEST_F('NetInternalsTest', | 49 TEST_F('NetInternalsTest', |
| 50 'netInternalsChromeOSViewStoreDebugLogs', | 50 'DISABLED_netInternalsChromeOSViewStoreDebugLogs', |
| 51 function() { | 51 function() { |
| 52 if (!cr.isChromeOS) | 52 if (!cr.isChromeOS) |
| 53 testDone(); | 53 testDone(); |
| 54 // #chromeos-view-import-onc fails accessibility check. | 54 // #chromeos-view-import-onc fails accessibility check. |
| 55 this.runAccessibilityChecks = false; | 55 this.runAccessibilityChecks = false; |
| 56 NetInternalsTest.switchToView('chromeos'); | 56 NetInternalsTest.switchToView('chromeos'); |
| 57 | 57 |
| 58 var taskQueue = new NetInternalsTest.TaskQueue(true); | 58 var taskQueue = new NetInternalsTest.TaskQueue(true); |
| 59 taskQueue.addTask(new DebugLogsStatusWatcher()); | 59 taskQueue.addTask(new DebugLogsStatusWatcher()); |
| 60 taskQueue.addTask(new ResultChecker()); | 60 taskQueue.addTask(new ResultChecker()); |
| 61 taskQueue.run(); | 61 taskQueue.run(); |
| 62 }); | 62 }); |
| 63 | 63 |
| 64 })(); // Anonymous namespace | 64 })(); // Anonymous namespace |
| OLD | NEW |