| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 taskQueue.run(); | 166 taskQueue.run(); |
| 167 }); | 167 }); |
| 168 | 168 |
| 169 /** | 169 /** |
| 170 * Runs the test suite twice. Checks the exact error code of the first result, | 170 * Runs the test suite twice. Checks the exact error code of the first result, |
| 171 * the order of events that occur, and the number of rows in the HTML table. | 171 * the order of events that occur, and the number of rows in the HTML table. |
| 172 * Does not use the TestServer. | 172 * Does not use the TestServer. |
| 173 */ | 173 */ |
| 174 TEST_F('NetInternalsTest', 'netInternalsTestViewFailTwice', function() { | 174 TEST_F('NetInternalsTest', 'netInternalsTestViewFailTwice', function() { |
| 175 var taskQueue = new NetInternalsTest.TaskQueue(true); | 175 var taskQueue = new NetInternalsTest.TaskQueue(true); |
| 176 taskQueue.addTask(new RunTestSuiteTask(NetError.UNSAFE_PORT, | 176 taskQueue.addTask(new RunTestSuiteTask(NetError.ERR_UNSAFE_PORT, |
| 177 'http://127.0.0.1:7/')); | 177 'http://127.0.0.1:7/')); |
| 178 taskQueue.addTask(new RunTestSuiteTask(NetError.UNSAFE_PORT, | 178 taskQueue.addTask(new RunTestSuiteTask(NetError.ERR_UNSAFE_PORT, |
| 179 'http://127.0.0.1:7/')); | 179 'http://127.0.0.1:7/')); |
| 180 taskQueue.run(); | 180 taskQueue.run(); |
| 181 }); | 181 }); |
| 182 | 182 |
| 183 })(); // Anonymous namespace | 183 })(); // Anonymous namespace |
| OLD | NEW |