aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test
AgeCommit message (Collapse)Author
2021-04-27add the ability to override defaultEncodinggndrm
2021-03-03Fix references alternate values implementation, with some more test casesClaude Brisson
2021-03-02Fixes failing tests on JDK 11+Henning Schmiedehausen
Some brittle code tests the messages of exceptions etc. in the tests which have changed in JDK11+ Tested with OpenJDK 11 and OpenJDK 15.
2021-02-27[engine] Fix VELOCITY-927Claude Brisson
2021-02-25Merge feature/fix-some-genericsClaude Brisson
2021-02-25Remove unused test methodsClaude Brisson
2021-02-25Merge pull request #16 from wglasshusain/VELOCITY-931-update-secure-classlistClaude Brisson
Velocity 931 update secure classlist
2021-02-25A lot of almost purely cosmetic code cleanupsClaude Brisson
2020-11-23Add .travis.yml for testing the PRs at ↵Martin Tzvetanov Grigorov
https://travis-ci.com/apache/velocity-engine
2020-08-05add further tomcat class to restricted listWill Glass-Husain
2020-07-16update list of restricted classesWill Glass-Husain
2020-07-16tests for SecureIntrospectionWill Glass-Husain
2020-07-16whitespaceWill Glass-Husain
2020-07-16disallow ClassLoader, Thread, and subclasses.Will Glass-Husain
2020-01-28[engine] Review VELOCITY-926 fix:Claude Brisson
deprecate velocimacro.arguments.preserve_literals in favor of the new velocimacro.enable_bc_mode flag, which mimics 1.7 velocimacro behavior: - preserve arguments literals: #macro(m $arg) $arg #end m($null) will displays $arg w/o bc mode and $null with bc mode - use global defaults for missing arguments: #macro(m $foo) $foo #end #set($foo='foo') #m() will display $foo w/o bc mode and 'foo' with bc mode The following use cases have been left aside from backward compatibility: - preserving local macro scope values #macro(test) #set($foo = 'foo') $some_tool.change_foo_value_in_global_context_to_bar() $foo #end #test() will always display 'bar', while 1.7 displayed 'foo' - setting a null argument to null, while argument name exists in context, #macro(setnull $foo) #set($foo = $null) #end #set($foo='foo') #setnull($null) $foo Will always display 'foo' (w or w/o bc mode), while 1.7 did display $foo git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873244 13f79535-47bb-0310-9956-ffa450edef68
2020-01-24[engine][VELOCITY-925] Fix BC whitespace gobbling for macro call without ↵Claude Brisson
parentheses git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873088 13f79535-47bb-0310-9956-ffa450edef68
2020-01-23[engine] Fix VELOCITY-926Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1873069 13f79535-47bb-0310-9956-ffa450edef68
2020-01-07[engine] Fix VELOCITY-924 - cache collision between an object and its classClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872422 13f79535-47bb-0310-9956-ffa450edef68
2020-01-01[engine] Fix another VELOCITY-904 regressionClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872211 13f79535-47bb-0310-9956-ffa450edef68
2019-12-28[engine] Fix VELOCITY-904 againClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1872050 13f79535-47bb-0310-9956-ffa450edef68
2019-12-13[engine][VELOCITY-904] Handle nested macro calls in ↵Claude Brisson
'velocimacro.arguments.preserve_literals' backward compatibility mode git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1871332 13f79535-47bb-0310-9956-ffa450edef68
2019-12-05[core] Fix VELOCITY-904: preserve argument literal *even* if the argument ↵Claude Brisson
passed to the macro is not null (for .B.C) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870882 13f79535-47bb-0310-9956-ffa450edef68
2019-12-03[core] Added implicit conversions from/to BigInteger and BigDecimalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870761 13f79535-47bb-0310-9956-ffa450edef68
2019-11-30[core] Use devoted File Separator control character for parser end of ↵Claude Brisson
template processing git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1870626 13f79535-47bb-0310-9956-ffa450edef68
2019-09-02[VELOCITY-919] Fix zero-width whitespace handlingClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1866291 13f79535-47bb-0310-9956-ffa450edef68
2019-06-12[engine][VELOCITY-917] Merge changes from trunkClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1861084 13f79535-47bb-0310-9956-ffa450edef68
2019-06-05[engine][VELOCITY-915] Add new backward compatibility flags to mimic 1.7 ↵Claude Brisson
behavior for invalid references event handlers git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1860691 13f79535-47bb-0310-9956-ffa450edef68
2019-05-31[engine][VELOCITY-917] Preliminary work for VTL chars config: parametrize ↵Claude Brisson
code using target chars git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/parser_experiments@1860461 13f79535-47bb-0310-9956-ffa450edef68
2019-04-16[engine] Fix VELOCITY-912 : hyphen in identifiers for subpropertiesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1857633 13f79535-47bb-0310-9956-ffa450edef68
2019-03-15[engine] Remove all instances of LogChute in the javadocsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1855594 13f79535-47bb-0310-9956-ffa450edef68
2019-03-10[engine][VELOCITY-909] Fix failing testcaseClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855151 13f79535-47bb-0310-9956-ffa450edef68
2019-03-10[engine][VELOCITY-909] Remove all references to old property ↵Claude Brisson
directive.set.null.allowed (removed in 2.0) git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1855147 13f79535-47bb-0310-9956-ffa450edef68
2019-03-06[engine] configuration key names refactoring proposalClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-909@1854947 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Don't mix hyphens with dashes ; use '_' for word separator in ↵Claude Brisson
corresponding property name git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854737 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Fix another test case for last commitClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854699 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Rendering of arrays should display their content ('[3, 4, 5]' ↵Claude Brisson
rather than '[I@15db9742') git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854697 13f79535-47bb-0310-9956-ffa450edef68
2019-03-03[engine] Invalid method calls should definitely be logged - but not in ↵Claude Brisson
ConversionHandler conversions tests git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854696 13f79535-47bb-0310-9956-ffa450edef68
2019-03-02[engine] Enhance space gobbling LINES mode: keep ending newline after ↵Claude Brisson
directives wich don't start after a newline git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854662 13f79535-47bb-0310-9956-ffa450edef68
2019-02-26[engine] Fix unary negateClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854404 13f79535-47bb-0310-9956-ffa450edef68
2019-02-26[engine] Merge branch VELOCITY-892Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1854386 13f79535-47bb-0310-9956-ffa450edef68
2019-02-22[VELOCITY-892] Allow user to specity an instance of a conversion handlerClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1854180 13f79535-47bb-0310-9956-ffa450edef68
2019-02-16[VELOCITY-908] Initialization failure on Windows with Turkish localeMichael Osipov
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1853730 13f79535-47bb-0310-9956-ffa450edef68
2018-11-26[engine] Add String -> Locale in provided default explicit conversionsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1847458 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01[engine] Bugfix for alternate valuesClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1845457 13f79535-47bb-0310-9956-ffa450edef68
2018-11-01[engine] Default values bugfix in parser for numeric literalsClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1845429 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Better handling of methods disambiguisationClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844155 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Conversions towards types doneClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844123 13f79535-47bb-0310-9956-ffa450edef68
2018-10-17[VELOCITY-892] Handling conversions towards Type (work in progress)Claude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/branches/VELOCITY-892@1844087 13f79535-47bb-0310-9956-ffa450edef68
2018-10-15[VELOCITY-904] Added velocimacro.preserve.arguments.literals boolean flag ↵Claude Brisson
(false by default) - if true, when printing null arguments, the macros will use the provided arguments literals git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843909 13f79535-47bb-0310-9956-ffa450edef68
2018-10-15[engine] Revert unintended changeClaude Brisson
git-svn-id: https://svn.apache.org/repos/asf/velocity/engine/trunk@1843897 13f79535-47bb-0310-9956-ffa450edef68