Mojo_IOLoop_Tester_EV.pm untested

filter: Statementstmt n/a Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub n/a Podpod n/a SCAR -
1 =for poe_tests
2 BEGIN { $ENV{POE_EVENT_LOOP} = 'POE::Loop::Mojo_IOLoop' }
3 BEGIN { $ENV{MOJO_REACTOR} = 'Mojo::Reactor::EV' }
4 sub skip_tests {
5 return "tests for author testing only"
6 unless $ENV{AUTHOR_TESTING} or $ENV{AUTOMATED_TESTING};
7 return "Mojo::IOLoop tests require the Mojo::IOLoop module" if (
8 do { eval "use Mojo::IOLoop"; $@ }
9 );
10 return "EV module required to test Mojo::Reactor::EV backend" if (
11 do { eval "use EV 4.0"; $@ }
12 );
13 if (shift eq '00_info') {
14 my $reactor = Mojo::IOLoop->singleton->reactor;
15 diag("Using reactor $reactor");
16 }
17 }