| OLD | NEW |
| 1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2009 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/command_line.h" | 5 #include "base/command_line.h" |
| 6 #include "base/file_path.h" | 6 #include "base/file_path.h" |
| 7 #include "base/file_util.h" | 7 #include "base/file_util.h" |
| 8 #include "base/scoped_ptr.h" | 8 #include "base/scoped_ptr.h" |
| 9 #include "base/string_util.h" | 9 #include "base/string_util.h" |
| 10 #include "base/values.h" | 10 #include "base/values.h" |
| (...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 | 217 |
| 218 TEST_F(DomCheckerTest, File) { | 218 TEST_F(DomCheckerTest, File) { |
| 219 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) | 219 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) |
| 220 return; | 220 return; |
| 221 | 221 |
| 222 ResultsList new_passes, new_failures; | 222 ResultsList new_passes, new_failures; |
| 223 RunTest(false, &new_passes, &new_failures); | 223 RunTest(false, &new_passes, &new_failures); |
| 224 PrintResults(new_passes, new_failures); | 224 PrintResults(new_passes, new_failures); |
| 225 } | 225 } |
| 226 | 226 |
| 227 TEST_F(DomCheckerTest, Http) { | 227 // TODO(arv): http://code.google.com/p/chromium/issues/detail?id=21321 |
| 228 TEST_F(DomCheckerTest, DISABLED_Http) { |
| 228 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) | 229 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) |
| 229 return; | 230 return; |
| 230 | 231 |
| 231 ResultsList new_passes, new_failures; | 232 ResultsList new_passes, new_failures; |
| 232 RunTest(true, &new_passes, &new_failures); | 233 RunTest(true, &new_passes, &new_failures); |
| 233 PrintResults(new_passes, new_failures); | 234 PrintResults(new_passes, new_failures); |
| 234 } | 235 } |
| 235 | 236 |
| 236 } // namespace | 237 } // namespace |
| OLD | NEW |