Jifty/TestServer/Inline.pm untested

filter: Statementstmt 0.0% 0 / 15 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 4 Podpod 0.0% 0 / 1 totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
started_ok
2.0
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1 package Jifty::TestServer::Inline;
2 use Any::Moose;
3 extends 'Jifty::TestServer';
4 use Test::More;
5  
6 =head1 NAME
7  
8 Jifty::TestServer::Inline - an inline server for running tests
9  
10 =head1 METHODS
11  
12 =head2 started_ok
13  
14 Returns the URI for the test server.
15  
16 =cut
17  
18 sub started_ok {
19 my $self = shift;
20 my $port = $self->port;
21 ok(1, "psgi test server ok");
22 return "http://localhost:$port";
23 }
24  
25 __PACKAGE__->meta->make_immutable;
26 no Any::Moose;
27 1;