Bug 142729 - W3C test parser and converter should use test importer host
Summary: W3C test parser and converter should use test importer host
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Tools / Tests (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: youenn fablet
URL:
Keywords:
Depends on:
Blocks: 142738
  Show dependency treegraph
 
Reported: 2015-03-16 10:21 PDT by youenn fablet
Modified: 2015-03-17 13:23 PDT (History)
4 users (show)

See Also:


Attachments
Patch (9.14 KB, patch)
2015-03-16 10:59 PDT, youenn fablet
no flags Details | Formatted Diff | Diff
Fixing change log and cleaning style issues (8.81 KB, patch)
2015-03-17 07:18 PDT, youenn fablet
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description youenn fablet 2015-03-16 10:21:08 PDT
When instantiated by the test importer, test parser and converter should use the same host. This would enable more test importer unit tests.
Comment 1 youenn fablet 2015-03-16 10:59:58 PDT
Created attachment 248732 [details]
Patch
Comment 2 Bem Jones-Bey 2015-03-16 16:59:14 PDT
Comment on attachment 248732 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=248732&action=review

> Tools/ChangeLog:7
> +

Can you add a summary of this change here? Something like the comment you have on the bug itself.

> Tools/ChangeLog:11
> +        * Scripts/webkitpy/w3c/test_converter.py:
> +        (_W3CTestConverter.handle_pi): Fixes style issue.

Why do you have a style issue in this file if you haven't changed anything else in it? I think you may be bundling too many small unrelated changes into this patch.

> Tools/ChangeLog:14
> +        * Scripts/webkitpy/w3c/test_downloader.py:
> +        (TestDownloader.git): Refactoring for future reuse.
> +        (TestDownloader.checkout_test_repository): Making use of the new git function.

You should do this refactoring in the change that needs it.

> Tools/Scripts/webkitpy/w3c/test_importer_unittest.py:39
>  from webkitpy.w3c.test_importer import TestImporter
> +from webkitpy.w3c.test_importer import parse_args

I believe you can combine these two lines into one.

> Tools/Scripts/webkitpy/w3c/test_importer_unittest.py:50
> +

Remove this extra line.
Comment 3 youenn fablet 2015-03-17 07:18:19 PDT
Created attachment 248846 [details]
Fixing change log and cleaning style issues
Comment 4 Bem Jones-Bey 2015-03-17 09:29:06 PDT
Comment on attachment 248846 [details]
Fixing change log and cleaning style issues

r=me
Comment 5 WebKit Commit Bot 2015-03-17 13:23:11 PDT
Comment on attachment 248846 [details]
Fixing change log and cleaning style issues

Clearing flags on attachment: 248846

Committed r181661: <http://trac.webkit.org/changeset/181661>
Comment 6 WebKit Commit Bot 2015-03-17 13:23:15 PDT
All reviewed patches have been landed.  Closing bug.