OLD | NEW |
---|---|
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 "base/bind.h" | 5 #include "base/bind.h" |
6 #include "base/bind_helpers.h" | 6 #include "base/bind_helpers.h" |
7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 #include "base/file_path.h" | 8 #include "base/file_path.h" |
9 #include "base/utf_string_conversions.h" | 9 #include "base/utf_string_conversions.h" |
10 #include "base/values.h" | 10 #include "base/values.h" |
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
267 // TODO(mmenke): Add some checks for the import view. | 267 // TODO(mmenke): Add some checks for the import view. |
268 // TODO(mmenke): Add a test for a log created with --log-net-log. | 268 // TODO(mmenke): Add a test for a log created with --log-net-log. |
269 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsExportImportDump) { | 269 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsExportImportDump) { |
270 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsExportImportDump")); | 270 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsExportImportDump")); |
271 } | 271 } |
272 | 272 |
273 //////////////////////////////////////////////////////////////////////////////// | 273 //////////////////////////////////////////////////////////////////////////////// |
274 // dns_view.js | 274 // dns_view.js |
275 //////////////////////////////////////////////////////////////////////////////// | 275 //////////////////////////////////////////////////////////////////////////////// |
276 | 276 |
277 // TODO: These tests started timing out somewhere around webkit 98733:98738. | |
277 // Adds a successful lookup to the DNS cache, then clears the cache. | 278 // Adds a successful lookup to the DNS cache, then clears the cache. |
278 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsDnsViewSuccess) { | 279 IN_PROC_BROWSER_TEST_F(NetInternalsTest, FAILS_NetInternalsDnsViewSuccess) { |
eroman
2011/10/28 23:44:19
Is there a bug on file for resolving these?
BTW F
| |
279 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewSuccess")); | 280 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewSuccess")); |
280 } | 281 } |
281 | 282 |
282 // Adds a failed lookup to the DNS cache, then clears the cache. | 283 // Adds a failed lookup to the DNS cache, then clears the cache. |
283 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsDnsViewFail) { | 284 IN_PROC_BROWSER_TEST_F(NetInternalsTest, FAILS_NetInternalsDnsViewFail) { |
284 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewFail")); | 285 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewFail")); |
285 } | 286 } |
286 | 287 |
287 // Adds an expired successful lookup to the DNS cache, then clears the cache. | 288 // Adds an expired successful lookup to the DNS cache, then clears the cache. |
288 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsDnsViewExpired) { | 289 IN_PROC_BROWSER_TEST_F(NetInternalsTest, FAILS_NetInternalsDnsViewExpired) { |
289 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewExpired")); | 290 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewExpired")); |
290 } | 291 } |
291 | 292 |
292 // Adds two entries to the DNS cache, clears the cache, and then repeats. | 293 // Adds two entries to the DNS cache, clears the cache, and then repeats. |
293 IN_PROC_BROWSER_TEST_F(NetInternalsTest, NetInternalsDnsViewAddTwoTwice) { | 294 IN_PROC_BROWSER_TEST_F(NetInternalsTest, FAILS_NetInternalsDnsViewAddTwoTwice) { |
294 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewAddTwoTwice")); | 295 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsDnsViewAddTwoTwice")); |
295 } | 296 } |
296 | 297 |
297 //////////////////////////////////////////////////////////////////////////////// | 298 //////////////////////////////////////////////////////////////////////////////// |
298 // test_view.js | 299 // test_view.js |
299 //////////////////////////////////////////////////////////////////////////////// | 300 //////////////////////////////////////////////////////////////////////////////// |
300 | 301 |
301 // Runs the test suite twice, expecting a passing result the first time. Checks | 302 // Runs the test suite twice, expecting a passing result the first time. Checks |
302 // the first result, the order of events that occur, and the number of rows in | 303 // the first result, the order of events that occur, and the number of rows in |
303 // the table. | 304 // the table. |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
416 // log_view_painter.js | 417 // log_view_painter.js |
417 //////////////////////////////////////////////////////////////////////////////// | 418 //////////////////////////////////////////////////////////////////////////////// |
418 | 419 |
419 // Check that we correctly remove cookies and login information. | 420 // Check that we correctly remove cookies and login information. |
420 IN_PROC_BROWSER_TEST_F(NetInternalsTest, | 421 IN_PROC_BROWSER_TEST_F(NetInternalsTest, |
421 NetInternalsLogViewPainterStripInfo) { | 422 NetInternalsLogViewPainterStripInfo) { |
422 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsLogViewPainterStripInfo")); | 423 EXPECT_TRUE(RunJavascriptAsyncTest("netInternalsLogViewPainterStripInfo")); |
423 } | 424 } |
424 | 425 |
425 } // namespace | 426 } // namespace |
OLD | NEW |