Commit Graph

5186 Commits

Author SHA1 Message Date
Stefaan Dutry 2fd2cb5f97 add test for parameter with name "value"
Verified that the value parameter is added as the nameValue parameter.
2018-01-04 23:20:45 +01:00
Stefaan Dutry 7df1e67bac add test for setting acceskey
Verified that the value is added to the parameters after they have
been evaluated.
2018-01-04 23:08:12 +01:00
Stefaan Dutry dd76d39224 add tests for getTemplateDir method
Verified that:
- explicit templateDirectory gets precedence
- attribute templateDir gets picked if no explitit one is given
- defaultTemplateDirectory gets picked if there is no explicit one and
    an attribute templateDid
- "template" is returned as default value
2018-01-04 19:39:48 +01:00
Stefaan Dutry 476697f99a add test for buildTemplateName method
Verified that:
- default template name gets picked when no specific one is given
- specific template gets precedence over default one
2018-01-04 18:39:48 +01:00
Stefaan Dutry 0bfdc5e643 add test for mergeTemplate method
Test that a ConfigurationException is thrown when the
TemplateEngineManager returns null instead of a TemplateEngine
instance.
2018-01-04 16:32:21 +01:00
Stefaan Dutry a29051c835 add missing @Override annotation 2018-01-03 22:59:52 +01:00
Stefaan Dutry 7a251ddca9 add curly brackets (formatting)
- add curly brackets around single line conditional statements
2018-01-03 22:53:02 +01:00
Stefaan Dutry 38e3734930 change tabs into spaces (formatting) 2018-01-03 22:50:23 +01:00
Stefaan Dutry fe65910e0e change tabs into spaces (formatting) 2018-01-03 22:44:07 +01:00
Stefaan Dutry 1d0b375afd add curly brackets (formatting)
- add curly brackets around single line conditional statements
- place finally statement on same line as closing catch bracket
2018-01-03 22:26:36 +01:00
Stefaan Dutry 0713da431c add missing @Override annotations 2018-01-03 22:15:54 +01:00
Stefaan Dutry 79951db2aa change tabs into spaces (formatting) 2018-01-03 22:14:07 +01:00
Yasser Zamani 8eb282f76b Merge pull request #195 from lukaszlenart/fix-prefix-based-factory
WW-4903: fixes PrefixBasedActionProxyFactory
2018-01-01 17:30:05 +03:30
Lukasz Lenart eabf4eda21 Verifies licenses before building a package 2018-01-01 10:15:03 +01:00
Lukasz Lenart 809d8968ca WW-4903 Adds missing header with license 2018-01-01 09:52:31 +01:00
Lukasz Lenart 033573e8fb WW-4903 Reverts to previous initialise mechanism 2018-01-01 09:50:53 +01:00
Lukasz Lenart 7cdc319b41 WW-4903 Extends test of empty prefix 2017-12-31 15:36:59 +01:00
Lukasz Lenart 7116ac8801 WW-4903 Uses StrutsActionProxyFactory as a default factory 2017-12-28 17:35:27 +01:00
Lukasz Lenart a2710a6f04 WW-4903 Covers fallback to default factory with unit test 2017-12-28 17:34:28 +01:00
Lukasz Lenart 457f7c2f57 WW-4903 Adds a unit test to cover the new functionality 2017-12-28 16:56:30 +01:00
Lukasz Lenart 6fc695970f WW-4903 Uses Initializable to properly initialise the factory 2017-12-28 16:56:09 +01:00
Lukasz Lenart 15e6be1d66 WW-4903 Drops injecting defined factory to avoid mapping exception 2017-12-28 16:24:48 +01:00
Lukasz Lenart eddab32e75 Merge pull request #194 from sdutry/sonar/string-optimize-single-characters
used char instead of a single character string
2017-12-21 07:29:48 +01:00
Stefaan Dutry fb23b719f2 used char instead of a single character string 2017-12-20 22:08:33 +01:00
Lukasz Lenart c4bd87e510 Merge pull request #193 from yasserzamani/defaultActionInvocation_coverage
Increases the coverage of DefaultActionInvocation
2017-12-18 08:24:40 +01:00
Yasser Zamani 004b4981a1 Increases the coverage of DefaultActionInvocation 2017-12-16 19:57:39 +03:30
Lukasz Lenart 8b608e334a Merge pull request #192 from yasserzamani/WW-4873_2
WW-4873 Makes ActionInvocation not serializable and InvocationSessionStore$InvocationContext transient
2017-12-16 10:44:52 +01:00
Lukasz Lenart 031bd1aceb Adds empty line to kick Travis build 2017-12-16 09:07:49 +01:00
Lukasz Lenart 9078422496 Adds cache to speed up build on Travis 2017-12-16 08:50:11 +01:00
Lukasz Lenart 278a2112b9 Merge pull request #190 from yasserzamani/WW-4901
WW-4901 Decouples from URL.openConnection implementation of container
2017-12-14 09:18:28 +01:00
Yasser Zamani 2941416a18 WW-4873 Makes InvocationSessionStore$InvocationContext transient 2017-12-14 11:05:05 +03:30
Yasser Zamani 4738d1d802 WW-4873 Makes ActionInvocation not serializable 2017-12-13 19:34:54 +03:30
Lukasz Lenart d4b620d06d Merge pull request #191 from yasserzamani/WW-4900
WW-4900 Makes BackgroundProcess transient
2017-12-13 14:30:25 +01:00
Lukasz Lenart cf8ba17454 Kicks Coveralls to build on master 2017-12-13 13:40:28 +01:00
Yasser Zamani a8ecd9bd29 WW-4900 Fixes BackgroundProcessTest via synchronization 2017-12-13 14:58:54 +03:30
Yasser Zamani 6b131550a6 WW-4900 Reverts BackgroundProcess access modifiers 2017-12-13 13:11:35 +03:30
Yasser Zamani dda3facc26 WW-4900 Makes BackgroundProcess transient 2017-12-13 12:41:22 +03:30
Yasser Zamani d082aaca2a WW-4901 Falls back if JarURLConnection was present already 2017-12-12 16:24:17 +03:30
Yasser Zamani 94758b699c WW-4901 Decouples Struts from URL.openConnection implementation of container 2017-12-12 00:26:44 +03:30
Stefaan Dutry 80698ed516 Merge pull request #186 from sdutry/sonar-entrySet
changed Map iterations to use entrySet when both key and value are used
2017-12-01 20:46:00 +01:00
Lukasz Lenart 9b9bd212ed [maven-release-plugin] prepare for next development iteration 2017-11-29 08:35:58 +01:00
Lukasz Lenart 0856157e27 [maven-release-plugin] prepare release STRUTS_2_5_14_1 STRUTS_2_5_14_1 2017-11-29 08:35:37 +01:00
Lukasz Lenart bea5537e9e Fixes issue with accessing the Central
relates to https://github.com/jeremylong/DependencyCheck/issues/978
2017-11-28 09:36:21 +01:00
Lukasz Lenart 7c7d5be441 Merge pull request #187 from lukaszlenart/jackson-5
WW-4892 WW-4893: Use Jackson to handle JSON request
2017-11-28 08:15:13 +01:00
Lukasz Lenart a728c74f21 Merge pull request #183 from lukaszlenart/pimp-my-struts
Pimp my struts
2017-11-28 08:14:40 +01:00
Lukasz Lenart 76d0bc5ff4 Adds support to generate a report with outdated dependencies 2017-11-27 15:47:35 +01:00
Lukasz Lenart ad98881dd5 Adds support for UpdateImpact 2017-11-27 15:38:22 +01:00
Lukasz Lenart 0207c09b11 Adds missing license header 2017-11-27 10:28:14 +01:00
Lukasz Lenart 5ef7687259 Suppresses some false positives on OWASP Dependency Check 2017-11-27 08:19:15 +01:00
Lukasz Lenart 794cd5e141 WW-4892 Marks handler as deprecated 2017-11-17 09:34:22 +01:00