Changeset 122548 in webkit
- Timestamp:
- Jul 13, 2012 12:39:36 AM (12 years ago)
- Location:
- trunk/Tools
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r122542 r122548 1 2012-07-13 Dirk Pranke <dpranke@chromium.org> 2 3 test-webkitpy: more class renaming cleanup 4 https://bugs.webkit.org/show_bug.cgi?id=91182 5 6 Reviewed by Adam Barth. 7 8 More removing of the unnecessary "Test" prefix. 9 10 * Scripts/webkitpy/test/finder.py: 11 (_DirectoryTree): 12 (Finder.add_tree): 13 * Scripts/webkitpy/test/main.py: 14 (Tester._run_tests): 15 * Scripts/webkitpy/test/runner.py: 16 (Runner): 17 * Scripts/webkitpy/test/runner_unittest.py: 18 (RunnerTest.test_regular): 19 (RunnerTest.test_verbose): 20 (RunnerTest.test_timing): 21 1 22 2012-07-12 Christophe Dumez <christophe.dumez@intel.com> 2 23 -
trunk/Tools/Scripts/webkitpy/test/finder.py
r122536 r122548 32 32 33 33 34 class TestDirectoryTree(object):34 class _DirectoryTree(object): 35 35 def __init__(self, filesystem, top_directory, starting_subdirectory): 36 36 self.filesystem = filesystem … … 80 80 81 81 def add_tree(self, top_directory, starting_subdirectory=None): 82 self.trees.append( TestDirectoryTree(self.filesystem, top_directory, starting_subdirectory))82 self.trees.append(_DirectoryTree(self.filesystem, top_directory, starting_subdirectory)) 83 83 84 84 def additional_paths(self, paths): -
trunk/Tools/Scripts/webkitpy/test/main.py
r122536 r122548 35 35 from webkitpy.common.system import outputcapture 36 36 from webkitpy.test.finder import Finder 37 from webkitpy.test.runner import TestRunner37 from webkitpy.test.runner import Runner 38 38 39 39 _log = logging.getLogger(__name__) … … 178 178 179 179 test_suite = unittest.TestSuite(suites) 180 test_runner = TestRunner(self.stream, self._options, loader)180 test_runner = Runner(self.stream, self._options, loader) 181 181 182 182 _log.debug("Running the tests.") -
trunk/Tools/Scripts/webkitpy/test/runner.py
r112561 r122548 32 32 33 33 34 class TestRunner(object):34 class Runner(object): 35 35 def __init__(self, stream, options, loader): 36 36 self.options = options -
trunk/Tools/Scripts/webkitpy/test/runner_unittest.py
r112561 r122548 26 26 27 27 from webkitpy.tool.mocktool import MockOptions 28 from webkitpy.test.runner import TestRunner28 from webkitpy.test.runner import Runner 29 29 30 30 … … 75 75 ('test2 (Foo)', 'F', 'test2\nfailed'), 76 76 ('test3 (Foo)', 'E', 'test3\nerred')) 77 result = TestRunner(stream, options, loader).run(loader.top_suite())77 result = Runner(stream, options, loader).run(loader.top_suite()) 78 78 self.assertFalse(result.wasSuccessful()) 79 79 self.assertEquals(result.testsRun, 3) … … 88 88 ('test2 (Foo)', 'F', 'test2\nfailed'), 89 89 ('test3 (Foo)', 'E', 'test3\nerred')) 90 result = TestRunner(stream, options, loader).run(loader.top_suite())90 result = Runner(stream, options, loader).run(loader.top_suite()) 91 91 self.assertFalse(result.wasSuccessful()) 92 92 self.assertEquals(result.testsRun, 3) … … 101 101 ('test2 (Foo)', 'F', 'test2\nfailed'), 102 102 ('test3 (Foo)', 'E', 'test3\nerred')) 103 result = TestRunner(stream, options, loader).run(loader.top_suite())103 result = Runner(stream, options, loader).run(loader.top_suite()) 104 104 self.assertFalse(result.wasSuccessful()) 105 105 self.assertEquals(result.testsRun, 3)
Note: See TracChangeset
for help on using the changeset viewer.