Class-OOorNO
view release on metacpan or search on metacpan
t/4_export_ok.t view on Meta::CPAN
456789101112131415161718192021222324# use a BEGIN block so we print our plan before module is loaded
BEGIN { plan
tests
=>
scalar
(
@Class::OOorNO::EXPORT_OK
),
todo
=> [] }
BEGIN { $| = 1 }
# load your module...
# we gonna see if'n it cun export wut itz 'pose ta. this checks the
# @EXPORT_OK of all packages in the inheritance cascade, which is the
# only reason we're doing this. we already know that it UNIVERSAL::can do
# all its own methods if this test is being run. test 3 ensures that.
# this is just an automated non-empty superclass test
map
{
ok
ref
(UNIVERSAL::can(
'Class::OOorNO'
,
$_
)) eq
'CODE'
}
@Class::OOorNO::EXPORT_OK
;
( run in 0.235 second using v1.01-cache-2.11-cpan-26ccb49234f )