Browse Source

Temporarily disable kotlin scripts tests with Java 19

See gh-29249
pull/29282/head
Brian Clozel 2 years ago
parent
commit
7dd6afc263
  1. 3
      spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java
  2. 3
      spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java

3
spring-webflux/src/test/java/org/springframework/web/reactive/result/view/script/KotlinScriptTemplateTests.java

@ -21,6 +21,8 @@ import java.util.Locale; @@ -21,6 +21,8 @@ import java.util.Locale;
import java.util.Map;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnJre;
import org.junit.jupiter.api.condition.JRE;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
@ -38,6 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat; @@ -38,6 +40,7 @@ import static org.assertj.core.api.Assertions.assertThat;
*
* @author Sebastien Deleuze
*/
@DisabledOnJre(value = JRE.JAVA_19, disabledReason = "Kotlin doesn't support Java 19 yet")
public class KotlinScriptTemplateTests {
@Test

3
spring-webmvc/src/test/java/org/springframework/web/servlet/view/script/KotlinScriptTemplateTests.java

@ -23,6 +23,8 @@ import java.util.Map; @@ -23,6 +23,8 @@ import java.util.Map;
import jakarta.servlet.ServletContext;
import org.junit.jupiter.api.BeforeEach;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledOnJre;
import org.junit.jupiter.api.condition.JRE;
import org.springframework.context.annotation.AnnotationConfigApplicationContext;
import org.springframework.context.annotation.Bean;
@ -41,6 +43,7 @@ import static org.mockito.Mockito.mock; @@ -41,6 +43,7 @@ import static org.mockito.Mockito.mock;
*
* @author Sebastien Deleuze
*/
@DisabledOnJre(value = JRE.JAVA_19, disabledReason = "Kotlin doesn't support Java 19 yet")
public class KotlinScriptTemplateTests {
private WebApplicationContext webAppContext;

Loading…
Cancel
Save