Class AdditionalAssertions
java.lang.Object
org.eclipse.microprofile.config.tck.util.AdditionalAssertions
- Author:
- Emily Jiang, Joseph Cass
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidassertURLArrayEquals(URL[] value, URL[] expectedValue) static voidassertURLListEquals(List<URL> value, List<URL> expectedValue) static voidassertURLSetEquals(Set<URL> valueSet, Set<URL> expectedURLSet) static booleanUse URI.equals() since URL.equals() performs DNS resolution which is undesired.
-
Method Details
-
urlEquals
Use URI.equals() since URL.equals() performs DNS resolution which is undesired. See #549- Throws:
URISyntaxException- if either URL is not formatted correctly
-
assertURLArrayEquals
public static void assertURLArrayEquals(URL[] value, URL[] expectedValue) throws MalformedURLException - Throws:
MalformedURLException
-
assertURLListEquals
public static void assertURLListEquals(List<URL> value, List<URL> expectedValue) throws MalformedURLException - Throws:
MalformedURLException
-
assertURLSetEquals
public static void assertURLSetEquals(Set<URL> valueSet, Set<URL> expectedURLSet) throws MalformedURLException, URISyntaxException
-