Changeset 53228 in webkit
- Timestamp:
- Jan 13, 2010 6:57:19 PM (14 years ago)
- Location:
- trunk/WebKitTools
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebKitTools/ChangeLog
r53220 r53228 1 2010-01-13 Adam Barth <abarth@webkit.org> 2 3 Reviewed by Eric Seidel. 4 5 Fix CloseBugForLandDiff unittest to actually run 6 https://bugs.webkit.org/show_bug.cgi?id=33640 7 8 * Scripts/webkitpy/mock_bugzillatool.py: 9 * Scripts/webkitpy/steps/closebugforlanddiff_unittest.py: 10 1 11 2010-01-12 Jon Honeycutt <jhoneycutt@apple.com> 2 12 -
trunk/WebKitTools/Scripts/webkitpy/mock_bugzillatool.py
r53133 r53228 184 184 return "DiffForRevision%s\nhttp://bugs.webkit.org/show_bug.cgi?id=12345" % revision 185 185 186 def svn_revision_from_commit_text(self, commit_text): 187 return "49824" 188 186 189 def modified_changelogs(self): 187 190 # Ideally we'd return something more interesting here. -
trunk/WebKitTools/Scripts/webkitpy/steps/closebugforlanddiff_unittest.py
r53217 r53228 34 34 from webkitpy.outputcapture import OutputCapture 35 35 36 class UpdateChangeLogsWithReviewerTest(unittest.TestCase):36 class CloseBugForLandDiffTest(unittest.TestCase): 37 37 def test_empty_state(self): 38 38 capture = OutputCapture() 39 39 step = CloseBugForLandDiff(MockBugzillaTool(), Mock()) 40 capture.assert_outputs(self, step.run, [{}]) 40 expected_stderr = "Committed r49824: <http://trac.webkit.org/changeset/49824>\nNo bug id provided.\n" 41 capture.assert_outputs(self, step.run, [{"commit_text" : "Mock commit text"}], expected_stderr=expected_stderr)
Note: See TracChangeset
for help on using the changeset viewer.