Add tests for Hexadecimal, Password, Phone, Textarea, Zipcode

This commit is contained in:
Colin Kuskie 2010-09-20 17:18:17 -07:00
parent ab9b730a4b
commit 2b440003ae
5 changed files with 95 additions and 0 deletions

View file

@ -0,0 +1,19 @@
package Test::WebGUI::Form::Hexadecimal;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2009 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use warnings;
use Test::More;
use base qw/Test::WebGUI::Form::Text/;
1;

View file

@ -0,0 +1,19 @@
package Test::WebGUI::Form::Password;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2009 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use warnings;
use Test::More;
use base qw/Test::WebGUI::Form::Control/;
1;

View file

@ -0,0 +1,19 @@
package Test::WebGUI::Form::Phone;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2009 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use warnings;
use Test::More;
use base qw/Test::WebGUI::Form::Text/;
1;

View file

@ -0,0 +1,19 @@
package Test::WebGUI::Form::Textarea;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2009 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use warnings;
use Test::More;
use base qw/Test::WebGUI::Form::Control/;
1;

View file

@ -0,0 +1,19 @@
package Test::WebGUI::Form::Zipcode;
#-------------------------------------------------------------------
# WebGUI is Copyright 2001-2009 Plain Black Corporation.
#-------------------------------------------------------------------
# Please read the legal notices (docs/legal.txt) and the license
# (docs/license.txt) that came with this distribution before using
# this software.
#-------------------------------------------------------------------
# http://www.plainblack.com info@plainblack.com
#-------------------------------------------------------------------
use strict;
use warnings;
use Test::More;
use base qw/Test::WebGUI::Form::Text/;
1;