From 93fc3bfa887f142b8d83e2acf9f09213a5c89b6b Mon Sep 17 00:00:00 2001 From: Roy Johnson Date: Wed, 2 Aug 2006 15:35:03 +0000 Subject: [PATCH] Started a new test suite for assets --- t/Asset/Asset.t | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 t/Asset/Asset.t diff --git a/t/Asset/Asset.t b/t/Asset/Asset.t new file mode 100644 index 000000000..1359dd50a --- /dev/null +++ b/t/Asset/Asset.t @@ -0,0 +1,25 @@ +#------------------------------------------------------------------- +# WebGUI is Copyright 2001-2006 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 FindBin; +use strict; +use lib "$FindBin::Bin/../lib"; + +use WebGUI::Test; +use WebGUI::Session; +use WebGUI::Asset; +use Test::More tests => 1; # increment this value for each test you create + +my $session = WebGUI::Test->session; + +# Test the default constructor +my $defaultAsset = WebGUI::Asset->getDefault($session); +is(ref $defaultAsset, 'WebGUI::Asset::Wobject::Layout'); +