Skip to content

Commit 695601a

Browse files
committed
Merge pull request #30308 from izeye
* pr/30308: Add since tags to sameSite() and attribute() in CookieResultMatchersDsl Closes gh-30308
2 parents 073226d + 8f5a1fe commit 695601a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/CookieResultMatchersDsl.kt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,13 +101,15 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
101101

102102
/**
103103
* @see CookieResultMatchers.sameSite
104+
* @since 6.0.8
104105
*/
105106
fun sameSite(name: String, matcher: Matcher<String>) {
106107
actions.andExpect(matchers.sameSite(name, matcher))
107108
}
108109

109110
/**
110111
* @see CookieResultMatchers.sameSite
112+
* @since 6.0.8
111113
*/
112114
fun sameSite(name: String, sameSite: String) {
113115
actions.andExpect(matchers.sameSite(name, sameSite))
@@ -157,13 +159,15 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA
157159

158160
/**
159161
* @see CookieResultMatchers.attribute
162+
* @since 6.0.8
160163
*/
161164
fun attribute(name: String, attributeName: String, matcher: Matcher<String>) {
162165
actions.andExpect(matchers.attribute(name, attributeName, matcher))
163166
}
164167

165168
/**
166169
* @see CookieResultMatchers.attribute
170+
* @since 6.0.8
167171
*/
168172
fun attribute(name: String, attributeName: String, attributeValue: String) {
169173
actions.andExpect(matchers.attribute(name, attributeName, attributeValue))

0 commit comments

Comments
 (0)