|
t/args.t
|
- 1..17
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 7 tests
- ok 4 - template text 1 processed OK: [% args(a b c) %]
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% args(a b c d=e f=g) %]
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% args(a, b, c, d=e, f=g) %]
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% args(a, b, c, d=e, f=g,) %]
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% args(d=e, a, b, f=g, c) %]
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% obj.foo(d=e, a, b, f=g, c) %]
- ok 15 - template text 6 matched expected
- ok 16 - template text 7 processed OK: [% obj.foo(d=e, a, b, f=g, c).sp...
- ok 17 - template text 7 matched expected
|
0.21s |
100.0% |
|
t/autoform.t
|
- 1..0 # skipped: Text::Autoformat module not installed
|
1.13s |
n/a |
|
t/base.t
|
- 1..24
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5
- ok 6
- ok 7
- ok 8
- ok 9
- ok 10
- ok 11
- ok 12
- ok 13
- ok 14
- ok 15
- ok 16
- ok 17
- ok 18
- ok 19
- ok 20
- ok 21
- ok 22 - package version
- ok 23 - created a version object
- ok 24 - object version
|
0.17s |
100.0% |
|
t/binop.t
|
- 1..57
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 27 tests
- ok 4 - template text 1 processed OK: maybe\n[% IF yes %]\nyes\n[% END %]
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% IF yes %]\nyes\n[% ELSE %]\nno \n...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% IF yes %]\nyes\n[% ELSE %]\nno \n...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% IF yes and true %]\nyes\n[% ELS...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% IF yes && true %]\nyes\n[% ELSE...
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% IF yes && sad || happy %]\nyes...
- ok 15 - template text 6 matched expected
- ok 16 - template text 7 processed OK: [% IF yes AND ten && true and tw...
- ok 17 - template text 7 matched expected
- ok 18 - template text 8 processed OK: [% IF ! yes %]\nno\n[% ELSE %]\nyes...
- ok 19 - template text 8 matched expected
- ok 20 - template text 9 processed OK: [% UNLESS yes %]\nno\n[% ELSE %]\ny...
- ok 21 - template text 9 matched expected
- ok 22 - template text 10 processed OK: [% "yes" UNLESS no %]
- ok 23 - template text 10 matched expected
- ok 24 - template text 11 processed OK: [% IF ! yes %]\nno\n[% ELSE %]\nyes...
- ok 25 - template text 11 matched expected
- ok 26 - template text 12 processed OK: [% IF yes || no %]\nyes\n[% ELSE %...
- ok 27 - template text 12 matched expected
- ok 28 - template text 13 processed OK: [% IF yes || no || true || false...
- ok 29 - template text 13 matched expected
- ok 30 - template text 14 processed OK: [% IF yes or no %]\nyes\n[% ELSE %...
- ok 31 - template text 14 matched expected
- ok 32 - template text 15 processed OK: [% IF not false and not sad %]\ny...
- ok 33 - template text 15 matched expected
- ok 34 - template text 16 processed OK: [% IF ten == 10 %]\nyes\n[% ELSE %...
- ok 35 - template text 16 matched expected
- ok 36 - template text 17 processed OK: [% IF ten == twenty %]\nI canna b...
- ok 37 - template text 17 matched expected
- ok 38 - template text 18 processed OK: [% IF ten >= twenty or false %]\n...
- ok 39 - template text 18 matched expected
- ok 40 - template text 19 processed OK: [% IF ten >= twenty or false %]\n...
- ok 41 - template text 19 matched expected
- ok 42 - template text 20 processed OK: [% IF ten > twenty %]\nno\n[% ELSI...
- ok 43 - template text 20 matched expected
- ok 44 - template text 21 processed OK: [% IF ten != 10 %]\nno\n[% ELSIF t...
- ok 45 - template text 21 matched expected
- ok 46 - template text 22 processed OK: [% IF alpha AND omega %]\nalpha a...
- ok 47 - template text 22 matched expected
- ok 48 - template text 23 processed OK: [% IF omega AND alpha %]\nomega a...
- ok 49 - template text 23 matched expected
- ok 50 - template text 24 processed OK: [% IF alpha OR omega %]\nalpha an...
- ok 51 - template text 24 matched expected
- ok 52 - template text 25 processed OK: [% IF omega OR alpha %]\nalpha an...
- ok 53 - template text 25 matched expected
- ok 54 - template text 26 processed OK: [% small = 5\n mid = 7\n big...
- ok 55 - template text 26 matched expected
- ok 56 - template text 27 processed OK: [% 10 mod 4 +%] [% 10 MOD 4 +%]\n...
- ok 57 - template text 27 matched expected
|
0.73s |
100.0% |
|
t/block.t
|
- 1..17
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 7 tests
- ok 4 - template text 1 processed OK: [% BLOCK block1 %]\nThis is the o...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% BLOCK block1 %]\nThis is the o...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% INCLUDE block_a +%]\n[% INCLUD...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% INCLUDE header \n title = 'A...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% BLOCK foo:bar %]\nblah\n[% END ...
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% BLOCK 'hello html' -%]\nHello ...
- ok 15 - template text 6 matched expected
- ok 16 - template text 7 processed OK: <[% INCLUDE foo %]>\n[% BLOCK foo...
- ok 17 - template text 7 matched expected
|
0.59s |
100.0% |
|
t/blocks.t
|
- 1..15
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 6 tests
- ok 4 - template text 1 processed OK: [% TRY; INCLUDE blockdef/block1;...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% INCLUDE blockdef/block1 %]
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% INCLUDE blockdef/block1 a='am...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% TRY; INCLUDE blockdef/none; C...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% INCLUDE "$dir/blockdef/block1...
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% BLOCK one -%]\nblock one\n[% BL...
- ok 15 - template text 6 matched expected
|
0.51s |
100.0% |
|
t/capture.t
|
- 1..13
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 5 tests
- ok 4 - template text 1 processed OK: [% BLOCK foo %]\nThis is block fo...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% d = BLOCK %]\nThis is the bloc...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% e = IF a == 'alpha' %]\na is [...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% a = FOREACH b = [1 2 3] %]\n[%...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% BLOCK userinfo %]\nname: [% us...
- ok 13 - template text 5 matched expected
|
0.34s |
100.0% |
|
t/case.t
|
- 1..16
- ok 1
- ok 2 - running test_expect()
- ok 3 - template processor is engaged
- ok 4 - input read and split into 6 tests
- ok 5 - template text 1 processed OK: [% include = a %]\n[% for = b %]\n...
- ok 6 - template text 1 matched expected
- ok 7 - template text 2 processed OK: [% IF a AND b %]\ngood\n[% ELSE %]...
- ok 8 - template text 2 matched expected
- ok 9 - template text 3 processed OK: [% IF a and b %]\ngood\n[% ELSE %]...
- ok 10 - template text 3 matched expected
- ok 11 - template text 4 processed OK: [% include = a %]\n[% include %]
- ok 12 - template text 4 matched expected
- ok 13 - template text 5 processed OK: [% include foo bar='baz' %]\n[% B...
- ok 14 - template text 5 matched expected
- ok 15 - template text 6 processed OK: [% 10 div 3 %] [% 10 DIV 3 +%]\n[...
- ok 16 - template text 6 matched expected
|
0.35s |
100.0% |
|
t/cgi.t
|
- 1..15
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 6 tests
- ok 4 - template text 1 processed OK: [% USE cgi = CGI('id=abw&name=An...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: name: [% global.cgi.param('name'...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% FOREACH key = global.cgi.para...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% FOREACH key = global.cgi.para...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% FOREACH x = global.cgi.checkb...
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% USE cgi('item=foo&items=one&i...
- ok 15 - template text 6 matched expected
|
0.54s |
100.0% |
|
t/chomp.t
|
- 1..68
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5
- ok 6
- ok 7
- ok 8
- ok 9
- ok 10
- ok 11
- ok 12
- ok 13
- ok 14
- ok 15
- ok 16
- ok 17
- ok 18
- ok 19
- ok 20
- ok 21
- ok 22
- ok 23
- ok 24
- ok 25
- ok 26
- ok 27
- ok 28
- ok 29
- ok 30
- ok 31
- ok 32
- ok 33
- ok 34
- ok 35
- ok 36
- ok 37
- ok 38 - running test_expect()
- ok 39 - template processor is engaged
- ok 40 - input read and split into 14 tests
- ok 41 - template text 1 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 42 - template text 1 matched expected
- ok 43 - template text 2 processed OK:
- ok 44 - template text 2 matched expected
- ok 45 - template text 3 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 46 - template text 3 matched expected
- ok 47 - template text 4 processed OK:
- ok 48 - template text 4 matched expected
- ok 49 - template text 5 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 50 - template text 5 matched expected
- ok 51 - template text 6 processed OK:
- ok 52 - template text 6 matched expected
- ok 53 - template text 7 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 54 - template text 7 matched expected
- ok 55 - template text 8 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 56 - template text 8 matched expected
- ok 57 - template text 9 processed OK:
- ok 58 - template text 9 matched expected
- ok 59 - template text 10 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 60 - template text 10 matched expected
- ok 61 - template text 11 processed OK:
- ok 62 - template text 11 matched expected
- ok 63 - template text 12 processed OK: begin[% a = 10; b = 20 %]\n [...
- ok 64 - template text 12 matched expected
- ok 65 - template text 13 processed OK:
- ok 66 - template text 13 matched expected
- ok 67 - template text 14 processed OK: begin[% a = 10; b = 20 %] \n[...
- ok 68 - template text 14 matched expected
|
0.50s |
100.0% |
|
t/compile1.t
|
- 1..15
- ok 1
- ok 2
- ok 3 - running test_expect()
- ok 4 - template processor is engaged
- ok 5 - input read and split into 4 tests
- ok 6 - template text 1 processed OK: [% INCLUDE evalperl %]
- ok 7 - template text 1 matched expected
- ok 8 - template text 2 processed OK: [% TRY %]\n[% INCLUDE foo %]\n[% C...
- ok 9 - template text 2 matched expected
- ok 10 - template text 3 processed OK: [% META author => 'abw' version ...
- ok 11 - template text 3 matched expected
- ok 12 - template text 4 processed OK: [% INCLUDE baz %]
- ok 13 - template text 4 matched expected
- ok 14
- ok 15
|
0.50s |
100.0% |
|
t/compile2.t
|
- 1..13
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5 - running test_expect()
- ok 6 - template processor is engaged
- ok 7 - input read and split into 3 tests
- ok 8 - template text 1 processed OK: [% INCLUDE foo a = 'any value' %...
- ok 9 - template text 1 matched expected
- ok 10 - template text 2 processed OK: [% META author => 'billg' versio...
- ok 11 - template text 2 matched expected
- ok 12 - template text 3 processed OK: [% META author => 'billg' versio...
- ok 13 - template text 3 matched expected
|
0.42s |
100.0% |
|
t/compile3.t
|
- 1..13
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5
- ok 6 - running test_expect()
- ok 7 - template processor is engaged
- ok 8 - input read and split into 2 tests
- ok 9 - template text 1 processed OK: [% META author => 'albert' versi...
- ok 10 - template text 1 matched expected
- ok 11 - template text 2 processed OK: [%# we want to break 'compile' t...
- ok 12 - template text 2 matched expected
- ok 13
|
6.48s |
100.0% |
|
t/compile4.t
|
- 1..11
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 4 tests
- ok 4 - template text 1 processed OK: [% TRY %]\n[% INCLUDE foo %]\n[% C...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% META author => 'abw' version ...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% TRY %]\n[% INCLUDE bar/baz wor...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% INCLUDE "$root/src/blam" %]
- ok 11 - template text 4 matched expected
|
0.58s |
100.0% |
|
t/compile5.t
|
- 1..12
- ok 1
- ok 2
- ok 3
- ok 4 - running test_expect()
- ok 5 - template processor is engaged
- ok 6 - input read and split into 3 tests
- ok 7 - template text 1 processed OK: [% INCLUDE foo a = 'any value' %...
- ok 8 - template text 1 matched expected
- ok 9 - template text 2 processed OK: [% META author => 'billg' versio...
- ok 10 - template text 2 matched expected
- ok 11 - template text 3 processed OK: [% INCLUDE "$root/src/blam" %]
- ok 12 - template text 3 matched expected
|
0.42s |
100.0% |
|
t/config.t
|
- 1..44
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5
- ok 6
- ok 7
- ok 8
- ok 9
- ok 10
- ok 11
- ok 12
- ok 13
- ok 14
- ok 15
- ok 16
- ok 17
- ok 18
- ok 19
- ok 20
- ok 21
- ok 22
- ok 23
- ok 24
- ok 25
- ok 26
- ok 27
- ok 28
- ok 29
- ok 30
- ok 31
- ok 32
- ok 33
- ok 34
- ok 35
- ok 36
- ok 37
- ok 38
- ok 39
- ok 40
- ok 41
- ok 42
- ok 43
- ok 44
|
0.32s |
100.0% |
|
t/constants.t
|
- 1..41
- ok 1 - created constants namespace
- ok 2 - author match
- ok 3 - single match
- ok 4 - double match
- ok 5 - col.back match
- ok 6 - col.text match
- ok 7 - created Template::Directive factory
- ok 8 - created Template::Parser parser
- ok 9
- ok 10 - col.back folded
- ok 11 - col.user unfolded
- ok 12 - created Template::Parser parser
- ok 13
- ok 14 - col.back folded
- ok 15 - col.user unfolded
- ok 16 - created tt1
- ok 17 - created tt2
- ok 18 - created tt3
- ok 19 - running test_expect()
- ok 20 - template processor is engaged
- ok 21 - input read and split into 10 tests
- ok 22 - template text 1 processed OK: hello [% const.author %]\n[% "bac...
- ok 23 - template text 1 matched expected
- ok 24 - template text 2 processed OK: [% const.col.keys.sort.join(', '...
- ok 25 - template text 2 matched expected
- ok 26 - template text 3 processed OK: [% const.col.keys.sort.join(cons...
- ok 27 - template text 3 matched expected
- ok 28 - template text 4 processed OK: zero [% const.counter %]\none [% ...
- ok 29 - template text 4 matched expected
- ok 30 - template text 5 processed OK: [% "$constants.author thinks " %...
- ok 31 - template text 5 matched expected
- ok 32 - template text 6 processed OK: [% "$const.author thinks " -%]\n[...
- ok 33 - template text 6 matched expected
- ok 34 - template text 7 processed OK: no [% const.foo %]?
- ok 35 - template text 7 matched expected
- ok 36 - template text 8 processed OK: fave [% const.fave %]\ncol [% co...
- ok 37 - template text 8 matched expected
- ok 38 - defer references processed OK: [% "$key\n" FOREACH key = consta...
- ok 39 - defer references matched expected
- ok 40 - template text 10 processed OK: a: [% const.author %]\nb: [% cons...
- ok 41 - template text 10 matched expected
|
0.42s |
100.0% |
|
t/context.t
|
- 1..54
- ok 1
- ok 2
- ok 3
- ok 4
- ok 5
- ok 6
- ok 7
- ok 8
- ok 9
- ok 10
- ok 11
- ok 12
- ok 13
- ok 14
- ok 15
- ok 16
- ok 17
- ok 18
- ok 19
- ok 20
- ok 21
- ok 22
- ok 23
- ok 24
- ok 25
- ok 26
- ok 27
- ok 28
- ok 29
- ok 30
- ok 31
- ok 32
- ok 33
- ok 34
- ok 35
- ok 36
- ok 37
- ok 38
- ok 39
- ok 40
- ok 41
- ok 42
- ok 43
- ok 44
- ok 45
- ok 46
- ok 47
- ok 48
- ok 49
- ok 50
- ok 51
- ok 52
- ok 53
- ok 54
|
0.38s |
100.0% |
|
t/datafile.t
|
- 1..9
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 3 tests
- ok 4 - template text 1 processed OK: [% USE userlist = datafile(dataf...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% USE userlist = datafile(dataf...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% USE userlist = datafile(dataf...
- ok 9 - template text 3 matched expected
|
0.32s |
100.0% |
|
t/date.t
|
- 1..33
- ok 1 - running test_expect()
- ok 2 - template processor is engaged
- ok 3 - input read and split into 15 tests
- ok 4 - template text 1 processed OK: [% USE date %]\nLet's hope the ye...
- ok 5 - template text 1 matched expected
- ok 6 - template text 2 processed OK: [% USE date(time => time) %]\ndef...
- ok 7 - template text 2 matched expected
- ok 8 - template text 3 processed OK: [% USE date(time => time) %]\n[% ...
- ok 9 - template text 3 matched expected
- ok 10 - template text 4 processed OK: [% USE date(time => time, format...
- ok 11 - template text 4 matched expected
- ok 12 - template text 5 processed OK: [% USE date(format = format.date...
- ok 13 - template text 5 matched expected
- ok 14 - template text 6 processed OK: [% USE date(format = format.date...
- ok 15 - template text 6 matched expected
- ok 16 - template text 7 processed OK: [% USE date(format = format.date...
- ok 17 - template text 7 matched expected
- ok 18 - template text 8 processed OK: [% USE english = date(format => ...
- ok 19 - template text 8 matched expected
- ok 20 - template text 9 processed OK: [% USE english = date(format => ...
- ok 21 - template text 9 matched expected
- ok 22 - template text 10 processed OK: [% USE date %]\n[% date.format('4...
- ok 23 - template text 10 matched expected
- ok 24 - September 13th 20
|