From 200970cfd9d8c6c2d269f6ba58bebb9a5e6c8c3a Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 17:22:34 -0700 Subject: [PATCH] Tests for List, Radio, Checkbox, SelectBox, SelectList, Username --- t/tests/Test/WebGUI/Form/Checkbox.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/List.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Radio.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/SelectBox.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/SelectList.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Username.pm | 19 +++++++++++++++++++ 6 files changed, 114 insertions(+) create mode 100644 t/tests/Test/WebGUI/Form/Checkbox.pm create mode 100644 t/tests/Test/WebGUI/Form/List.pm create mode 100644 t/tests/Test/WebGUI/Form/Radio.pm create mode 100644 t/tests/Test/WebGUI/Form/SelectBox.pm create mode 100644 t/tests/Test/WebGUI/Form/SelectList.pm create mode 100644 t/tests/Test/WebGUI/Form/Username.pm diff --git a/t/tests/Test/WebGUI/Form/Checkbox.pm b/t/tests/Test/WebGUI/Form/Checkbox.pm new file mode 100644 index 000000000..e7987eb93 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Checkbox.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Checkbox; +#------------------------------------------------------------------- +# 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/List.pm b/t/tests/Test/WebGUI/Form/List.pm new file mode 100644 index 000000000..c147cc1b9 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/List.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::List; +#------------------------------------------------------------------- +# 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/Radio.pm b/t/tests/Test/WebGUI/Form/Radio.pm new file mode 100644 index 000000000..a27cf0836 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Radio.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Radio; +#------------------------------------------------------------------- +# 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/SelectBox.pm b/t/tests/Test/WebGUI/Form/SelectBox.pm new file mode 100644 index 000000000..b87af701a --- /dev/null +++ b/t/tests/Test/WebGUI/Form/SelectBox.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::SelectBox; +#------------------------------------------------------------------- +# 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/SelectList.pm b/t/tests/Test/WebGUI/Form/SelectList.pm new file mode 100644 index 000000000..3fc007530 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/SelectList.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::SelectList; +#------------------------------------------------------------------- +# 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/Username.pm b/t/tests/Test/WebGUI/Form/Username.pm new file mode 100644 index 000000000..d1cfc316d --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Username.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Username; +#------------------------------------------------------------------- +# 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;