Unix and Linux Discussions Tagged with for each |
|
Thread / Thread Starter |
Last Post |
Replies |
Views |
Forum |
|
|
|
0 |
11,402 |
Programming |
|
|
|
4 |
3,899 |
Shell Programming and Scripting |
|
|
|
3 |
1,696 |
Shell Programming and Scripting |
|
|
|
41 |
13,622 |
Shell Programming and Scripting |
|
|
|
3 |
12,893 |
Programming |
|
|
|
0 |
955 |
UNIX and Linux RSS News |
|
|
|
3 |
19,005 |
AIX |
|
|
|
7 |
5,446 |
IP Networking |
|
|
|
9 |
7,008 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,112 |
Shell Programming and Scripting |
|
|
|
1 |
1,960 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
35,506 |
UNIX for Advanced & Expert Users |
|
|
|
2 |
3,603 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
4,689 |
UNIX for Advanced & Expert Users |
|
|
|
3 |
7,119 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
18,189 |
UNIX for Advanced & Expert Users |
|
|
|
1 |
2,353 |
UNIX for Dummies Questions & Answers |
|
|
|
8 |
15,630 |
UNIX for Dummies Questions & Answers |
|
|
|
10 |
6,702 |
UNIX for Advanced & Expert Users |
|
|
|
5 |
5,297 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
2,760 |
Post Here to Contact Site Administrators and Moderators |
|
|
|
1 |
2,991 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
4,409 |
IP Networking |
|
|
|
1 |
3,123 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
15,535 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
60,780 |
UNIX for Dummies Questions & Answers |
|
|
|
5 |
5,779 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
9,601 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,762 |
UNIX for Dummies Questions & Answers |
|
|
|
3 |
3,621 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
6,557 |
IP Networking |
|
|
|
9 |
11,368 |
Cybersecurity |
|
|
|
3 |
29,200 |
Where do I download LINUX & UNIX? |
|
|
|
3 |
2,758 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
5,389 |
UNIX for Dummies Questions & Answers |
|
|
|
4 |
22,496 |
UNIX for Dummies Questions & Answers |
|
|
|
2 |
3,636 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
2,661 |
UNIX for Dummies Questions & Answers |
|
|
|
1 |
5,719 |
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)