Changeset 51443 in webkit


Ignore:
Timestamp:
Nov 27, 2009 10:09:36 AM (14 years ago)
Author:
abarth@webkit.org
Message:

2009-11-27 Adam Barth <abarth@webkit.org>

Reviewed by Eric Seidel.

[bzt] unit test ApplyPatches and ApplyAttachment
https://bugs.webkit.org/show_bug.cgi?id=31935

  • Scripts/modules/commands/download.py:
  • Scripts/modules/commands/download_unittest.py:
Location:
trunk/WebKitTools
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebKitTools/ChangeLog

    r51442 r51443  
     12009-11-27  Adam Barth  <abarth@webkit.org>
     2
     3        Reviewed by Eric Seidel.
     4
     5        [bzt] unit test ApplyPatches and ApplyAttachment
     6        https://bugs.webkit.org/show_bug.cgi?id=31935
     7
     8        * Scripts/modules/commands/download.py:
     9        * Scripts/modules/commands/download_unittest.py:
     10
    1112009-11-27  Adam Barth  <abarth@webkit.org>
    212
  • trunk/WebKitTools/Scripts/modules/commands/download.py

    r51442 r51443  
    8080
    8181
    82 # FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
    8382class ApplyAttachment(Command):
    8483    name = "apply-attachment"
     
    9695
    9796
    98 # FIXME: Requires unit test. Blocking issue: WebKitApplyingScripts
    9997class ApplyPatches(Command):
    10098    name = "apply-patches"
  • trunk/WebKitTools/Scripts/modules/commands/download_unittest.py

    r51442 r51443  
    5050        self.assert_execute_outputs(Build(), [], options=self._default_options())
    5151
     52    def test_apply_attachment(self):
     53        options = self._default_options()
     54        options.update = True
     55        options.local_commit = True
     56        self.assert_execute_outputs(ApplyAttachment(), [197], options=options)
     57
     58    def test_apply_patches(self):
     59        options = self._default_options()
     60        options.update = True
     61        options.local_commit = True
     62        self.assert_execute_outputs(ApplyPatches(), [42], options=options)
     63
    5264    def test_land_diff(self):
    5365        self.assert_execute_outputs(LandDiff(), [42], options=self._default_options())
Note: See TracChangeset for help on using the changeset viewer.