Add tests for Event, MatrixListing and WikiPage

This commit is contained in:
Colin Kuskie 2010-03-23 17:09:45 -07:00
parent 7c8979c823
commit 3229663c9f
3 changed files with 81 additions and 0 deletions

View file

@ -0,0 +1,27 @@
package Test::WebGUI::Asset::Event;
#-------------------------------------------------------------------
# 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 Event/];
}
sub parent_list {
return ['WebGUI::Asset::Wobject::Calendar'];
}
1;

View file

@ -0,0 +1,27 @@
package Test::WebGUI::Asset::MatrixListing;
#-------------------------------------------------------------------
# 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 MatrixListing assetAspectComments/];
}
sub parent_list {
return ['WebGUI::Asset::Wobject::Matrix'];
}
1;

View file

@ -0,0 +1,27 @@
package Test::WebGUI::Asset::WikiPage;
#-------------------------------------------------------------------
# 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 WikiPage assetAspect_Subscribable assetAspectComments/];
}
sub parent_list {
return ['WebGUI::Asset::Wobject::WikiMaster'];
}
1;