File: calling.t

package info (click to toggle)
libmoosex-methodattributes-perl 0.32-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 496 kB
  • sloc: perl: 648; makefile: 2
file content (17 lines) | stat: -rw-r--r-- 251 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
use strict;
use warnings;

use lib 't/lib';

use Test::More tests => 3;

use BaseClass;
use SubClass;

BaseClass->affe;
is(BaseClass::no_calls_to_affe(), 1);

SubClass->affe;
is(BaseClass::no_calls_to_affe(), 2);
is(SubClass::no_calls_to_affe(), 1);