Rewrite TemplateTest so it works with Velocity v1.7 and v2.x.
There are two aspects to this. First, some APIs have changed, so we recode the test to avoid those APIs. Second, some behaviour has changed in v2.x, and some new bugs have been introduced. For now, we just avoid testing those areas if we detect we are using v2.x. Later we may have a v2.x compatibility mode for at least some of these behaviour changes.
Rewrite
TemplateTest
so it works with Velocity v1.7 and v2.x.There are two aspects to this. First, some APIs have changed, so we recode the test to avoid those APIs. Second, some behaviour has changed in v2.x, and some new bugs have been introduced. For now, we just avoid testing those areas if we detect we are using v2.x. Later we may have a v2.x compatibility mode for at least some of these behaviour changes.
RELNOTES=n/a