Lukasz Lenart
c99526ce1f
WW-5296 Uses proper DTDs
2023-05-16 20:22:03 +02:00
Lukasz Lenart
f0f9e42fa9
WW-5304 Drops deprecated methods and fields in ActionContext
2023-04-10 15:12:11 +02:00
Lukasz Lenart
3774ffa7c3
WW-5234 Improves DTD definitions to use proper URL
2022-09-27 09:21:03 +02:00
Lukasz Lenart
980387e91c
WW-5220 Moves JUnit related test into the JUnit plugin
...
Also moves all the plugin classes under junit package
2022-09-04 11:59:01 +02:00
Lukasz Lenart
a6cd7a0c25
WW-5095 Sets ActionMapping when preparing a test nv
2020-11-13 18:51:32 +01:00
Lukasz Lenart
b96509f077
Merge branch 'master' into action-context-boost
2020-05-03 12:08:29 +02:00
Lukasz Lenart
1e1443871b
WW-4043 Adds additional function to provide encoding
2020-04-28 07:49:36 +02:00
Lukasz Lenart
592c942c76
WW-4043 Moves TestUtils into junit-plugin
2020-04-26 09:31:18 +02:00
Lukasz Lenart
dfda16d743
WW-4789 WW-3788 Introduces helper methods to allow build fluent API
2020-04-05 17:48:59 +02:00
Lukasz Lenart
1a8c751b9a
WW-4789 WW-3788 Uses bind() instead of bound()
2020-04-05 07:46:56 +02:00
Lukasz Lenart
f4aa4ee09a
WW-4789 WW-3788 ActionContext refactoring
2020-04-05 07:46:56 +02:00
JCgH4164838Gh792C124B5
c9ac74d0a1
Correction for previous commit message. There was a typo which should have
...
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).
2020-03-28 14:26:48 -04:00
Stefaan Dutry
03ade0597d
drop deprecated logging layer
...
issue:
* WW-4763
2018-05-19 21:18:46 +02:00
Yasser Zamani
a448b8a91b
make newly added methods protected to allow users to override them
...
See also WW-4921, WW-3442
2018-02-27 14:18:46 +03:30
Yasser Zamani
b806c11ea5
initialize session
...
See also WW-4921
2018-02-27 13:20:33 +03:30
Lukasz Lenart
8b95838c58
Adds proper XML header
2017-10-22 12:29:13 +02:00
Lukasz Lenart
e7c65fb0b4
Adds missing header with license
2017-10-21 17:47:51 +02:00
Lukasz Lenart
73359c480b
Adds missing header with license
2017-10-21 11:24:48 +02:00
Lukasz Lenart
cb389d292d
Fixes Maven site generation
2017-10-20 09:05:29 +02:00
Lukasz Lenart
6f7fcaa338
WW-4716 Allows create actions with all dependencies injected
2016-11-20 18:10:03 +01:00
Lukasz Lenart
70fdc00f66
Merge remote-tracking branch 'upstream/master' into http-parameters
2016-07-15 10:53:50 +02:00
Lukasz Lenart
e60119436a
WW-4632 Uses proper DTD version
2016-06-12 13:10:49 +02:00
Lukasz Lenart
059ebc72c2
Updates tests
2015-11-25 19:57:24 +01:00
Johannes Geppert
18fc7eb155
WW-4549 - Extend Struts Test Case to support tests for REST plugin actions
2015-09-22 18:18:55 +02:00
Lukasz Lenart
e2347f165c
WW-4077 Moves ValidationAware interface into proper package
2015-06-18 11:33:49 +02:00
Johannes Geppert
5a835cf6ac
Minor code improvements's in the cdi, convention, jasperreports, junit, rest and sitemesh plugin
...
- Use Java 7 features like diamond operator
- Improve some logging message and don't check LOG.isXxx if not necessary
- Fix some typos
- Use BooleanUtils.toBoolean(string) instead of "true".isEquals to be more robust
2015-06-16 20:37:20 +02:00
Johannes Geppert
95805e54f7
WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
...
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
Lukasz Lenart
5f2898eadf
Cleans up Maven generated website
2014-12-02 12:41:06 +01:00
Lukasz Lenart
9ff04d17a5
Updates tests to new version of methods without ServletContext
2014-02-17 09:34:47 +01:00
Lukasz Lenart
ab98daf826
WW-4252 Uses TagUtils instead directly calling Dispatcher.getInstance()
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1549067 13f79535-47bb-0310-9956-ffa450edef68
2013-12-08 17:12:01 +00:00
Christian Grobmeier
5e3e793576
removed unused site folder and site.xml
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Lukasz Lenart
58f3b578e7
Simplifies example a bit and uses FreeMarker template to check response
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1492077 13f79535-47bb-0310-9956-ffa450edef68
2013-06-12 06:48:53 +00:00
Lukasz Lenart
eb2a9eb8ff
WW-3593 Adds missing html files
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
Christian Grobmeier
fc7ee40bd6
added example on how to use the convention plugin in conjunction with the junit plugin
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1458681 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 08:17:33 +00:00
Christian Grobmeier
cee2b773b1
removed wildcard import
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1458679 13f79535-47bb-0310-9956-ffa450edef68
2013-03-20 08:16:08 +00:00
Christian Grobmeier
07c8e20161
WW-4017: Support multiple Action executions and Session values
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1457393 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 07:45:59 +00:00
Christian Grobmeier
762cc86714
WW-4017: Support multiple Action executions and Session values
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1457392 13f79535-47bb-0310-9956-ffa450edef68
2013-03-17 07:44:54 +00:00
Christian Grobmeier
6bd836ee2a
corrected svn id tag
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1420932 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 19:44:33 +00:00
Christian Grobmeier
b87e82b1c9
added required license header
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1420931 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 19:43:31 +00:00
Christian Grobmeier
b72d2a08c4
created serial uid
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1420930 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 19:37:49 +00:00
Christian Grobmeier
adacc6741a
example on how to wire session scoped spring beans prio spring-test 3.2 with the junit plugin
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1420928 13f79535-47bb-0310-9956-ffa450edef68
2012-12-12 19:36:56 +00:00
Lukasz Lenart
fdb93f691d
WW-3826 adds new StrutsPortletTestCase to simplify testing actions to be used in portlet environment
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1344572 13f79535-47bb-0310-9956-ffa450edef68
2012-05-31 05:59:06 +00:00
Lukasz Lenart
abd628ea09
WW-3442 adds additional initialisation of HttpSession
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1324893 13f79535-47bb-0310-9956-ffa450edef68
2012-04-11 17:49:35 +00:00
Lukasz Lenart
5c15306366
WW-3442 adds Session initialisation method to solve problem with missing session and allow to initialise session on its own in test cases
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1311951 13f79535-47bb-0310-9956-ffa450edef68
2012-04-10 19:33:51 +00:00
Lukasz Lenart
98af0ac15f
WW-3774 - initialize portlet mocks only in case if portlet dependencies are available
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1301531 13f79535-47bb-0310-9956-ffa450edef68
2012-03-16 14:06:25 +00:00
Lukasz Lenart
6ec3d2a8b6
WW-3758 - upgrade commons-lang to version 3.1
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292705 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:40:53 +00:00
Lukasz Lenart
872a7b0b6d
WW-3733 - adds missing PortletContext to ActionContext to avoid NPE during PortletResult initialisation
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1226265 13f79535-47bb-0310-9956-ffa450edef68
2012-01-01 17:29:25 +00:00
Maurizio Cucchiara
7e1b849155
Added doc.
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1158319 13f79535-47bb-0310-9956-ffa450edef68
2011-08-16 15:12:18 +00:00
Maurizio Cucchiara
c035f4cb4a
* Exposed getConfigPath method in order to use custom struts.xml file.
...
* Renamed JUnitTestAction
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1157925 13f79535-47bb-0310-9956-ffa450edef68
2011-08-15 17:48:07 +00:00
Maurizio Cucchiara
3343161e12
WW-3671 - Two TestAction classes confuse eclipse (sometimes)
...
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1157665 13f79535-47bb-0310-9956-ffa450edef68
2011-08-14 20:57:58 +00:00