public final class AssertRegex extends Object
java.util.regex.| Modifier and Type | Method and Description |
|---|---|
static void |
assertMatches(List<String> expectedRegexes,
List<String> actuals)
Fails unless each of the actuals matches the respective regex.
|
static void |
assertMatches(String message,
List<String> expectedRegexes,
List<String> actuals)
Fails with the given message unless each of the actuals matches the respective regex.
|
static void |
assertMatches(String expectedRegex,
String actual)
Fails unless the actual string matches the given expectedRegex.
|
static void |
assertMatches(String message,
String expectedRegex,
String actual)
Fails with the given message unless the actual string matches the given
expectedRegex.
|
public static void assertMatches(String expectedRegex, String actual)
public static void assertMatches(@Nullable String message, String expectedRegex, String actual)
public static void assertMatches(List<String> expectedRegexes, List<String> actuals)
Copyright © 2016 Arno Unkrig. All rights reserved.