From 8f5a1fe7e2a0284f0a772a5a4d65fe6e9dfe1f6c Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Tue, 11 Apr 2023 00:01:15 +0900 Subject: [PATCH] Add since tags to sameSite() and attribute() in CookieResultMatchersDsl See gh-30308 --- .../test/web/servlet/result/CookieResultMatchersDsl.kt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/CookieResultMatchersDsl.kt b/spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/CookieResultMatchersDsl.kt index 6063c86f65c..1c18645e53a 100644 --- a/spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/CookieResultMatchersDsl.kt +++ b/spring-test/src/main/kotlin/org/springframework/test/web/servlet/result/CookieResultMatchersDsl.kt @@ -101,6 +101,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA /** * @see CookieResultMatchers.sameSite + * @since 6.0.8 */ fun sameSite(name: String, matcher: Matcher) { actions.andExpect(matchers.sameSite(name, matcher)) @@ -108,6 +109,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA /** * @see CookieResultMatchers.sameSite + * @since 6.0.8 */ fun sameSite(name: String, sameSite: String) { actions.andExpect(matchers.sameSite(name, sameSite)) @@ -157,6 +159,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA /** * @see CookieResultMatchers.attribute + * @since 6.0.8 */ fun attribute(name: String, attributeName: String, matcher: Matcher) { actions.andExpect(matchers.attribute(name, attributeName, matcher)) @@ -164,6 +167,7 @@ class CookieResultMatchersDsl internal constructor (private val actions: ResultA /** * @see CookieResultMatchers.attribute + * @since 6.0.8 */ fun attribute(name: String, attributeName: String, attributeValue: String) { actions.andExpect(matchers.attribute(name, attributeName, attributeValue))