[email protected] | 54caefd | 2012-02-15 06:18:56 | [diff] [blame] | 1 | #!/usr/bin/env python |
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 2 | # Copyright 2015 The Chromium Authors. All rights reserved. |
[email protected] | 54caefd | 2012-02-15 06:18:56 | [diff] [blame] | 3 | # Use of this source code is governed by a BSD-style license that can be |
4 | # found in the LICENSE file. | ||||
5 | |||||
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 6 | """Unit test runner for Web Development Style Guide checks.""" |
[email protected] | 54caefd | 2012-02-15 06:18:56 | [diff] [blame] | 7 | |
dbeam | 7188edb | 2016-12-22 03:27:22 | [diff] [blame^] | 8 | from web_dev_style import css_checker_test, \ |
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 9 | html_checker_test, \ |
10 | js_checker_test, \ | ||||
11 | resource_checker_test | ||||
[email protected] | 54caefd | 2012-02-15 06:18:56 | [diff] [blame] | 12 | |
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 13 | _TEST_MODULES = [ |
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 14 | css_checker_test, |
15 | html_checker_test, | ||||
16 | js_checker_test, | ||||
17 | resource_checker_test | ||||
18 | ] | ||||
[email protected] | 54caefd | 2012-02-15 06:18:56 | [diff] [blame] | 19 | |
dbeam | a7b29129 | 2015-07-20 21:53:48 | [diff] [blame] | 20 | for test_module in _TEST_MODULES: |
21 | test_module.unittest.main(test_module) |