public class CookieMatcher extends Object implements groovy.lang.GroovyObject
Constructor and Description |
---|
CookieMatcher() |
Modifier and Type | Method and Description |
---|---|
Object |
getCookieName() |
static Cookies |
getCookies(Object headerWithCookieList) |
static String |
getExpectedDescription(org.hamcrest.Matcher matcher) |
static List |
getKeyAndValueOfCookie(String part) |
org.hamcrest.Matcher<String> |
getMatcher() |
groovy.lang.MetaClass |
getMetaClass() |
static String |
getMismatchDescription(org.hamcrest.Matcher matcher,
Object value) |
Object |
getProperty(String property) |
Object |
invokeMethod(String method,
Object arguments) |
void |
setCookieName(Object value) |
void |
setMatcher(org.hamcrest.Matcher<String> value) |
void |
setMetaClass(groovy.lang.MetaClass mc) |
void |
setProperty(String property,
Object value) |
Object |
validateCookies(List<String> headerWithCookieList,
Cookies responseCookies) |
public groovy.lang.MetaClass getMetaClass()
getMetaClass
in interface groovy.lang.GroovyObject
public void setMetaClass(groovy.lang.MetaClass mc)
setMetaClass
in interface groovy.lang.GroovyObject
public Object invokeMethod(String method, Object arguments)
invokeMethod
in interface groovy.lang.GroovyObject
public Object getProperty(String property)
getProperty
in interface groovy.lang.GroovyObject
public void setProperty(String property, Object value)
setProperty
in interface groovy.lang.GroovyObject
public Object getCookieName()
public void setCookieName(Object value)
public org.hamcrest.Matcher<String> getMatcher()
public void setMatcher(org.hamcrest.Matcher<String> value)
public Object validateCookies(List<String> headerWithCookieList, Cookies responseCookies)
public static String getExpectedDescription(org.hamcrest.Matcher matcher)
public static String getMismatchDescription(org.hamcrest.Matcher matcher, Object value)
Copyright © 2010–2017. All rights reserved.