- moved Gallery utility methods to WebGUI::Utility::Gallery

- Added tests for GalleryAlbum RSS
- More tests for comments
- Test International Macro sprintf as third+ arguments
- Add Gallery search limiting by user ID
- Remaining i18n for Gallery templates
- Fix: Search form now visible in Photo assets
Moved a lot of stuff from Photo to GalleryFile
This commit is contained in:
Doug Bell 2008-03-20 18:51:44 +00:00
parent 38256af5f6
commit ab6f4defe3
25 changed files with 1386 additions and 905 deletions

View file

@ -21,26 +21,31 @@ use Test::More; # increment this value for each test you create
my $session = WebGUI::Test->session;
my @testSets = (
{
input => ['none', 'Asset'],
output => q!None!,
comment => q|explicit namespace|,
},
{
input => ['change url', 'Asset'],
output => q!Change URL!,
comment => q|space in label|,
},
{
input => ['webgui', 'WebGUI'],
output => q!WebGUI!,
comment => q|explicit namespace #2|,
},
{
input => ['webgui', ''],
output => q!WebGUI!,
comment => q|default namespace|,
},
{
input => ['none', 'Asset'],
output => q!None!,
comment => q|explicit namespace|,
},
{
input => ['change url', 'Asset'],
output => q!Change URL!,
comment => q|space in label|,
},
{
input => ['webgui', 'WebGUI'],
output => q!WebGUI!,
comment => q|explicit namespace #2|,
},
{
input => ['webgui', ''],
output => q!WebGUI!,
comment => q|default namespace|,
},
{
input => ['template listFilesForUser title', 'Asset_Gallery', 'plainblack'],
output => q{plainblack's Gallery},
comment => q{Third and more arguments are passed to sprintf()},
},
);
my $numTests = scalar @testSets;