Skip to content

Commit

Permalink
restore both asset and form Test::Class tests
Browse files Browse the repository at this point in the history
  • Loading branch information
haarg committed Sep 27, 2010
1 parent 790350e commit 10c7b56
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
22 changes: 22 additions & 0 deletions t/run_assets.t
@@ -0,0 +1,22 @@
#-------------------------------------------------------------------
# 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 File::Spec::Functions qw( catdir rel2abs );
use File::Basename;
use Test::More;
use Test::Class;
use Module::Find;
use lib rel2abs( catdir ( dirname( __FILE__ ), 'tests' ) );

plan skip_all => "Extremely slow asset tests only run if WEBGUI_ASSET_TESTS set"
unless $ENV{WEBGUI_ASSET_TESTS};
useall('Test::WebGUI::Asset');
Test::Class->runtests;

9 changes: 7 additions & 2 deletions t/run_forms.u → t/run_forms.t
Expand Up @@ -9,6 +9,11 @@
#-------------------------------------------------------------------

use File::Spec::Functions qw( catdir rel2abs );
use File::Basename qw( dirname );
use Test::Class::Load rel2abs( catdir ( dirname( __FILE__ ), 'tests' ) );
use File::Basename;
use Test::Class;
use Module::Find;
use lib rel2abs( catdir ( dirname( __FILE__ ), 'tests' ) );

useall('Test::WebGUI::Form');
Test::Class->runtests;

0 comments on commit 10c7b56

Please sign in to comment.