aboutsummaryrefslogtreecommitdiff
path: root/velocity-engine-core/src/test/resources/templates/compare/reference.cmp
blob: da0e414ae5753bd8062d22d3eda68fb99d5108fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75


bar
   $_foo equals "bar" : bar

Late introspection :

7


More stupid reference escaping ...

When it does exist in the context :

foo
$foo
$!foo
$!foo
$\!foo
\$!foo

And when it doesn't :

$bar
\$bar

\$!bar  (because it's just text...)

$!foo
$\!foo
$\\!foo
$\\\!foo
\\$!foo

Misc tests :

[$foo.bar]


Test lower case property names 

lunatic
lunatic

 vector element 1
 vector element 2
 vector element 1
 vector element 2

Now test if we can use lowercase for propertes in set
Was : lunatic
Now : geir
Back : lunatic

Test what was a bug :

boycat.java
boycat.java


More tests :

lunatic
$lunatic
#lunatic

$foo.bar ($bar) 

Test boolean introspection isFoo()

  Correct


   Correct