| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright (c) 2013 The Chromium Authors. All rights reserved. | 2 # Copyright (c) 2013 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 logging | 6 import logging |
| 7 import os | 7 import os |
| 8 import subprocess | 8 import subprocess |
| 9 import sys | 9 import sys |
| 10 import unittest | 10 import unittest |
| (...skipping 20 matching lines...) Expand all Loading... |
| 31 'list_test_cases.py', | 31 'list_test_cases.py', |
| 32 os.path.join('tests', 'gtest_fake', 'gtest_fake_pass.py'), | 32 os.path.join('tests', 'gtest_fake', 'gtest_fake_pass.py'), |
| 33 ]) | 33 ]) |
| 34 self.assertEqual('Foo.Bar/3\nFoo.Bar1\nFoo.Bar2\n', out) | 34 self.assertEqual('Foo.Bar/3\nFoo.Bar1\nFoo.Bar2\n', out) |
| 35 | 35 |
| 36 | 36 |
| 37 if __name__ == '__main__': | 37 if __name__ == '__main__': |
| 38 logging.basicConfig( | 38 logging.basicConfig( |
| 39 level=(logging.DEBUG if '-v' in sys.argv else logging.FATAL)) | 39 level=(logging.DEBUG if '-v' in sys.argv else logging.FATAL)) |
| 40 unittest.main() | 40 unittest.main() |
| OLD | NEW |