Tests for Post and Thread

This commit is contained in:
Colin Kuskie 2010-03-23 16:15:33 -07:00
parent e004eab9f5
commit 7c8979c823
2 changed files with 57 additions and 0 deletions

View file

@ -0,0 +1,28 @@
package Test::WebGUI::Asset::Post;
#-------------------------------------------------------------------
# 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 Post/];
}
sub parent_list {
return [ map { "WebGUI::Asset::$_"} qw/Wobject::Collaboration Post::Thread/ ];
}
1;

View file

@ -0,0 +1,29 @@
package Test::WebGUI::Asset::Post::Thread;
#-------------------------------------------------------------------
# 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::Post/;
use Test::More;
use Test::Deep;
use Test::Exception;
sub list_of_tables {
return [qw/assetData Post Thread/];
}
sub parent_list {
return [ "WebGUI::Asset::Wobject::Collaboration" ];
}
1;