Add tests for Event, MatrixListing and WikiPage
This commit is contained in:
parent
7c8979c823
commit
3229663c9f
3 changed files with 81 additions and 0 deletions
27
t/tests/Test/WebGUI/Asset/Event.pm
Normal file
27
t/tests/Test/WebGUI/Asset/Event.pm
Normal 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;
|
||||
27
t/tests/Test/WebGUI/Asset/MatrixListing.pm
Normal file
27
t/tests/Test/WebGUI/Asset/MatrixListing.pm
Normal 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;
|
||||
27
t/tests/Test/WebGUI/Asset/WikiPage.pm
Normal file
27
t/tests/Test/WebGUI/Asset/WikiPage.pm
Normal 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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue