|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2019 the original author or authors. |
|
|
|
|
* Copyright 2002-2020 the original author or authors. |
|
|
|
|
* |
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License"); |
|
|
|
|
* you may not use this file except in compliance with the License. |
|
|
|
@ -19,6 +19,7 @@ package org.springframework.scripting.support;
@@ -19,6 +19,7 @@ package org.springframework.scripting.support;
|
|
|
|
|
import java.util.Arrays; |
|
|
|
|
|
|
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
import org.junit.jupiter.api.condition.DisabledForJreRange; |
|
|
|
|
|
|
|
|
|
import org.springframework.aop.support.AopUtils; |
|
|
|
|
import org.springframework.aop.target.dynamic.Refreshable; |
|
|
|
@ -27,6 +28,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
@@ -27,6 +28,7 @@ import org.springframework.context.support.ClassPathXmlApplicationContext;
|
|
|
|
|
import org.springframework.scripting.Messenger; |
|
|
|
|
|
|
|
|
|
import static org.assertj.core.api.Assertions.assertThat; |
|
|
|
|
import static org.junit.jupiter.api.condition.JRE.JAVA_15; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* {@link StandardScriptFactory} (lang:std) tests for JavaScript. |
|
|
|
@ -34,6 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
@@ -34,6 +36,7 @@ import static org.assertj.core.api.Assertions.assertThat;
|
|
|
|
|
* @author Juergen Hoeller |
|
|
|
|
* @since 4.2 |
|
|
|
|
*/ |
|
|
|
|
@DisabledForJreRange(min = JAVA_15) |
|
|
|
|
public class StandardScriptFactoryTests { |
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
|