Started a new test suite for assets

This commit is contained in:
Roy Johnson 2006-08-02 15:35:03 +00:00
parent 4b891f22f8
commit 93fc3bfa88

25
t/Asset/Asset.t Normal file
View file

@ -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');