Commit Graph

5194 Commits

Author SHA1 Message Date
Yasser Zamani ff903e7754 add tests if conversion can get annotation from supers 2018-01-07 13:36:31 +03:30
Yasser Zamani 77cbafb74d fix conversion by annotation 2018-01-07 12:48:28 +03:30
Yasser Zamani faf50183e0 add conversion by annotation missing tests 2018-01-07 12:34:55 +03:30
Stefaan Dutry a66f92c66d Merge pull request #198 from sdutry/formatting-changes
add tests to UIBean class
2018-01-05 20:25:24 +01:00
Stefaan Dutry 08c058ea65 add test for setStyle method
Verified that the value is added as the cssStyle parameter.
2018-01-05 18:32:32 +01:00
Stefaan Dutry cd0773fb1b add test for setClass method
Verified that the value is added as the cssClass parameter.
2018-01-05 18:24:19 +01:00
Lukasz Lenart f803ddb16e Merge pull request #197 from sdutry/formatting-changes
Minor Formatting changes
2018-01-05 18:08:41 +01:00
Stefaan Dutry 0deea3f9e4 remove old subversion comments 2018-01-05 17:28:47 +01:00
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