Pipeline::Segment::Tester man page on Fedora

Man page or keyword search:  
man Server   31170 pages
apropos Keyword Search (all sections)
Output format
Fedora logo
[printable version]

Pipeline::Segment::TesUser3Contributed Perl DocumePipeline::Segment::Tester(3)

NAME
       Pipeline::Segment::Tester - a test wrapper for a Pipeline::Segment

SYNOPSIS
	 use Pipeline::Segment::Tester;

	 my $pst = Pipeline::Segment::Tester->new();
	 $pst->test( $segment, $objects, $in, $store );

DESCRIPTION
       "Pipeline::Segment::Tester" exists to make testing segments easier.
       Segments will often rely on having multiple other objects in a pipeline
       store to be used properly, which makes testing a bit icky, as the store
       and the pipeline need to be set up to handle testing of a segment.
       Pipeline::Segment::Tester removes this requirement by creating the
       pipeline and adding stuff to the store for you before, and making your
       life easier.

METHODS
       new()
	   The "new" method constructs a new Pipeline::Segment::Tester object
	   and returns it.

       init()
	   The "init" method is called by the constructor and performs
	   construction time initialization on the object.

       test( Pipeline::Segment, [ ARRAY ] )
	   The "test" method takes a segment object as its first argument,
	   which it will add to its pipeline before dispatch.  It also takes
	   an infinite number of additional paramaters that will be added to
	   the store prior to dispatch of the pipeline.

	   Returns the production of the pipeline.

       pipe( [ Pipeline ] )
	   The "pipe" method gets and sets the Pipeline object that
	   Pipeline::Segment::Tester will use.

AUTHOR
       James A. Duncan <jduncan@fotango.com>

perl v5.14.1			  2004-08-09	  Pipeline::Segment::Tester(3)
[top]

List of man pages available for Fedora

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net