Bug 64605 - Move expectation parsing code to TestExpectationsParser.
: Move expectation parsing code to TestExpectationsParser.
Status: RESOLVED FIXED
: WebKit
Tools / Tests
: 528+ (Nightly build)
: Unspecified Unspecified
: P2 Normal
Assigned To:
:
:
: 64602
: 64385
  Show dependency treegraph
 
Reported: 2011-07-15 10:58 PST by
Modified: 2011-07-15 12:34 PST (History)


Attachments
Patch (25.28 KB, patch)
2011-07-15 11:08 PST, Dimitri Glazkov (Google)
no flags Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2011-07-15 10:58:22 PST
Move expectation parsing code to TestExpectationsParser.
------- Comment #1 From 2011-07-15 11:08:22 PST -------
Created an attachment (id=101004) [details]
Patch
------- Comment #2 From 2011-07-15 12:06:12 PST -------
(From update of attachment 101004 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=101004&action=review

> Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:208
> +        has_wontfix = 'wontfix' in expectation.modifiers

Ojan would tell you to make 'wontfix' a string constant instead of a string literal.

> Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:210
> +        for opt in expectation.modifiers:

opt => option or modifier ?
------- Comment #3 From 2011-07-15 12:33:22 PST -------
(From update of attachment 101004 [details])
View in context: https://bugs.webkit.org/attachment.cgi?id=101004&action=review

>> Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:208
>> +        has_wontfix = 'wontfix' in expectation.modifiers
> 
> Ojan would tell you to make 'wontfix' a string constant instead of a string literal.

Yeah, I need to do a quick code bath to remove all these.

>> Tools/Scripts/webkitpy/layout_tests/models/test_expectations.py:210
>> +        for opt in expectation.modifiers:
> 
> opt => option or modifier ?

ditto.
------- Comment #4 From 2011-07-15 12:33:56 PST -------
(From update of attachment 101004 [details])
Clearing flags on attachment: 101004

Committed r91092: <http://trac.webkit.org/changeset/91092>
------- Comment #5 From 2011-07-15 12:34:01 PST -------
All reviewed patches have been landed.  Closing bug.