File: 08_kernel_loop_search_poll.t

package info (click to toggle)
libpoe-perl 2%3A1.3670-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 2,000 kB
  • ctags: 1,416
  • sloc: perl: 22,865; makefile: 9
file content (18 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/perl -w
# vim: ts=2 sw=2 filetype=perl expandtab

use strict;

use Test::More tests => 3;
sub POE::Kernel::ASSERT_DEFAULT () { 1 }

BEGIN {
  package POE::Kernel;
  use constant TRACE_DEFAULT => exists($INC{'Devel/Cover.pm'});
}

BEGIN { use_ok("IO::Poll") }

BEGIN { use_ok("POE") }

is( $poe_kernel->poe_kernel_loop(), 'POE::Loop::IO_Poll', "POE found the right loop" );