RegexUtils
public
class
RegexUtils
extends Object
java.lang.Object | |
↳ | com.android.sts.common.RegexUtils |
Contains wrappers around JUnit assertions with regex matching in strings
Summary
Public constructors | |
---|---|
RegexUtils()
|
Public methods | |
---|---|
static
void
|
assertContains(String pattern, String input)
|
static
void
|
assertContainsMultiline(String pattern, String input)
|
static
void
|
assertNotContains(String pattern, String input)
|
static
void
|
assertNotContainsMultiline(String pattern, String input)
|
Public constructors
RegexUtils
public RegexUtils ()
Public methods
assertContains
public static void assertContains (String pattern, String input)
Parameters | |
---|---|
pattern |
String |
input |
String |
Throws | |
---|---|
Exception |
assertContainsMultiline
public static void assertContainsMultiline (String pattern, String input)
Parameters | |
---|---|
pattern |
String |
input |
String |
Throws | |
---|---|
Exception |
assertNotContains
public static void assertNotContains (String pattern, String input)
Parameters | |
---|---|
pattern |
String |
input |
String |
Throws | |
---|---|
Exception |
assertNotContainsMultiline
public static void assertNotContainsMultiline (String pattern, String input)
Parameters | |
---|---|
pattern |
String |
input |
String |
Throws | |
---|---|
Exception |