@Test public void restResolveRelative() { String[][] TESTS = new String[][]{ {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: {"http: }; for (String[] test: TESTS) { assertEquals("rel('" + test[0] + "', '" + test[1] + "', " + test[3] + ") should give the expected result", test[2], Normalisation.resolveRelative(test[0], test[1], Boolean.parseBoolean(test[3]))); } }
public static String resolveRelative(String url, String relative) throws IllegalArgumentException { return resolveRelative(url, relative, true); }
Normalisation { public static String resolveRelative(String url, String relative) throws IllegalArgumentException { return resolveRelative(url, relative, true); } }
Normalisation { public static String resolveRelative(String url, String relative) throws IllegalArgumentException { return resolveRelative(url, relative, true); }  }
Normalisation { public static String resolveRelative(String url, String relative) throws IllegalArgumentException { return resolveRelative(url, relative, true); }  static String sanitiseWARCHeaderValue(String value); static String canonicaliseHost(String host); static String canonicaliseURL(String url); static String fixURLErrors(String url); static String resolveRelative(String url, String relative); static String resolveRelative(String url, String relative, boolean normalise); static String canonicaliseURL(String url, boolean allowHighOrder, boolean createUnambiguous); }
Normalisation { public static String resolveRelative(String url, String relative) throws IllegalArgumentException { return resolveRelative(url, relative, true); }  static String sanitiseWARCHeaderValue(String value); static String canonicaliseHost(String host); static String canonicaliseURL(String url); static String fixURLErrors(String url); static String resolveRelative(String url, String relative); static String resolveRelative(String url, String relative, boolean normalise); static String canonicaliseURL(String url, boolean allowHighOrder, boolean createUnambiguous);  }