From 3a2f94f1b38225c7f028b9478d4748197a11a757 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Sat, 13 Mar 2010 20:27:20 -0800 Subject: [PATCH] Test for some Sku's. --- t/tests/Test/WebGUI/Asset/Sku/Donation.pm | 24 +++++++++++++++++++ t/tests/Test/WebGUI/Asset/Sku/FlatDiscount.pm | 24 +++++++++++++++++++ t/tests/Test/WebGUI/Asset/Sku/Product.pm | 24 +++++++++++++++++++ t/tests/Test/WebGUI/Asset/Sku/Subscription.pm | 24 +++++++++++++++++++ 4 files changed, 96 insertions(+) create mode 100644 t/tests/Test/WebGUI/Asset/Sku/Donation.pm create mode 100644 t/tests/Test/WebGUI/Asset/Sku/FlatDiscount.pm create mode 100644 t/tests/Test/WebGUI/Asset/Sku/Product.pm create mode 100644 t/tests/Test/WebGUI/Asset/Sku/Subscription.pm diff --git a/t/tests/Test/WebGUI/Asset/Sku/Donation.pm b/t/tests/Test/WebGUI/Asset/Sku/Donation.pm new file mode 100644 index 000000000..7a666020d --- /dev/null +++ b/t/tests/Test/WebGUI/Asset/Sku/Donation.pm @@ -0,0 +1,24 @@ +package Test::WebGUI::Asset::Sku::Donation; +#------------------------------------------------------------------- +# 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 base qw/Test::WebGUI::Asset/; + +use Test::More; +use Test::Deep; +use Test::Exception; + + +sub list_of_tables { + return [qw/assetData sku donation/]; +} + +1; diff --git a/t/tests/Test/WebGUI/Asset/Sku/FlatDiscount.pm b/t/tests/Test/WebGUI/Asset/Sku/FlatDiscount.pm new file mode 100644 index 000000000..d9b9eef14 --- /dev/null +++ b/t/tests/Test/WebGUI/Asset/Sku/FlatDiscount.pm @@ -0,0 +1,24 @@ +package Test::WebGUI::Asset::Sku::FlatDiscount; +#------------------------------------------------------------------- +# 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 base qw/Test::WebGUI::Asset/; + +use Test::More; +use Test::Deep; +use Test::Exception; + + +sub list_of_tables { + return [qw/assetData sku FlatDiscount/]; +} + +1; diff --git a/t/tests/Test/WebGUI/Asset/Sku/Product.pm b/t/tests/Test/WebGUI/Asset/Sku/Product.pm new file mode 100644 index 000000000..765f2e0a0 --- /dev/null +++ b/t/tests/Test/WebGUI/Asset/Sku/Product.pm @@ -0,0 +1,24 @@ +package Test::WebGUI::Asset::Sku::Product; +#------------------------------------------------------------------- +# 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 base qw/Test::WebGUI::Asset/; + +use Test::More; +use Test::Deep; +use Test::Exception; + + +sub list_of_tables { + return [qw/assetData sku Product/]; +} + +1; diff --git a/t/tests/Test/WebGUI/Asset/Sku/Subscription.pm b/t/tests/Test/WebGUI/Asset/Sku/Subscription.pm new file mode 100644 index 000000000..670eb7847 --- /dev/null +++ b/t/tests/Test/WebGUI/Asset/Sku/Subscription.pm @@ -0,0 +1,24 @@ +package Test::WebGUI::Asset::Sku::Subscription; +#------------------------------------------------------------------- +# 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 base qw/Test::WebGUI::Asset/; + +use Test::More; +use Test::Deep; +use Test::Exception; + + +sub list_of_tables { + return [qw/assetData sku Subscription/]; +} + +1;