File: strict.t

package info (click to toggle)
javatools 0.81
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 416 kB
  • sloc: perl: 1,358; sh: 939; java: 56; makefile: 39
file content (29 lines) | stat: -rwxr-xr-x 463 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/usr/bin/perl -w

use strict;
use warnings;

use Test::More;
eval 'use Test::Strict';
plan skip_all => 'Test::Strict required to run this test' if $@;

my @FILES = qw(
  jh_compilefeatures
  jh_exec
  jh_generateorbitdir
  jh_installeclipse
  jh_installjavadoc
  jh_installlibs
  jh_linkjars
  jh_manifest
  jh_classpath
  jh_scanjavadoc
  jh_setupenvironment
);

for my $file (@FILES) {
    syntax_ok($file);
    strict_ok($file);
}

all_perl_files_ok('lib');