diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/HttpUrlTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/HttpUrlTest.java index 6c0890cff..370818c5a 100644 --- a/okhttp-tests/src/test/java/com/squareup/okhttp/HttpUrlTest.java +++ b/okhttp-tests/src/test/java/com/squareup/okhttp/HttpUrlTest.java @@ -226,6 +226,39 @@ public final class HttpUrlTest { assertEquals(null, HttpUrl.parse("http://%20/")); } + @Test public void hostnameLowercaseCharactersMappedDirectly() throws Exception { + assertEquals("abcd", HttpUrl.parse("http://abcd").host()); + assertEquals("xn--4xa", HttpUrl.parse("http://σ").host()); + } + + @Test public void hostnameUppercaseCharactersConvertedToLowercase() throws Exception { + assertEquals("abcd", HttpUrl.parse("http://ABCD").host()); + assertEquals("xn--4xa", HttpUrl.parse("http://Σ").host()); + } + + @Test public void hostnameIgnoredCharacters() throws Exception { + // The soft hyphen (­) should be ignored. + assertEquals("abcd", HttpUrl.parse("http://AB\u00adCD").host()); + } + + @Test public void hostnameMultipleCharacterMapping() throws Exception { + // Map the single character telephone symbol (℡) to the string "tel". + assertEquals("tel", HttpUrl.parse("http://\u2121").host()); + } + + @Test public void hostnameMappingLastMappedCodePoint() throws Exception { + assertEquals("xn--pu5l", HttpUrl.parse("http://\uD87E\uDE1D").host()); + } + + @Ignore // The java.net.IDN implementation doesn't ignore characters that it should. + @Test public void hostnameMappingLastIgnoredCodePoint() throws Exception { + assertEquals("abcd", HttpUrl.parse("http://ab\uDB40\uDDEFcd").host()); + } + + @Test public void hostnameMappingLastDisallowedCodePoint() throws Exception { + assertEquals(null, HttpUrl.parse("http://\uDBFF\uDFFF")); + } + @Test public void hostIpv6() throws Exception { // Square braces are absent from host()... String address = "0:0:0:0:0:0:0:1"; @@ -275,7 +308,7 @@ public final class HttpUrlTest { assertEquals(a2, HttpUrl.parse("http://[1::]").host()); } - @Ignore + @Ignore // java.net.InetAddress isn't as strict as it should be. @Test public void hostIpv6AddressTooManyDigitsInGroup() throws Exception { assertEquals(null, HttpUrl.parse("http://[00000:0000:0000:0000:0000:0000:0000:0001]")); assertEquals(null, HttpUrl.parse("http://[::00001]")); diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformTestRun.java b/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformTestRun.java deleted file mode 100644 index da7166195..000000000 --- a/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformTestRun.java +++ /dev/null @@ -1,77 +0,0 @@ -/* - * Copyright (C) 2015 Square, Inc. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.squareup.okhttp; - -import com.google.gson.Gson; -import com.squareup.okhttp.internal.Util; -import java.io.IOException; -import java.io.InputStream; -import java.io.InputStreamReader; -import java.util.List; - -/** - * The result of a test run from the W3C web - * platform tests. This class serves as a Gson model for browser test results. - * - *

Note: When extracting the .json file from the browser after a test run, be - * careful to avoid text encoding problems. In one environment, Safari was corrupting UTF-8 data - * for download (but the clipboard was fine), and Firefox was corrupting UTF-8 data copied to the - * clipboard (but the download was fine). - */ -public final class WebPlatformTestRun { - List results; - - public SubtestResult get(String testName, String subtestName) { - for (TestResult result : results) { - if (testName.equals(result.test)) { - for (SubtestResult subtestResult : result.subtests) { - if (subtestName.equals(subtestResult.name)) { - return subtestResult; - } - } - } - } - return null; - } - - public static WebPlatformTestRun load(InputStream in) throws IOException { - try { - return new Gson().getAdapter(WebPlatformTestRun.class) - .fromJson(new InputStreamReader(in, Util.UTF_8)); - } finally { - Util.closeQuietly(in); - } - } - - public static class TestResult { - String test; - List subtests; - } - - public static class SubtestResult { - String name; - Status status; - String message; - - public boolean isPass() { - return status == Status.PASS; - } - } - - public enum Status { - PASS, FAIL - } -} diff --git a/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformUrlTest.java b/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformUrlTest.java index 885f2b059..6d5d815a4 100644 --- a/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformUrlTest.java +++ b/okhttp-tests/src/test/java/com/squareup/okhttp/WebPlatformUrlTest.java @@ -15,16 +15,12 @@ */ package com.squareup.okhttp; -import com.squareup.okhttp.WebPlatformTestRun.SubtestResult; import com.squareup.okhttp.internal.Util; import java.io.IOException; -import java.net.MalformedURLException; -import java.net.URL; import java.util.ArrayList; import java.util.List; import okio.BufferedSource; import okio.Okio; -import org.junit.Ignore; import org.junit.Test; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; @@ -40,25 +36,9 @@ public final class WebPlatformUrlTest { @Parameterized.Parameters(name = "{0}") public static List parameters() { try { - List tests = loadTests(); - - // The web platform tests are run in both HTML and XHTML variants. Major browsers pass more - // tests in HTML mode, so that's what we'll attempt to match. - String testName = "/url/a-element.html"; - WebPlatformTestRun firefoxTestRun - = loadTestRun("/web-platform-test-results-url-firefox-37.0.json"); - WebPlatformTestRun chromeTestRun - = loadTestRun("/web-platform-test-results-url-chrome-42.0.json"); - WebPlatformTestRun safariTestRun - = loadTestRun("/web-platform-test-results-url-safari-7.1.json"); - List result = new ArrayList<>(); - for (WebPlatformUrlTestData urlTestData : tests) { - String subtestName = urlTestData.toString(); - SubtestResult firefoxResult = firefoxTestRun.get(testName, subtestName); - SubtestResult chromeResult = chromeTestRun.get(testName, subtestName); - SubtestResult safariResult = safariTestRun.get(testName, subtestName); - result.add(new Object[] { urlTestData, firefoxResult, chromeResult, safariResult }); + for (WebPlatformUrlTestData urlTestData : loadTests()) { + result.add(new Object[] { urlTestData }); } return result; } catch (IOException e) { @@ -69,89 +49,60 @@ public final class WebPlatformUrlTest { @Parameter(0) public WebPlatformUrlTestData testData; - @Parameter(1) - public SubtestResult firefoxResult; - - @Parameter(2) - public SubtestResult chromeResultResult; - - @Parameter(3) - public SubtestResult safariResult; - - private static final List JAVA_NET_URL_SCHEMES - = Util.immutableList("file", "ftp", "http", "https", "mailto"); private static final List HTTP_URL_SCHEMES = Util.immutableList("http", "https"); - - /** Test how {@link URL} does against the web platform test suite. */ - @Ignore // java.net.URL is broken. Not much we can do about that. - @Test public void javaNetUrl() throws Exception { - if (!testData.scheme.isEmpty() && !JAVA_NET_URL_SCHEMES.contains(testData.scheme)) { - System.out.println("Ignoring unsupported scheme " + testData.scheme); - return; - } - - try { - testJavaNetUrl(); - } catch (AssertionError e) { - if (tolerateFailure()) { - System.out.println("Tolerable failure: " + e.getMessage()); - return; - } - throw e; - } - } - - private void testJavaNetUrl() { - URL url = null; - String failureMessage = ""; - try { - if (testData.base.equals("about:blank")) { - url = new URL(testData.input); - } else { - URL baseUrl = new URL(testData.base); - url = new URL(baseUrl, testData.input); - } - } catch (MalformedURLException e) { - failureMessage = e.getMessage(); - } - - if (testData.expectParseFailure()) { - assertNull("Expected URL to fail parsing", url); - } else { - assertNotNull("Expected URL to parse successfully, but was " + failureMessage, url); - String effectivePort = url.getPort() != -1 ? Integer.toString(url.getPort()) : ""; - String effectiveQuery = url.getQuery() != null ? "?" + url.getQuery() : ""; - String effectiveFragment = url.getRef() != null ? "#" + url.getRef() : ""; - assertEquals("scheme", testData.scheme, url.getProtocol()); - assertEquals("host", testData.host, url.getHost()); - assertEquals("port", testData.port, effectivePort); - assertEquals("path", testData.path, url.getPath()); - assertEquals("query", testData.query, effectiveQuery); - assertEquals("fragment", testData.fragment, effectiveFragment); - } - } + private static final List KNOWN_FAILURES = Util.immutableList( + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: <#β> against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against ", + "Parsing: against " + ); /** Test how {@link HttpUrl} does against the web platform test suite. */ - @Ignore // TODO(jwilson): implement character encoding. @Test public void httpUrl() throws Exception { if (!testData.scheme.isEmpty() && !HTTP_URL_SCHEMES.contains(testData.scheme)) { System.out.println("Ignoring unsupported scheme " + testData.scheme); return; } - if (!testData.base.startsWith("https:") && !testData.base.startsWith("http:")) { + if (!testData.base.startsWith("https:") + && !testData.base.startsWith("http:") + && !testData.base.equals("about:blank")) { System.out.println("Ignoring unsupported base " + testData.base); return; } try { testHttpUrl(); - } catch (AssertionError e) { - if (tolerateFailure()) { - System.out.println("Tolerable failure: " + e.getMessage()); - return; + } catch (Throwable e) { + if (KNOWN_FAILURES.contains(testData.toString())) { + System.out.println("Ignoring known failure: " + testData); + e.printStackTrace(); + } else { + throw e; } - throw e; } } @@ -185,23 +136,9 @@ public final class WebPlatformUrlTest { } } - /** - * Returns true if several major browsers also fail this test, in which case the test itself is - * questionable. - */ - private boolean tolerateFailure() { - return !firefoxResult.isPass() - && !chromeResultResult.isPass() - && !safariResult.isPass(); - } - private static List loadTests() throws IOException { BufferedSource source = Okio.buffer(Okio.source( WebPlatformUrlTest.class.getResourceAsStream("/web-platform-test-urltestdata.txt"))); return WebPlatformUrlTestData.load(source); } - - private static WebPlatformTestRun loadTestRun(String name) throws IOException { - return WebPlatformTestRun.load(WebPlatformUrlTest.class.getResourceAsStream(name)); - } } diff --git a/okhttp-tests/src/test/resources/web-platform-test-results-url-chrome-42.0.json b/okhttp-tests/src/test/resources/web-platform-test-results-url-chrome-42.0.json deleted file mode 100644 index 60adf6988..000000000 --- a/okhttp-tests/src/test/resources/web-platform-test-results-url-chrome-42.0.json +++ /dev/null @@ -1,1341 +0,0 @@ -{ - "results": [ - { - "test": "/url/a-element.html", - "subtests": [ - { - "name": "Loading data…", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <\t :foo.com \n> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < foo.com > against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: <> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < \t> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:a> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#;?> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://&a:foo(b]c@d:2/\" but got \"http://&a:foo(b%5Dc@d:2/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://::%40c@d:2/\" but got \"http://:%3A%40c@d:2/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <[61:24:74]:98> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://2001::1]\" but got \"http://2001::1]/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://2001::1]:80\" but got \"http://2001::1]/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#β> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:/foo/bar.html\" but got \"/tmp/mock/c:/foo/bar.html\"" - }, - { - "name": "Parsing: < File:c|////foo\\bar.html> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:////foo/bar.html\" but got \"/tmp/mock/c%7C////foo/bar.html\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/tmp/mock/C%7C/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/C%7C/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"\" but got \"c%7C\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <\\\\server\\file> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/%2e%2\" but got \"/foo/.%2\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/%2e.bar\" but got \"/..bar\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo%41%7a\" but got \"/fooAz\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: hash expected \"# »\" but got \"# %C2%BB\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo%2Ehtml\" but got \"/foo.html\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http:/:@/www.example.com\" but got \"http:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http:@/www.example.com\" but got \"http:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http:/@/www.example.com\" but got \"http:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://@/www.example.com\" but got \"http:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"https:@/www.example.com\" but got \"https:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http:a:b@/www.example.com\" but got \"http://a:b@/www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http:/a:b@/www.example.com\" but got \"http://a:b@/www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http::@/www.example.com\" but got \"http:///www.example.com\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"0\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://:@www.example.com/\" but got \"http://www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <.> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <..> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <./test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../aaa/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <中/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://﷐zyx.com\" but got \"http://%EF%BF%BDzyx.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%ef%b7%90zyx.com\" but got \"http://%EF%BF%BDzyx.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%00.com\" but got \"http://%00.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%ef%bc%85%ef%bc%90%ef%bc%90.com\" but got \"http://%00.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%zz%66%a.com\" but got \"http://%25zzf%25a.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%25\" but got \"http://%25/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://hello%00\" but got \"http://hello%00/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"0xc0.0250.01.\" but got \"192.168.0.1\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://192.168.0.257\" but got \"http://192.168.0.257/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://%3g%78%63%30%2e%30%32%35%30%2E.01\" but got \"http://%253gxc0.0250..01/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://[google.com]\" but got \"http://[google.com]/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"x\" but got \"\"" - } - ], - "status": "OK", - "message": null - } - ] -} diff --git a/okhttp-tests/src/test/resources/web-platform-test-results-url-firefox-37.0.json b/okhttp-tests/src/test/resources/web-platform-test-results-url-firefox-37.0.json deleted file mode 100644 index 750ad4ebb..000000000 --- a/okhttp-tests/src/test/resources/web-platform-test-results-url-firefox-37.0.json +++ /dev/null @@ -1,1341 +0,0 @@ -{ - "results": [ - { - "test": "/url/a-element.html", - "subtests": [ - { - "name": "Loading data…", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <\t :foo.com \n> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < foo.com > against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \" foo.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://f:21/%20b%20?%20d%20# e\" but got \"http://f:21/%20b%20?%20d%20#%20e\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: <> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < \t> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com\\> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/:foo.com/\" but got \"/foo/:foo.com%5C\"" - }, - { - "name": "Parsing: <:> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:a> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:\\> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/:/\" but got \"/foo/:%5C\"" - }, - { - "name": "Parsing: <:#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#;?> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"//\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/:@c:29\" but got \"/foo/http::@c:29\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://&a:foo(b]c@d:2/\" but got \"http://&a:foo(b%5Dc@d:2/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"d\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://foo.com:b@d/\" but got \"http://foo%2Ecom:b@d/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"//@\" but got \"/%5C@\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"foo.com\" but got \"example.org\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"a\" but got \"example.org\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/bar.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/////////\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/////////bar.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"////://///\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <[61:24:74]:98> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/[61:24:74]:98\" but got \"/foo/%5B61:24:74%5D:98\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/[61:27]/:foo\" but got \"/foo/%5B61:27%5D/:foo\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"data:\" but got \"http:\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"data:\" but got \"http:\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#β> against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://example.org/foo/bar#β\" but got \"http://example.org/foo/bar#%CE%B2\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"text/html,test\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:/foo/bar.html\" but got \"/tmp/mock/c:%5Cfoo%5Cbar.html\"" - }, - { - "name": "Parsing: < File:c|////foo\\bar.html> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:////foo/bar.html\" but got \"/tmp/mock/c|////foo%5Cbar.html\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/tmp/mock/C|/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/C|%5Cfoo%5Cbar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"server\" but got \"\"" - }, - { - "name": "Parsing: <\\\\server\\file> against ", - "status": "FAIL", - "message": "assert_equals: host expected \"server\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"server\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"test\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/\" but got \"/foo/%2e\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.com\" but got \"example.com\\\\\\foo\\\\bar\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://www.google.com/foo?bar=baz# »\" but got \"http://www.google.com/foo?bar=baz#%20%C2%BB\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"data:\" but got \"http:\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"192.0x00a80001\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"www.google.com\" but got \"\\\\\\www.google.com\\foo\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"//foo:80/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"foo\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"foo\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"data:\" but got \"http:\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"data:\" but got \"http:\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"example.com/\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"www.example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"www.example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"www.example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://www.@pple.com/\" but got \"http://www%2E@pple.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"www.example.com\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <.> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <..> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <./test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../aaa/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <中/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"xn--6qqa088eba\" but got \"你好你好\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"%30%78%63%30%2e%30%32%35%30.01\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"0xc0.0250.01.\" but got \"%30%78%63%30%2e%30%32%35%30.01%2e\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"0xc0.0250.01\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - } - ], - "status": "OK", - "message": null - } - ] -} \ No newline at end of file diff --git a/okhttp-tests/src/test/resources/web-platform-test-results-url-safari-7.1.json b/okhttp-tests/src/test/resources/web-platform-test-results-url-safari-7.1.json deleted file mode 100644 index de3b5d301..000000000 --- a/okhttp-tests/src/test/resources/web-platform-test-results-url-safari-7.1.json +++ /dev/null @@ -1,1341 +0,0 @@ -{ - "results": [ - { - "test": "/url/a-element.html", - "subtests": [ - { - "name": "Loading data…", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <\t :foo.com \n> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < foo.com > against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://f:0/c\" but got \"http://f:00000000000000/c\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"\" but got \"80\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: port expected \"999999\" but got \"65535\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://f: 21 / b ? d # e \" but got \"http://f: 21 / b ? d # e\"" - }, - { - "name": "Parsing: <> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: < \t> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:foo.com\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:a> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#/> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#\\> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#;?> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <:23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <::23> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <[61:24:74]:98> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"example.org\" but got \"example.com\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <#β> against ", - "status": "FAIL", - "message": "assert_equals: hash expected \"#β\" but got \"#%CE%B2\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:/foo/bar.html\" but got \"/tmp/mock/c:/foo/bar.html\"" - }, - { - "name": "Parsing: < File:c|////foo\\bar.html> against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/c:////foo/bar.html\" but got \"/tmp/mock/c|////foo/bar.html\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/tmp/mock/C|/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/C:/foo/bar\" but got \"/C|/foo/bar\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"file:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <\\\\server\\file> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"localhost\" but got \"\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/\" but got \"/foo/%2e\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/%2e.bar\" but got \"/foo/%2e./%2e%2e/.%2e/%2e.bar\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: hash expected \"# »\" but got \"# %C2%BB\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: hash expected \"# »\" but got \"# %C2%BB\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"192.0x00a80001\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: path expected \"/foo/html\" but got \"/foo/%2E/html\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"\" but got \"foo\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://a:@www.example.com/\" but got \"http://a@www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: href expected \"http://:@www.example.com/\" but got \"http://www.example.com/\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <.> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <..> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <./test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../aaa/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <../../test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: <中/test.txt> against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"%30%78%63%30%2e%30%32%35%30.01\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"0xc0.0250.01.\" but got \"%30%78%63%30%2e%30%32%35%30.01%2e\"" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_unreached: Expected URL to fail parsing Reached unreachable code" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: host expected \"192.168.0.1\" but got \"0xc0.0250.01\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - }, - { - "name": "Parsing: against ", - "status": "FAIL", - "message": "assert_equals: scheme expected \"http:\" but got \":\"" - }, - { - "name": "Parsing: against ", - "status": "PASS", - "message": null - } - ], - "status": "OK", - "message": null - } - ] -}