From 2b440003aeb404b1b091762654b14010ee83c501 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 17:18:17 -0700 Subject: [PATCH] Add tests for Hexadecimal, Password, Phone, Textarea, Zipcode --- t/tests/Test/WebGUI/Form/Hexadecimal.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Password.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Phone.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Textarea.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Zipcode.pm | 19 +++++++++++++++++++ 5 files changed, 95 insertions(+) create mode 100644 t/tests/Test/WebGUI/Form/Hexadecimal.pm create mode 100644 t/tests/Test/WebGUI/Form/Password.pm create mode 100644 t/tests/Test/WebGUI/Form/Phone.pm create mode 100644 t/tests/Test/WebGUI/Form/Textarea.pm create mode 100644 t/tests/Test/WebGUI/Form/Zipcode.pm diff --git a/t/tests/Test/WebGUI/Form/Hexadecimal.pm b/t/tests/Test/WebGUI/Form/Hexadecimal.pm new file mode 100644 index 000000000..794119109 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Hexadecimal.pm @@ -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; diff --git a/t/tests/Test/WebGUI/Form/Password.pm b/t/tests/Test/WebGUI/Form/Password.pm new file mode 100644 index 000000000..db74277e1 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Password.pm @@ -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; diff --git a/t/tests/Test/WebGUI/Form/Phone.pm b/t/tests/Test/WebGUI/Form/Phone.pm new file mode 100644 index 000000000..5043f9fe0 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Phone.pm @@ -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; diff --git a/t/tests/Test/WebGUI/Form/Textarea.pm b/t/tests/Test/WebGUI/Form/Textarea.pm new file mode 100644 index 000000000..18ac580e6 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Textarea.pm @@ -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; diff --git a/t/tests/Test/WebGUI/Form/Zipcode.pm b/t/tests/Test/WebGUI/Form/Zipcode.pm new file mode 100644 index 000000000..8514c01da --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Zipcode.pm @@ -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;