| 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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 209 ASSERT_TRUE(GetTestCount(tab.get(), test_count)); | 209 ASSERT_TRUE(GetTestCount(tab.get(), test_count)); |
| 210 ASSERT_TRUE(GetTestsFailed(tab.get(), tests_failed)); | 210 ASSERT_TRUE(GetTestsFailed(tab.get(), tests_failed)); |
| 211 ASSERT_GT(*test_count, 0); | 211 ASSERT_GT(*test_count, 0); |
| 212 } | 212 } |
| 213 | 213 |
| 214 DISALLOW_COPY_AND_ASSIGN(DomCheckerTest); | 214 DISALLOW_COPY_AND_ASSIGN(DomCheckerTest); |
| 215 }; | 215 }; |
| 216 | 216 |
| 217 } // namespace | 217 } // namespace |
| 218 | 218 |
| 219 TEST_F(DomCheckerTest, File) { | 219 TEST_F(DomCheckerTest, DISABLED_File) { |
| 220 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) | 220 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) |
| 221 return; | 221 return; |
| 222 | 222 |
| 223 ResultsList new_passes, new_failures; | 223 ResultsList new_passes, new_failures; |
| 224 RunTest(false, &new_passes, &new_failures); | 224 RunTest(false, &new_passes, &new_failures); |
| 225 PrintResults(new_passes, new_failures); | 225 PrintResults(new_passes, new_failures); |
| 226 } | 226 } |
| 227 | 227 |
| 228 TEST_F(DomCheckerTest, Http) { | 228 TEST_F(DomCheckerTest, DISABLED_Http) { |
| 229 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) | 229 if (!CommandLine::ForCurrentProcess()->HasSwitch(kRunDomCheckerTest)) |
| 230 return; | 230 return; |
| 231 | 231 |
| 232 ResultsList new_passes, new_failures; | 232 ResultsList new_passes, new_failures; |
| 233 RunTest(true, &new_passes, &new_failures); | 233 RunTest(true, &new_passes, &new_failures); |
| 234 PrintResults(new_passes, new_failures); | 234 PrintResults(new_passes, new_failures); |
| 235 } | 235 } |
| OLD | NEW |