From 743e57c8ae8bcdaa220eff01a67e87b438894213 Mon Sep 17 00:00:00 2001 From: Colin Kuskie Date: Wed, 24 Mar 2010 18:26:29 -0700 Subject: [PATCH] Add a test for the Story asset. --- t/tests/Test/WebGUI/Asset/Story.pm | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 t/tests/Test/WebGUI/Asset/Story.pm diff --git a/t/tests/Test/WebGUI/Asset/Story.pm b/t/tests/Test/WebGUI/Asset/Story.pm new file mode 100644 index 000000000..425bc4b3e --- /dev/null +++ b/t/tests/Test/WebGUI/Asset/Story.pm @@ -0,0 +1,27 @@ +package Test::WebGUI::Asset::Story; +#------------------------------------------------------------------- +# 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 Story/]; +} + +sub parent_list { + return ['WebGUI::Asset::Wobject::StoryArchive']; +} + +1;