Flutter Engine
The Flutter Engine
third_party
skia
tools
test_all.py
Go to the documentation of this file.
1
#!/usr/bin/python
2
3
4
"""
5
Copyright 2014 Google Inc.
6
7
Use of this source code is governed by a BSD-style license that can be
8
found in the LICENSE file.
9
10
Run all unittests within this directory tree, recursing into subdirectories.
11
"""
12
13
14
from
__future__
import
print_function
15
import
os
16
import
unittest
17
18
19
def
main
():
20
suite = unittest.TestLoader().discover(os.path.dirname(__file__),
21
pattern=
'*_test.py'
)
22
results = unittest.TextTestRunner(verbosity=2).
run
(suite)
23
print
(repr(results))
24
if
not
results.wasSuccessful():
25
raise
Exception(
'failed one or more unittests'
)
26
27
28
if
__name__ ==
'__main__'
:
29
main
()
main
Definition:
main.py:1
run_tests.print
def print(*args, **kwargs)
Definition:
run_tests.py:49
run
Definition:
run.py:1
tools.test_all.main
def main()
Definition:
test_all.py:19
Generated on Sun Jun 23 2024 21:56:51 for Flutter Engine by
1.9.4