|
|
|
@ -31,6 +31,8 @@ import jakarta.servlet.ServletException; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import jakarta.servlet.http.HttpServletResponse; |
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
import org.junit.jupiter.api.BeforeEach; |
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
import org.junit.jupiter.api.Test; |
|
|
|
|
|
|
|
import org.junit.jupiter.api.condition.DisabledForJreRange; |
|
|
|
|
|
|
|
import org.junit.jupiter.api.condition.JRE; |
|
|
|
|
|
|
|
|
|
|
|
import org.springframework.beans.testfixture.beans.TestBean; |
|
|
|
import org.springframework.beans.testfixture.beans.TestBean; |
|
|
|
import org.springframework.core.io.ClassPathResource; |
|
|
|
import org.springframework.core.io.ClassPathResource; |
|
|
|
@ -145,6 +147,7 @@ public class FreeMarkerMacroTests { |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
@Test |
|
|
|
@Test |
|
|
|
|
|
|
|
@DisabledForJreRange(min = JRE.JAVA_21) |
|
|
|
public void testAge() throws Exception { |
|
|
|
public void testAge() throws Exception { |
|
|
|
assertThat(getMacroOutput("AGE")).isEqualTo("99"); |
|
|
|
assertThat(getMacroOutput("AGE")).isEqualTo("99"); |
|
|
|
} |
|
|
|
} |
|
|
|
|