From 6ce211e805b3e9520c76ef248ccadbaad6b3091a Mon Sep 17 00:00:00 2001 From: Diona Kidd Date: Thu, 13 Sep 2007 04:07:35 +0000 Subject: [PATCH] Adding base test for Inbox.pm --- t/Inbox.t | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 t/Inbox.t diff --git a/t/Inbox.t b/t/Inbox.t new file mode 100644 index 000000000..669e749f4 --- /dev/null +++ b/t/Inbox.t @@ -0,0 +1,26 @@ +#------------------------------------------------------------------- +# 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::Inbox; + +use Test::More tests => 1; # increment this value for each test you create + +my $session = WebGUI::Test->session; + +# Begin tests... +my $inbox = WebGUI::Inbox->new($session); +ok(defined ($inbox), 'new("new") -- object reference is defined'); +