From dd527838ee455eff5a32fa287b0b3704de0d1dac Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Mon, 20 Sep 2010 17:27:46 -0700 Subject: [PATCH] Fix inheritance for SelectList, -Box. Add AdSpace, Asset, AssetReportQuery, Attachments. --- t/tests/Test/WebGUI/Form/AdSpace.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Asset.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/AssetReportQuery.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/Attachments.pm | 19 +++++++++++++++++++ t/tests/Test/WebGUI/Form/SelectBox.pm | 2 +- t/tests/Test/WebGUI/Form/SelectList.pm | 2 +- 6 files changed, 78 insertions(+), 2 deletions(-) create mode 100644 t/tests/Test/WebGUI/Form/AdSpace.pm create mode 100644 t/tests/Test/WebGUI/Form/Asset.pm create mode 100644 t/tests/Test/WebGUI/Form/AssetReportQuery.pm create mode 100644 t/tests/Test/WebGUI/Form/Attachments.pm diff --git a/t/tests/Test/WebGUI/Form/AdSpace.pm b/t/tests/Test/WebGUI/Form/AdSpace.pm new file mode 100644 index 000000000..92b2092db --- /dev/null +++ b/t/tests/Test/WebGUI/Form/AdSpace.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::AdSpace; +#------------------------------------------------------------------- +# 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::SelectBox/; + +1; diff --git a/t/tests/Test/WebGUI/Form/Asset.pm b/t/tests/Test/WebGUI/Form/Asset.pm new file mode 100644 index 000000000..e2fdcff33 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Asset.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Asset; +#------------------------------------------------------------------- +# 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/AssetReportQuery.pm b/t/tests/Test/WebGUI/Form/AssetReportQuery.pm new file mode 100644 index 000000000..9e41a0b52 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/AssetReportQuery.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::AssetReportQuery; +#------------------------------------------------------------------- +# 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/Attachments.pm b/t/tests/Test/WebGUI/Form/Attachments.pm new file mode 100644 index 000000000..10ebd7ed6 --- /dev/null +++ b/t/tests/Test/WebGUI/Form/Attachments.pm @@ -0,0 +1,19 @@ +package Test::WebGUI::Form::Attachments; +#------------------------------------------------------------------- +# 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 index b87af701a..091b95c16 100644 --- a/t/tests/Test/WebGUI/Form/SelectBox.pm +++ b/t/tests/Test/WebGUI/Form/SelectBox.pm @@ -14,6 +14,6 @@ use warnings; use Test::More; -use base qw/Test::WebGUI::Form::Control/; +use base qw/Test::WebGUI::Form::List/; 1; diff --git a/t/tests/Test/WebGUI/Form/SelectList.pm b/t/tests/Test/WebGUI/Form/SelectList.pm index 3fc007530..3f3ba3215 100644 --- a/t/tests/Test/WebGUI/Form/SelectList.pm +++ b/t/tests/Test/WebGUI/Form/SelectList.pm @@ -14,6 +14,6 @@ use warnings; use Test::More; -use base qw/Test::WebGUI::Form::Control/; +use base qw/Test::WebGUI::Form::List/; 1;