Changeset 206042 in webkit


Ignore:
Timestamp:
Sep 16, 2016 1:19:02 PM (8 years ago)
Author:
achristensen@apple.com
Message:

Fix API tests after r206036
https://bugs.webkit.org/show_bug.cgi?id=162049

  • TestWebKitAPI/Tests/WebCore/URLParser.cpp:

(TestWebKitAPI::TEST_F):
An emoji had been UTF-8 encoded in the patch that was applied.
The test needed to check the encoding of the emoji, not the UTF-8 encoding of the emoji.
Everything was correct except applying the patch before committing.

Location:
trunk/Tools
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Tools/ChangeLog

    r206038 r206042  
     12016-09-16  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix API tests after r206036
     4        https://bugs.webkit.org/show_bug.cgi?id=162049
     5
     6        * TestWebKitAPI/Tests/WebCore/URLParser.cpp:
     7        (TestWebKitAPI::TEST_F):
     8        An emoji had been UTF-8 encoded in the patch that was applied.
     9        The test needed to check the encoding of the emoji, not the UTF-8 encoding of the emoji.
     10        Everything was correct except applying the patch before committing.
     11
    1122016-09-16  Wenson Hsieh  <wenson_hsieh@apple.com>
    213
  • trunk/Tools/TestWebKitAPI/Tests/WebCore/URLParser.cpp

    r206036 r206042  
    500500        {"http", "", "", "host", 0, "/path%2e.%2E", "", "", "http://host/path%2e.%2E"});
    501501
    502     checkRelativeURLDifferences(wideString(L"http://foo:💩@example.com/bar"), "http://other.com/",
    503         {"http", "foo", wideString(L"💩"), "example.com", 0, "/bar", "", "", "http://foo:%F0%9F%92%A9@example.com/bar"},
    504         {"", "", "", "", 0, "", "", "", wideString(L"http://foo:💩@example.com/bar")});
     502    checkRelativeURLDifferences(wideString(L"http://foo:💩@example.com/bar"), "http://other.com/",
     503        {"http", "foo", wideString(L"💩"), "example.com", 0, "/bar", "", "", "http://foo:%F0%9F%92%A9@example.com/bar"},
     504        {"", "", "", "", 0, "", "", "", wideString(L"http://foo:💩@example.com/bar")});
    505505    checkRelativeURLDifferences("http://&a:foo(b]c@d:2/", "http://example.org/foo/bar",
    506506        {"http", "&a", "foo(b]c", "d", 2, "/", "", "", "http://&a:foo(b%5Dc@d:2/"},
Note: See TracChangeset for help on using the changeset viewer.