Tests for Gallery and HttpProxy
This commit is contained in:
parent
4fa1e0084c
commit
fe5085f346
3 changed files with 64 additions and 0 deletions
|
|
@ -30,6 +30,8 @@ use Test::Asset::Wobject::DataForm;
|
||||||
use Test::Asset::Wobject::DataTable;
|
use Test::Asset::Wobject::DataTable;
|
||||||
use Test::Asset::Wobject::EventManagementSystem;
|
use Test::Asset::Wobject::EventManagementSystem;
|
||||||
use Test::Asset::Wobject::Folder;
|
use Test::Asset::Wobject::Folder;
|
||||||
|
use Test::Asset::Wobject::Gallery;
|
||||||
use Test::Asset::Wobject::GalleryAlbum;
|
use Test::Asset::Wobject::GalleryAlbum;
|
||||||
|
use Test::Asset::Wobject::HttpProxy;
|
||||||
|
|
||||||
Test::Class->runtests;
|
Test::Class->runtests;
|
||||||
|
|
|
||||||
29
t/tests/Test/Asset/Wobject/Gallery.pm
Normal file
29
t/tests/Test/Asset/Wobject/Gallery.pm
Normal file
|
|
@ -0,0 +1,29 @@
|
||||||
|
package Test::Asset::Wobject::Gallery;
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
# 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 FindBin;
|
||||||
|
use lib "$FindBin::Bin/lib";
|
||||||
|
|
||||||
|
use base qw/Test::AssetBase/;
|
||||||
|
|
||||||
|
use Test::More;
|
||||||
|
use Test::Deep;
|
||||||
|
use Test::Exception;
|
||||||
|
|
||||||
|
sub class {
|
||||||
|
return qw/WebGUI::Asset::Wobject::Gallery/;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub list_of_tables {
|
||||||
|
return [qw/assetData wobject Gallery assetAspectRssFeed/];
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
33
t/tests/Test/Asset/Wobject/HttpProxy.pm
Normal file
33
t/tests/Test/Asset/Wobject/HttpProxy.pm
Normal file
|
|
@ -0,0 +1,33 @@
|
||||||
|
package Test::Asset::Wobject::HttpProxy;
|
||||||
|
#-------------------------------------------------------------------
|
||||||
|
# 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 FindBin;
|
||||||
|
use lib "$FindBin::Bin/lib";
|
||||||
|
|
||||||
|
use base qw/Test::AssetBase/;
|
||||||
|
|
||||||
|
use Test::More;
|
||||||
|
use Test::Deep;
|
||||||
|
use Test::Exception;
|
||||||
|
|
||||||
|
sub class {
|
||||||
|
return qw/WebGUI::Asset::Wobject::HttpProxy/;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub assetUiLevel {
|
||||||
|
return 5;
|
||||||
|
}
|
||||||
|
|
||||||
|
sub list_of_tables {
|
||||||
|
return [qw/assetData wobject HttpProxy/];
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
||||||
Loading…
Add table
Add a link
Reference in a new issue