Bug 161406

Summary: YouTubePluginReplacementTest's URL transformation logic should have tests
Product: WebKit Reporter: Ricky Mondello <rmondello>
Component: WebCore Misc.Assignee: Ricky Mondello <rmondello>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, eric.carlson, jer.noble, jonlee, rmondello, sam, simon.fraser, thorton
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
First attempt at adding some tests
none
Mind the style checker and fix a typo in a comment
eric.carlson: review+
Incorporated Eric's review feedback. none

Description Ricky Mondello 2016-08-30 14:36:47 PDT
YouTubePluginReplacementTest's URL transformation logic should have tests
Comment 1 Ricky Mondello 2016-08-30 14:56:54 PDT
Created attachment 287436 [details]
First attempt at adding some tests
Comment 2 WebKit Commit Bot 2016-08-30 14:59:26 PDT
Attachment 287436 [details] did not pass style-queue:


ERROR: Tools/TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:28:  Found WebCore config.h after other header. Should be: config.h, primary header, blank line, and then alphabetically sorted.  [build/include_order] [4]
ERROR: Tools/TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:44:  Place brace on its own line for function definitions.  [whitespace/braces] [4]
Total errors found: 2 in 7 files


If any of these errors are false positives, please file a bug against check-webkit-style.
Comment 3 Tim Horton 2016-08-30 15:02:40 PDT
Comment on attachment 287436 [details]
First attempt at adding some tests

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

> Tools/TestWebKitAPI/Tests/WebCore/YouTubePluginReplacement.cpp:67
> +    // Even with an extra paremeter.

Parameter.
Comment 4 Ricky Mondello 2016-08-30 15:06:48 PDT
Created attachment 287438 [details]
Mind the style checker and fix a typo in a comment
Comment 5 Eric Carlson 2016-08-30 16:07:06 PDT
Comment on attachment 287438 [details]
Mind the style checker and fix a typo in a comment

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

> Source/WebCore/ChangeLog:5
> +        YouTubePluginReplacementTest's URL transformation logic should have tests
> +        https://bugs.webkit.org/show_bug.cgi?id=161406
> +

Nit: please include the Radar number as well.
Comment 6 Ricky Mondello 2016-08-30 16:44:51 PDT
Created attachment 287453 [details]
Incorporated Eric's review feedback.
Comment 7 WebKit Commit Bot 2016-08-30 17:36:32 PDT
Comment on attachment 287453 [details]
Incorporated Eric's review feedback.

Clearing flags on attachment: 287453

Committed r205212: <http://trac.webkit.org/changeset/205212>