From 48debf2904a3f61a97a579ead6d58a8ae77e5cbe Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 16:04:49 -0700 Subject: [PATCH] Add tests for Button, Float, Integer, ReadOnly --- t/tests/Test/WebGUI/Form/Button.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Float.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Integer.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/ReadOnly.pm | 19 +++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 t/tests/Test/WebGUI/Form/Button.pm create mode 100644 t/tests/Test/WebGUI/Form/Float.pm create mode 100644 t/tests/Test/WebGUI/Form/Integer.pm create mode 100644 t/tests/Test/WebGUI/Form/ReadOnly.pm diff --git a/t/tests/Test/WebGUI/Form/Button.pm b/t/tests/Test/WebGUI/Form/Button.pm new file mode 100644 index 000000000..45a89cda3 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Button.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Button; +#------------------------------------------------------------------- +# 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/Float.pm b/t/tests/Test/WebGUI/Form/Float.pm new file mode 100644 index 000000000..9c16b0f75 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Float.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Float; +#------------------------------------------------------------------- +# 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/Integer.pm b/t/tests/Test/WebGUI/Form/Integer.pm new file mode 100644 index 000000000..6e0bb2cec --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Integer.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Integer; +#------------------------------------------------------------------- +# 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/ReadOnly.pm b/t/tests/Test/WebGUI/Form/ReadOnly.pm new file mode 100644 index 000000000..31b8a22f7 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/ReadOnly.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::ReadOnly; +#------------------------------------------------------------------- +# 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;