Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,422 |
Programming |
|
|
|
4 |
3,906 |
Shell Programming and Scripting |
|
|
|
3 |
1,699 |
Shell Programming and Scripting |
|
|
|
41 |
13,639 |
Shell Programming and Scripting |
|
|
|
3 |
13,046 |
Programming |
|
|
|
0 |
956 |
UNIX and Linux RSS News |
|
|
|
3 |
19,015 |
AIX |
|
|
|
7 |
5,492 |
IP Networking |
|
|
|
9 |
7,072 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,145 |
Shell Programming and Scripting |
|
|
|
1 |
1,973 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,604 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,617 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,718 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,144 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,212 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,378 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,671 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,745 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,319 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,793 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
3,009 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,426 |
IP Networking |
|
|
|
1 |
3,142 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,574 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,831 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,810 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,634 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,806 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,638 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,582 |
IP Networking |
|
|
|
9 |
11,425 |
Cybersecurity |
|
|
|
3 |
29,232 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,789 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,407 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,522 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,655 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,688 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,744 |
UNIX for Dummies Questions & Answers |
POE::Test::Loops(3pm) User Contributed Perl Documentation POE::Test::Loops(3pm)
NAME
POE::Test::Loops - Reusable tests for POE::Loop authors
SYNOPSIS
#!/usr/bin/perl -w
use strict;
use Getopt::Long;
use POE::Test::Loops;
my ($dir_base, $flag_help, @loop_modules, $flag_verbose);
my $result = GetOptions(
'dirbase=s' => $dir_base,
'loop=s' => @loop_modules,
'verbose' => $flag_verbose,
'help' => $flag_help,
);
if (
!$result or !$dir_base or $flag_help or !@loop_modules
) {
die(
"$0 usage:
",
" --dirbase DIR (required) base directory for tests
",
" --loop MODULE (required) loop modules to test
",
" --verbose show some extra output
",
" --help you're reading it
",
);
}
POE::Test::Loops::generate($dir_base, @loop_modules, $flag_verbose);
exit 0;
DESCRIPTION
POE::Test::Loops contains one function, generate(), which will generate all the loop tests for one or more POE::Loop subclasses.
The "SYNOPSIS" example is a version of poe-gen-tests, which is a stand-alone utility to generate the actual tests. poe-gen-tests also
documents the POE::Test::Loops system in more detail.
FUNCTIONS
generate( $DIRBASE, @LOOPS, $VERBOSE )
Generates the loop tests. DIRBASE is the (relative) directory in which a subdirectory for each of the LOOPS is created. If VERBOSE is set
to a TRUE value some progress reporting is printed.
POE::Test::Loops::generate(
"./t",
[ "POE::Loop::Yours" ],
1,
);
SEE ALSO
POE::Loop and poe-gen-tests.
AUTHOR & COPYRIGHT
See poe-gen-tests.
perl v5.14.2 2012-03-11 POE::Test::Loops(3pm)