[Bps-public-commit] r9980 - in Test-HTTP-Server-Simple: .
alexmv at bestpractical.com
alexmv at bestpractical.com
Mon Dec 17 15:08:57 EST 2007
Author: alexmv
Date: Mon Dec 17 15:08:55 2007
New Revision: 9980
Modified:
Test-HTTP-Server-Simple/ (props changed)
Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm
Log:
r25853 at zoq-fot-pik: chmrr | 2007-12-17 15:06:51 -0500
* Add method to get PIDs
Modified: Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm
==============================================================================
--- Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm (original)
+++ Test-HTTP-Server-Simple/lib/Test/HTTP/Server/Simple.pm Mon Dec 17 15:08:55 2007
@@ -1,6 +1,6 @@
package Test::HTTP::Server::Simple;
-our $VERSION = '0.06';
+our $VERSION = '0.07';
use warnings;
use strict;
@@ -179,7 +179,19 @@
else {
kill 'USR1', $self->{'test_http_server_simple_parent_pid'};
}
-}
+}
+
+=head2 pids
+
+Returns the PIDs of the processes which have been started. Since
+multiple test servers can be running at one, be aware that this
+returns a list.
+
+=cut
+
+sub pids {
+ return @CHILD_PIDS;
+}
=back
More information about the Bps-public-commit
mailing list