From ab9b730a4b90f168839569f9ac3b0f0cab9f6632 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 17:15:20 -0700 Subject: [PATCH] Class tests for Color, CsrfToken, Guid, Hidden --- t/tests/Test/WebGUI/Form/Color.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/CsrfToken.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Guid.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Hidden.pm | 19 +++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 t/tests/Test/WebGUI/Form/Color.pm create mode 100644 t/tests/Test/WebGUI/Form/CsrfToken.pm create mode 100644 t/tests/Test/WebGUI/Form/Guid.pm create mode 100644 t/tests/Test/WebGUI/Form/Hidden.pm diff --git a/t/tests/Test/WebGUI/Form/Color.pm b/t/tests/Test/WebGUI/Form/Color.pm new file mode 100644 index 000000000..d755e77e6 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Color.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Color; +#------------------------------------------------------------------- +# 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/CsrfToken.pm b/t/tests/Test/WebGUI/Form/CsrfToken.pm new file mode 100644 index 000000000..7330a8647 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/CsrfToken.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::CsrfToken; +#------------------------------------------------------------------- +# 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::Hidden/; + +1; diff --git a/t/tests/Test/WebGUI/Form/Guid.pm b/t/tests/Test/WebGUI/Form/Guid.pm new file mode 100644 index 000000000..8975a500d --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Guid.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Guid; +#------------------------------------------------------------------- +# 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/Hidden.pm b/t/tests/Test/WebGUI/Form/Hidden.pm new file mode 100644 index 000000000..d819d3186 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Hidden.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Hidden; +#------------------------------------------------------------------- +# 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;