| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import re | 6 import re |
| 7 import subprocess | 7 import subprocess |
| 8 import unittest | 8 import unittest |
| 9 | 9 |
| 10 import PRESUBMIT | 10 import PRESUBMIT |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 'android_dbg_recipe', | 731 'android_dbg_recipe', |
| 732 'android_dbg_triggered_tests', | 732 'android_dbg_triggered_tests', |
| 733 'android_dbg_triggered_tests_recipe', | 733 'android_dbg_triggered_tests_recipe', |
| 734 'android_fyi_dbg', | 734 'android_fyi_dbg', |
| 735 'android_fyi_dbg_triggered_tests', | 735 'android_fyi_dbg_triggered_tests', |
| 736 'android_rel', | 736 'android_rel', |
| 737 'android_rel_triggered_tests', | 737 'android_rel_triggered_tests', |
| 738 'android_x86_dbg', | 738 'android_x86_dbg', |
| 739 'blink_android_compile_dbg', | 739 'blink_android_compile_dbg', |
| 740 'blink_android_compile_rel', | 740 'blink_android_compile_rel', |
| 741 'blink_presubmit', | |
| 742 'chromium_presubmit', | 741 'chromium_presubmit', |
| 743 'linux_arm_cross_compile', | 742 'linux_arm_cross_compile', |
| 744 'linux_arm_tester', | 743 'linux_arm_tester', |
| 745 'linux_chromeos_asan', | 744 'linux_chromeos_asan', |
| 746 'linux_chromeos_browser_asan', | 745 'linux_chromeos_browser_asan', |
| 747 'linux_chromeos_valgrind', | 746 'linux_chromeos_valgrind', |
| 748 'linux_chromium_chromeos_dbg', | 747 'linux_chromium_chromeos_dbg', |
| 749 'linux_chromium_chromeos_rel', | 748 'linux_chromium_chromeos_rel', |
| 750 'linux_chromium_compile_dbg', | 749 'linux_chromium_compile_dbg', |
| 751 'linux_chromium_compile_rel', | 750 'linux_chromium_compile_rel', |
| (...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1078 ['char* host = "https://www.aol.com"; // google.com']) | 1077 ['char* host = "https://www.aol.com"; // google.com']) |
| 1079 ] | 1078 ] |
| 1080 | 1079 |
| 1081 warnings = PRESUBMIT._CheckHardcodedGoogleHostsInLowerLayers( | 1080 warnings = PRESUBMIT._CheckHardcodedGoogleHostsInLowerLayers( |
| 1082 input_api, MockOutputApi()) | 1081 input_api, MockOutputApi()) |
| 1083 self.assertEqual(0, len(warnings)) | 1082 self.assertEqual(0, len(warnings)) |
| 1084 | 1083 |
| 1085 | 1084 |
| 1086 if __name__ == '__main__': | 1085 if __name__ == '__main__': |
| 1087 unittest.main() | 1086 unittest.main() |
| OLD | NEW |