| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 245 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 256 TEST_F('NetInternalsTest', 'netInternalsDataReductionProxyEnabled', function() { | 256 TEST_F('NetInternalsTest', 'netInternalsDataReductionProxyEnabled', function() { |
| 257 var taskQueue = new NetInternalsTest.TaskQueue(true); | 257 var taskQueue = new NetInternalsTest.TaskQueue(true); |
| 258 taskQueue.addTask(new DataReductionProxyTask(true)); | 258 taskQueue.addTask(new DataReductionProxyTask(true)); |
| 259 taskQueue.run(); | 259 taskQueue.run(); |
| 260 }); | 260 }); |
| 261 | 261 |
| 262 /** | 262 /** |
| 263 * Checks data reduction proxy info when it is disabled. | 263 * Checks data reduction proxy info when it is disabled. |
| 264 */ | 264 */ |
| 265 TEST_F('NetInternalsTest', | 265 TEST_F('NetInternalsTest', |
| 266 'netInternalsDataReductionProxyDisabled', function() { | 266 'DISABLED_netInternalsDataReductionProxyDisabled', |
| 267 function() { |
| 267 var taskQueue = new NetInternalsTest.TaskQueue(true); | 268 var taskQueue = new NetInternalsTest.TaskQueue(true); |
| 268 taskQueue.addTask(new DataReductionProxyTask(false)); | 269 taskQueue.addTask(new DataReductionProxyTask(false)); |
| 269 taskQueue.run(); | 270 taskQueue.run(); |
| 270 }); | 271 }); |
| 271 | 272 |
| 272 })(); // Anonymous namespace | 273 })(); // Anonymous namespace |
| OLD | NEW |