File: IPC-Run3-ProfArrayBuffer.t

package info (click to toggle)
libipc-run3-perl 0.036-1
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k, lenny
  • size: 152 kB
  • ctags: 82
  • sloc: perl: 1,016
file content (22 lines) | stat: -rw-r--r-- 293 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!perl -w

use Test;
use IPC::Run3::ProfArrayBuffer;
use strict;

my $b = IPC::Run3::ProfArrayBuffer->new;

my @tests = (
  sub {
      $b->app_call( 1 );
      ok 0+$b->get_events, 1;
  },

  sub {
      ok( ($b->get_events)[0]->[1], 1 );
  },
);

plan tests => 0+@tests;

$_->() for @tests;