allow getFormProperties to be called as a class method

This commit is contained in:
Doug Bell 2011-01-31 20:35:25 -06:00
parent 3bb4754487
commit 03f64cbf1a
2 changed files with 20 additions and 1 deletions

View file

@ -143,6 +143,17 @@ my $session = WebGUI::Test->session;
'getFormProperties handles i18n and subroutines'
);
::cmp_deeply(
__PACKAGE__->getFormProperties($object->session,'property1'),
{
label => 'WebGUI',
hoverHelp => 'webgui help extra',
options => { one => 1, two => 2, three => 3 },
named_url => 'property1',
},
'getFormProperties called as class method',
);
}
{