|
|
|
|
@ -1,5 +1,5 @@
@@ -1,5 +1,5 @@
|
|
|
|
|
/* |
|
|
|
|
* Copyright 2002-2015 the original author or authors. |
|
|
|
|
* Copyright 2002-2016 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. |
|
|
|
|
@ -20,10 +20,9 @@ import java.util.HashMap;
@@ -20,10 +20,9 @@ import java.util.HashMap;
|
|
|
|
|
import java.util.Map; |
|
|
|
|
import javax.servlet.ServletContext; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.assertEquals; |
|
|
|
|
import org.junit.Before; |
|
|
|
|
import org.junit.Ignore; |
|
|
|
|
import org.junit.Test; |
|
|
|
|
import static org.mockito.Mockito.mock; |
|
|
|
|
|
|
|
|
|
import org.springframework.context.annotation.AnnotationConfigApplicationContext; |
|
|
|
|
import org.springframework.context.annotation.Bean; |
|
|
|
|
@ -33,11 +32,15 @@ import org.springframework.mock.web.test.MockHttpServletResponse;
@@ -33,11 +32,15 @@ import org.springframework.mock.web.test.MockHttpServletResponse;
|
|
|
|
|
import org.springframework.mock.web.test.MockServletContext; |
|
|
|
|
import org.springframework.web.context.WebApplicationContext; |
|
|
|
|
|
|
|
|
|
import static org.junit.Assert.*; |
|
|
|
|
import static org.mockito.Mockito.*; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* Unit tests for ERB templates running on JRuby. |
|
|
|
|
* |
|
|
|
|
* @author Sebastien Deleuze |
|
|
|
|
*/ |
|
|
|
|
@Ignore("JRuby not compatible with JDK 9 yet") |
|
|
|
|
public class JRubyScriptTemplateTests { |
|
|
|
|
|
|
|
|
|
private WebApplicationContext webAppContext; |
|
|
|
|
|