mirror of
https://github.com/apache/struts.git
synced 2026-08-15 11:37:02 +00:00
c9ac74d0a1
read: "copies one interface from org.springframework.mock.web.portlet.multipart" (not "org.apache.struts2.mock.web.portlet" which was incorrect). Refactor (rename) junit-portlet plugin to portlet-mocks plugin. - Moved StrutsPortletTestCase from the portlet plugin into the junit plugin (same package name). - Added optional dependencies to the junit plugin for the portlet plugin and mocks plugin. - Duplicated StrutsTestCase from the junit plugin with a new name StrutsTestCasePortletTests that exists within a test scope only. This was done to eliminate a dendency cycle between junit and portlet plugins during refactoring. - Updated the portlet plugin unit tests to use StrutsTestCasePortletTests internally instead of StrutsTestCase from the junit plugin. - Removed junit plugin dependency for portlets plugin, added test scope dependency for portlet-mocks plugin. - Made StrutsSpringPortletMockObjectsTest depend only on TestCase. - Removed unneeded dependencies from portlet-mocks pom. Amended commit multiple times: Missed plugins pom.xml change, forgot to drop StrutsPortletTestCase from portlet plugin (local repository).