Commit Graph

5251 Commits

Author SHA1 Message Date
Yasser Zamani 9b892cc7fd Merge pull request #206 from lukaszlenart/scan-deeper
WW-4912: scan package-info and class at the same time
2018-01-30 13:17:09 +03:30
Lukasz Lenart 74460831dc Merge pull request #1 from yasserzamani/scan-deeper
Scan even deeper :)
2018-01-30 10:08:11 +01:00
Yasser Zamani 8d4194bbf7 allow duplicate in AnnotationUtils.findAnnotations result
See also WW-4912
2018-01-30 12:21:33 +03:30
Yasser Zamani cf71e0f34f add support finding annotations on interfaces and their packages
See also WW-4912
2018-01-30 11:35:16 +03:30
Yasser Zamani 97012c78a9 Merge pull request #189 from lukaszlenart/upgrade-spring
WW-4899: upgrade Spring
2018-01-30 10:47:04 +03:30
zalsaeed f34cf78ae3 Initial test dedicated for the DefaultUnknownHandlerManager (#205)
* Initial test dedicated for the DefaultUnknownHandlerManager

* fixed the licensing and authore comments issues that causes build to fail

* follow good practice when initializing objects

* use TestCase to enhance performance
2018-01-29 12:39:18 +03:30
Lukasz Lenart 72058bf4c6 Reverts findAnnotation to its previous state 2018-01-29 09:04:03 +01:00
Lukasz Lenart 46462b3d00 Rephrases JavaDoc to better express function's meaning 2018-01-29 08:51:17 +01:00
Lukasz Lenart a9899b6622 Introduces new method find all annotations 2018-01-26 11:47:10 +01:00
Lukasz Lenart a3180e3069 Adds test to cover searching down the hierarchy 2018-01-25 12:28:09 +01:00
Lukasz Lenart d5926b7a21 Searches hierarchy down to Object class for annotation 2018-01-25 12:27:54 +01:00
Yasser Zamani 9beb940136 Merge pull request #201 from HedjuHor/WW-4891
WW-4891 Debug tag should not display anything when not in dev mode
2018-01-20 09:39:32 +03:30
Hedju Hor 17b598433d WW-4891 PrepareOperations overrideDevMode for explicitly switch on for this action only 2018-01-18 23:10:25 +01:00
Lukasz Lenart 86baf21098 Merge pull request #203 from yasserzamani/init_test_scopes
add tests for initializable to cover more scopes
2018-01-17 10:28:47 +01:00
Yasser Zamani bba17b6496 add tests for initializable to cover more scopes 2018-01-16 14:23:41 +03:30
Yasser Zamani c3b85aef7c Merge pull request #202 from lukaszlenart/limitable-extendable
WW-4909: Renames a constant and adds a test
2018-01-16 10:49:16 +03:30
Lukasz Lenart 355e4b517f Adds additional test to cover deprecated option 2018-01-15 18:00:42 +01:00
Lukasz Lenart 1ec1e71d41 Adds test to cover the new constant 2018-01-15 17:32:34 +01:00
Lukasz Lenart e23197ab1b Uses the new constant and makes an old one deprecated 2018-01-15 17:32:24 +01:00
Lukasz Lenart c21fb94921 Defines a new constant to limit collection auto growth 2018-01-15 17:31:26 +01:00
Lukasz Lenart 9bf89f82dc Merge pull request #200 from HedjuHor/BeanValidation_GroupingConstraints
WW-4907 support JSR 303 Validation Groups in BeanValidation-Plugin
2018-01-15 12:38:27 +01:00
Lukasz Lenart 29e1847f64 Merge pull request #199 from yasserzamani/WW-4906
fix conversion by annotation and WW-4906
2018-01-15 11:50:46 +01:00
Hedju Hor 02b61b2c05 WW-4891 Debug tag should not display anything when not in dev mode 2018-01-14 15:54:41 +01:00
Hedju Hor d1df216b32 change default behavior 2018-01-13 10:59:06 +01:00
Hedju Hor 7518e809dd fixed
getValidationGroups get called if not skipped Validation
removed unnecessary LOG.isDebugEnabled()
2018-01-12 18:36:08 +01:00
Hedju Hor 2b2de35519 Revert "fixed some Logger calls. Hint:https://logging.apache.org/log4j/2.0/manual/api.html"
This reverts commit 87b2bd8
2018-01-12 18:26:27 +01:00
Hedju Hor 87b2bd8138 fixed some Logger calls.
Hint:https://logging.apache.org/log4j/2.0/manual/api.html
2018-01-11 21:04:22 +01:00
Hedju Hor 215eb627d4 refactoring ValidateGroup -> ValidationGroup 2018-01-11 19:47:14 +01:00
Yasser Zamani 29b29a9c64 Merge pull request #196 from lukaszlenart/init-like-a-boss
WW-4905: Allows Initializable interface on implementing class instead of interface
2018-01-10 12:09:14 +03:30
Yasser Zamani 5e237e0fd3 fix and add test for lazy and early initialization of prototypes 2018-01-09 21:39:34 +03:30
Lukasz Lenart 23077d3ee9 Loads classes in advance 2018-01-09 16:02:33 +01:00
Lukasz Lenart 4fbded7147 Fixes test to run under JDK8 2018-01-09 15:39:10 +01:00
Lukasz Lenart f9f0f36d29 Increases class visibility 2018-01-09 14:25:13 +01:00
Lukasz Lenart f60095bae9 Fixes failing tests 2018-01-09 13:53:45 +01:00
Lukasz Lenart e4a3669061 Moves wrapping factories into Scope 2018-01-09 13:50:57 +01:00
Hedju Hor 5e4b385984 support Constraints Group in BeanValidation-Plugin 2018-01-09 12:58:42 +01:00
Yasser Zamani 38450c9a70 improve tests for lazy and early initialization 2018-01-09 11:34:58 +03:30
Yasser Zamani df4a18107f add tests for lazy and early initialization 2018-01-08 14:42:03 +03:30
Yasser Zamani 9739291d79 change tests to cover more
Note: Also will delete CLASS from annotation type because it is already the default value
2018-01-07 17:15:36 +03:30
Yasser Zamani 4394238b7e un-deprecate TypeConversion.converter plus some improvements
See WW-4906
2018-01-07 15:49:33 +03:30
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
Lukasz Lenart 67bdf68419 Normalises name of property with Spring version 2018-01-06 10:13:59 +01:00
Lukasz Lenart cf19d5130c Adds missing test dependency 2018-01-06 09:07:16 +01:00
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