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 // This file provides reliablity test which runs under UI test framework. The | 5 // This file provides reliablity test which runs under UI test framework. The |
6 // test is intended to run within QEMU environment. | 6 // test is intended to run within QEMU environment. |
7 // | 7 // |
8 // Usage 1: reliability_test | 8 // Usage 1: reliability_test |
9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly | 9 // Upon invocation, it visits a hard coded list of sample URLs. This is mainly |
10 // used by buildbot, to verify reliability_test itself runs ok. | 10 // used by buildbot, to verify reliability_test itself runs ok. |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 #include "base/file_util.h" | 42 #include "base/file_util.h" |
43 #include "base/file_version_info.h" | 43 #include "base/file_version_info.h" |
44 #include "base/files/file_enumerator.h" | 44 #include "base/files/file_enumerator.h" |
45 #include "base/files/file_path.h" | 45 #include "base/files/file_path.h" |
46 #include "base/i18n/time_formatting.h" | 46 #include "base/i18n/time_formatting.h" |
47 #include "base/memory/scoped_ptr.h" | 47 #include "base/memory/scoped_ptr.h" |
48 #include "base/path_service.h" | 48 #include "base/path_service.h" |
49 #include "base/prefs/json_pref_store.h" | 49 #include "base/prefs/json_pref_store.h" |
50 #include "base/prefs/pref_registry_simple.h" | 50 #include "base/prefs/pref_registry_simple.h" |
51 #include "base/prefs/pref_service.h" | 51 #include "base/prefs/pref_service.h" |
| 52 #include "base/process/kill.h" |
52 #include "base/strings/string_number_conversions.h" | 53 #include "base/strings/string_number_conversions.h" |
53 #include "base/strings/string_util.h" | 54 #include "base/strings/string_util.h" |
54 #include "base/test/test_file_util.h" | 55 #include "base/test/test_file_util.h" |
55 #include "base/threading/platform_thread.h" | 56 #include "base/threading/platform_thread.h" |
56 #include "base/time/time.h" | 57 #include "base/time/time.h" |
57 #include "chrome/browser/net/url_fixer_upper.h" | 58 #include "chrome/browser/net/url_fixer_upper.h" |
58 #include "chrome/browser/prefs/pref_service_mock_builder.h" | 59 #include "chrome/browser/prefs/pref_service_mock_builder.h" |
59 #include "chrome/common/automation_messages.h" | 60 #include "chrome/common/automation_messages.h" |
60 #include "chrome/common/chrome_constants.h" | 61 #include "chrome/common/chrome_constants.h" |
61 #include "chrome/common/chrome_paths.h" | 62 #include "chrome/common/chrome_paths.h" |
(...skipping 749 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
811 if (!g_end_url.empty()) { | 812 if (!g_end_url.empty()) { |
812 NavigateToURLLogResult( | 813 NavigateToURLLogResult( |
813 g_end_url, log_file, NULL, g_continuous_load, false); | 814 g_end_url, log_file, NULL, g_continuous_load, false); |
814 } | 815 } |
815 | 816 |
816 log_file.close(); | 817 log_file.close(); |
817 } | 818 } |
818 | 819 |
819 } // namespace | 820 } // namespace |
820 | 821 |
OLD | NEW |