Merge pull request #30308 from izeye
* pr/30308: Add since tags to sameSite() and attribute() in CookieResultMatchersDsl Closes gh-30308
This commit is contained in:
commit
695601aa06
|
|
@ -101,6 +101,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CookieResultMatchers.sameSite
|
* @see CookieResultMatchers.sameSite
|
||||||
|
* @since 6.0.8
|
||||||
*/
|
*/
|
||||||
fun sameSite(name: String, matcher: Matcher<String>) {
|
fun sameSite(name: String, matcher: Matcher<String>) {
|
||||||
actions.andExpect(matchers.sameSite(name, matcher))
|
actions.andExpect(matchers.sameSite(name, matcher))
|
||||||
|
|
@ -108,6 +109,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CookieResultMatchers.sameSite
|
* @see CookieResultMatchers.sameSite
|
||||||
|
* @since 6.0.8
|
||||||
*/
|
*/
|
||||||
fun sameSite(name: String, sameSite: String) {
|
fun sameSite(name: String, sameSite: String) {
|
||||||
actions.andExpect(matchers.sameSite(name, sameSite))
|
actions.andExpect(matchers.sameSite(name, sameSite))
|
||||||
|
|
@ -157,6 +159,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CookieResultMatchers.attribute
|
* @see CookieResultMatchers.attribute
|
||||||
|
* @since 6.0.8
|
||||||
*/
|
*/
|
||||||
fun attribute(name: String, attributeName: String, matcher: Matcher<String>) {
|
fun attribute(name: String, attributeName: String, matcher: Matcher<String>) {
|
||||||
actions.andExpect(matchers.attribute(name, attributeName, matcher))
|
actions.andExpect(matchers.attribute(name, attributeName, matcher))
|
||||||
|
|
@ -164,6 +167,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @see CookieResultMatchers.attribute
|
* @see CookieResultMatchers.attribute
|
||||||
|
* @since 6.0.8
|
||||||
*/
|
*/
|
||||||
fun attribute(name: String, attributeName: String, attributeValue: String) {
|
fun attribute(name: String, attributeName: String, attributeValue: String) {
|
||||||
actions.andExpect(matchers.attribute(name, attributeName, attributeValue))
|
actions.andExpect(matchers.attribute(name, attributeName, attributeValue))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue