Mercurial > pub > site.implab
comparison tests/test_ttfs.pl @ 2:a7a3e4f626ff
sync
author | sergey |
---|---|
date | Wed, 07 May 2014 12:35:55 +0400 |
parents | f1ce08199a08 |
children |
comparison
equal
deleted
inserted
replaced
1:f1ce08199a08 | 2:a7a3e4f626ff |
---|---|
10 }; | 10 }; |
11 | 11 |
12 | 12 |
13 my $selector = TTSelector->new( | 13 my $selector = TTSelector->new( |
14 isContainer => 1, | 14 isContainer => 1, |
15 ext => '.tt', | 15 ext => 'tt', |
16 path => IMPL::Config->AppDir('view','site') | 16 path => IMPL::Config->AppDir('view','site') |
17 ); | 17 ); |
18 | 18 |
19 my $match = $selector->MatchPath( | 19 my $match = $selector->MatchPath( |
20 [ | 20 [ |
21 {}, | |
21 { name => 'library'}, | 22 { name => 'library'}, |
22 { name => 'index', class => 'Some::Collection' }, | 23 { name => 'index', class => 'Some::Collection' }, |
23 { name => 'compounds' }, | 24 { name => 'compounds' }, |
24 { name => 'asd--df-sd-f--ds-we', class => 'Some::Compound' } | 25 { name => 'asd--df-sd-f--ds-we', class => 'Some::Compound' } |
25 ] | 26 ] |