public final class RegexpBuilders extends Object
Modifier and Type | Method and Description |
---|---|
static String |
buildGStringRegexpForStubSide(Object o)
Converts the
Object passed values into their stub side String
representations. |
static String |
buildGStringRegexpForTestSide(groovy.lang.GString gString)
Converts the
GString passed values into their test side String
representations. |
static String |
buildGStringRegexpForTestSide(Object o)
Converts the
Object passed values into their test side String
representations. |
static String |
buildJSONRegexpMatch(groovy.lang.GString gString) |
static String |
buildJSONRegexpMatch(List<?> jsonList) |
static String |
buildJSONRegexpMatch(Map.Entry<String,Object> entry)
Converts the map into String representation of regular expressions.
|
static String |
buildJSONRegexpMatch(Map<String,Object> jsonMap) |
static String |
buildJSONRegexpMatch(Object value)
Converts the object into String representation of regular expressions.
|
static String |
buildJSONRegexpMatch(Pattern pattern)
Converts the pattern into String representation of regular expressions.
|
static String |
buildJSONRegexpMatchString(String value)
Converts the String into String representation of regular expressions.
|
static String |
buildJSONRegexpMatchStringOptionalQuotes(String value)
Converts the String into an optional String representation of regular expressions.
|
static String |
escapeSpecialRegexChars(String str) |
public static String buildGStringRegexpForStubSide(Object o)
Object
passed values into their stub side String
representations.public static String buildGStringRegexpForTestSide(groovy.lang.GString gString)
GString
passed values into their test side String
representations.public static String buildGStringRegexpForTestSide(Object o)
Object
passed values into their test side String
representations.public static String buildJSONRegexpMatch(groovy.lang.GString gString)
public static String buildJSONRegexpMatch(Map.Entry<String,Object> entry)
public static String buildJSONRegexpMatch(Object value)
public static String buildJSONRegexpMatch(Pattern pattern)
public static String buildJSONRegexpMatchString(String value)
Copyright © 2016–2021 Spring. All rights reserved.