Add a test for getting the whole language property hash.

Reformat the getLanguage method according to WGBP.
This commit is contained in:
Colin Kuskie 2007-12-28 00:15:15 +00:00
parent 44162ea113
commit abf56513c7
2 changed files with 17 additions and 14 deletions

View file

@ -21,7 +21,7 @@ my $session = WebGUI::Test->session;
my $numTests = 1; ##For conditional load check
my $langTests = 2; ##For language look-up tests
$numTests += 10 + $langTests;
$numTests += 11 + $langTests;
plan tests => $numTests;
@ -71,6 +71,8 @@ SKIP: {
is($i18n->getLanguage('English', 'label'), 'English', 'getLanguage, specific property');
isa_ok($i18n->getLanguage('English'), 'HASH', 'getLanguage, without a specific property returns a hashref');
}
sub installPigLatin {