"SfR Fresh" - the SfR Freeware/Shareware Archive

Member "wine-docs-1.0/po4a/t/01-classes.t" of archive wine-docs-1.0.tar.gz:


As a special service "SfR Fresh" has tried to format the requested source page into HTML format using source code syntax highlighting with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.
    1 # Class tester. Tries to load all module to check their syntax
    2 
    3 #########################
    4 
    5 use Test::More tests =>14;
    6 
    7 # Core modules
    8 eval qq{use Locale::Po4a::Po};           ok(!$@, 'Po.pm loadable');
    9 diag($@) if $@;
   10 eval qq{use Locale::Po4a::TransTractor}; ok(!$@, 'TransTractor.pm loadable');
   11 diag($@) if $@;
   12 eval qq{use Locale::Po4a::Chooser};      ok(!$@, 'Chooser.pm loadable');
   13 diag($@) if $@;
   14 eval qq{use Locale::Po4a::Common};       ok(!$@, 'Common.pm loadable');
   15 diag($@) if $@;
   16 
   17 # File format modules
   18 eval qq{use Locale::Po4a::KernelHelp};   ok(!$@, 'KernelHelp.pm loadable');
   19 diag($@) if $@;
   20 eval qq{use Locale::Po4a::Man};          ok(!$@, 'Man.pm loadable');
   21 diag($@) if $@;
   22 eval qq{use Locale::Po4a::Pod};          ok(!$@, 'Pod.pm loadable');
   23 diag($@) if $@;
   24 eval qq{use Locale::Po4a::Sgml};         ok(!$@, 'Sgml.pm loadable');
   25 diag($@) if $@;
   26 eval qq{use Locale::Po4a::Xml};          ok(!$@, 'Xml.pm loadable');
   27 diag($@) if $@;
   28 eval qq{use Locale::Po4a::Dia};          ok(!$@, 'Dia.pm loadable');
   29 diag($@) if $@;
   30 eval qq{use Locale::Po4a::Guide};        ok(!$@, 'Guide.pm loadable');
   31 diag($@) if $@;
   32 eval qq{use Locale::Po4a::Docbook};      ok(!$@, 'Docbook.pm loadable');
   33 diag($@) if $@;
   34 eval qq{use Locale::Po4a::TeX};          ok(!$@, 'TeX.pm loadable');
   35 diag($@) if $@;
   36 eval qq{use Locale::Po4a::LaTeX};        ok(!$@, 'LaTeX.pm loadable');
   37 diag($@) if $@;
   38