Changeset 2169
- Timestamp:
- 12/23/08 03:25:54 (3 years ago)
- Location:
- trunk/Padre/t
- Files:
-
- 10 edited
-
00-compile.t (modified) (1 diff)
-
02-new.t (modified) (1 diff)
-
03-wx.t (modified) (2 diffs)
-
60-db.t (modified) (1 diff)
-
70-document.t (modified) (1 diff)
-
71-perl.t (modified) (1 diff)
-
80-newline.t (modified) (2 diffs)
-
82-plugin-manager.t (modified) (1 diff)
-
85-task-manager.t (modified) (1 diff)
-
91-vi.t (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Padre/t/00-compile.t
r2167 r2169 1 1 use strict; 2 2 use warnings; 3 use Test::NeedsDisplay;3 #use Test::NeedsDisplay; 4 4 5 5 use Test::More; 6 plan skip_all => 'Needs DISPLAY' if 6 plan skip_all => 'Needs DISPLAY' if not $ENV{DISPLAY} and not $^O eq 'MSWin32'; 7 7 plan skip_all => 'Needs Test::Compile 0.08 but that does not work on Windows' if $^O eq 'MSWin32'; # the same as File::Spec uses 8 8 plan skip_all => 'Needs Test::Compile 0.08' if not eval "use Test::Compile 0.08; 1"; ## no critic -
trunk/Padre/t/02-new.t
r2061 r2169 4 4 use warnings; 5 5 6 use Test::NeedsDisplay; 7 use Test::More tests => 14; 6 #use Test::NeedsDisplay; 7 use Test::More; 8 9 BEGIN { 10 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 11 plan skip_all => 'Needs DISPLAY'; 12 exit 0; 13 } 14 } 15 16 plan tests => 14; 8 17 use Test::NoWarnings; 9 10 18 use t::lib::Padre; 11 19 use Padre; -
trunk/Padre/t/03-wx.t
r1973 r2169 5 5 6 6 use Test::More; 7 8 BEGIN { 9 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 10 plan skip_all => 'Needs DISPLAY'; 11 exit 0; 12 } 13 } 14 7 15 8 16 BEGIN { … … 16 24 use File::Copy qw(copy); 17 25 use File::Spec::Functions qw(catfile); 18 use Test::NeedsDisplay;26 #use Test::NeedsDisplay; 19 27 use Test::NoWarnings; 20 28 use Test::Builder; -
trunk/Padre/t/60-db.t
r2053 r2169 4 4 use warnings; 5 5 6 use Test::More tests => 20; 6 use Test::More; 7 BEGIN { 8 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 9 plan skip_all => 'Needs DISPLAY'; 10 exit 0; 11 } 12 } 13 14 plan tests => 20; 15 7 16 use Test::NoWarnings; 8 17 -
trunk/Padre/t/70-document.t
r1867 r2169 3 3 use strict; 4 4 use warnings; 5 use Test::NeedsDisplay;5 #use Test::NeedsDisplay; 6 6 use Test::More; 7 BEGIN { 8 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 9 plan skip_all => 'Needs DISPLAY'; 10 exit 0; 11 } 12 } 13 7 14 use Test::NoWarnings; 8 15 use File::Spec (); -
trunk/Padre/t/71-perl.t
r2061 r2169 3 3 use strict; 4 4 use warnings; 5 use Test::NeedsDisplay;5 #use Test::NeedsDisplay; 6 6 use Test::More; 7 BEGIN { 8 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 9 plan skip_all => 'Needs DISPLAY'; 10 exit 0; 11 } 12 } 13 7 14 use Test::NoWarnings; 8 15 use Data::Dumper qw(Dumper); -
trunk/Padre/t/80-newline.t
r1867 r2169 3 3 use strict; 4 4 use warnings; 5 use Test::NeedsDisplay;5 #use Test::NeedsDisplay; 6 6 7 7 my $CR = "\015"; … … 10 10 11 11 use Test::More; 12 BEGIN { 13 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 14 plan skip_all => 'Needs DISPLAY'; 15 exit 0; 16 } 17 } 18 12 19 use Test::NoWarnings; 13 20 use t::lib::Padre; -
trunk/Padre/t/82-plugin-manager.t
r2053 r2169 8 8 use Data::Dumper qw(Dumper); 9 9 10 use Test::More tests => 25; 10 use Test::More; 11 BEGIN { 12 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 13 plan skip_all => 'Needs DISPLAY'; 14 exit 0; 15 } 16 } 17 18 plan tests => 25; 19 11 20 use Test::NoWarnings; 12 21 -
trunk/Padre/t/85-task-manager.t
r1645 r2169 8 8 use Data::Dumper qw(Dumper); 9 9 10 use Test::More tests => 12; 10 use Test::More; 11 BEGIN { 12 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 13 plan skip_all => 'Needs DISPLAY'; 14 exit 0; 15 } 16 } 17 18 plan tests => 12; 11 19 12 20 use t::lib::Padre; -
trunk/Padre/t/91-vi.t
r1867 r2169 5 5 use Data::Dumper; 6 6 use Test::More; 7 BEGIN { 8 if (not $ENV{DISPLAY} and not $^O eq 'MSWin32') { 9 plan skip_all => 'Needs DISPLAY'; 10 exit 0; 11 } 12 } 13 7 14 use Test::NoWarnings; 8 15 my $tests;
Note: See TracChangeset
for help on using the changeset viewer.
