The following document contains the results of RAT (Release Audit Tool).
***************************************************** Summary ------- Notes: 1 Binaries: 0 Archives: 0 Standards: 27 Apache Licensed: 26 Generated Documents: 0 JavaDocs are generated and so license header is optional Generated files do not required license headers 1 Unknown Licenses ******************************* Archives (+ indicates readable, $ unreadable): ***************************************************** Files with AL headers will be marked L Binary files (which do not require AL headers) will be marked B Compressed archives will be marked A Notices, licenses etc will be marked N AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/pom.xml AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeHandlerManager.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/ContentTypeInterceptor.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/DefaultContentTypeHandlerManager.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/DefaultHttpHeaders.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/ContentTypeHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/FormUrlEncodedHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/HtmlHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JacksonLibHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/JsonLibHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/MultipartFormDataHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/handler/XStreamHandler.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/HttpHeaders.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionInvocation.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionMapper.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionProxyFactory.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/RestActionSupport.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/java/org/apache/struts2/rest/RestWorkflowInterceptor.java N /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/resources/NOTICE.txt AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/main/resources/struts-plugin.xml AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/ContentTypeHandlerManagerTest.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/DefaultHttpHeadersTest.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/handler/Contact.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/handler/JacksonLibHandlerTest.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/handler/JsonLibHandlerTest.java !????? /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/RestActionInvocationTest.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/RestActionMapperTest.java AL /Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/RestWorkflowInterceptorTest.java ***************************************************** Printing headers for files without AL header... ======================================================================= ==/Users/lukaszlenart/Projects/Apache/STRUTS_2_3_8/plugins/rest/src/test/java/org/apache/struts2/rest/RestActionInvocationTest.java ======================================================================= package org.apache.struts2.rest; import com.opensymphony.xwork2.ActionContext; import com.opensymphony.xwork2.DefaultUnknownHandlerManager; import com.opensymphony.xwork2.ModelDriven; import com.opensymphony.xwork2.ObjectFactory; import com.opensymphony.xwork2.config.ConfigurationException; import com.opensymphony.xwork2.config.entities.ActionConfig; import com.opensymphony.xwork2.config.entities.InterceptorMapping; import com.opensymphony.xwork2.config.entities.ResultConfig; import com.opensymphony.xwork2.mock.MockActionProxy; import com.opensymphony.xwork2.mock.MockInterceptor; import com.opensymphony.xwork2.util.XWorkTestCaseHelper; import junit.framework.TestCase; import org.apache.struts2.ServletActionContext; import org.apache.struts2.dispatcher.HttpHeaderResult; import org.springframework.mock.web.MockHttpServletRequest; import org.springframework.mock.web.MockHttpServletResponse; import javax.servlet.http.HttpServletResponse; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import static javax.servlet.http.HttpServletResponse.SC_NOT_MODIFIED; public class RestActionInvocationTest extends TestCase { RestActionInvocation restActionInvocation; MockHttpServletRequest request; MockHttpServletResponse response; @Override protected void setUp() throws Exception { super.setUp(); restActionInvocation = new RestActionInvocationTester(); request = new MockHttpServletRequest(); response = new MockHttpServletResponse(); ServletActionContext.setRequest(request); ServletActionContext.setResponse(response); } /** * Test the correct action results: null, String, HttpHeaders, Result * @throws Exception */ public void testSaveResult() throws Exception {