From 708e7de4d2c593012a85b3170cbbd4a7b5fdd66c Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 17:32:55 -0700 Subject: [PATCH] Add tests for Captcha, ClassName, Codearea, HTMLArea, IntSlider, RadioList, Slider --- t/tests/Test/WebGUI/Form/Captcha.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/ClassName.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Codearea.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/HTMLArea.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/IntSlider.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/RadioList.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Slider.pm | 19 +++++++++++++++++++ 7 files changed, 133 insertions(+) create mode 100644 t/tests/Test/WebGUI/Form/Captcha.pm create mode 100644 t/tests/Test/WebGUI/Form/ClassName.pm create mode 100644 t/tests/Test/WebGUI/Form/Codearea.pm create mode 100644 t/tests/Test/WebGUI/Form/HTMLArea.pm create mode 100644 t/tests/Test/WebGUI/Form/IntSlider.pm create mode 100644 t/tests/Test/WebGUI/Form/RadioList.pm create mode 100644 t/tests/Test/WebGUI/Form/Slider.pm diff --git a/t/tests/Test/WebGUI/Form/Captcha.pm b/t/tests/Test/WebGUI/Form/Captcha.pm new file mode 100644 index 000000000..5c177c673 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Captcha.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Captcha; +#------------------------------------------------------------------- +# 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/ClassName.pm b/t/tests/Test/WebGUI/Form/ClassName.pm new file mode 100644 index 000000000..b1dcce66c --- /dev/null +++ b/t/tests/Test/WebGUI/Form/ClassName.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::ClassName; +#------------------------------------------------------------------- +# 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::ReadOnly/; + +1; diff --git a/t/tests/Test/WebGUI/Form/Codearea.pm b/t/tests/Test/WebGUI/Form/Codearea.pm new file mode 100644 index 000000000..8053e56cc --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Codearea.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Codearea; +#------------------------------------------------------------------- +# 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::Textarea/; + +1; diff --git a/t/tests/Test/WebGUI/Form/HTMLArea.pm b/t/tests/Test/WebGUI/Form/HTMLArea.pm new file mode 100644 index 000000000..b9c3248a1 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/HTMLArea.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::HTMLArea; +#------------------------------------------------------------------- +# 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::Textarea/; + +1; diff --git a/t/tests/Test/WebGUI/Form/IntSlider.pm b/t/tests/Test/WebGUI/Form/IntSlider.pm new file mode 100644 index 000000000..40941620f --- /dev/null +++ b/t/tests/Test/WebGUI/Form/IntSlider.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::IntSlider; +#------------------------------------------------------------------- +# 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::Slider/; + +1; diff --git a/t/tests/Test/WebGUI/Form/RadioList.pm b/t/tests/Test/WebGUI/Form/RadioList.pm new file mode 100644 index 000000000..e112e875e --- /dev/null +++ b/t/tests/Test/WebGUI/Form/RadioList.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::RadioList; +#------------------------------------------------------------------- +# 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::List/; + +1; diff --git a/t/tests/Test/WebGUI/Form/Slider.pm b/t/tests/Test/WebGUI/Form/Slider.pm new file mode 100644 index 000000000..c4cf6a45d --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Slider.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Slider; +#------------------------------------------------------------------- +# 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;