repo.or.cz
/
TAP-Harness-JUnit.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
add build_requires for Test::Deep
[TAP-Harness-JUnit.git]
/
t
/
xmlfile_default.t
blob
77567e6d4d882c6e5417e580e43f8f3ca2c90f18
1
#!/usr/bin/perl
2
3
# This test tests whether TAP::Harness::JUnit can be
4
# instantialized without a xmlfile argument (rt#42069)
5
6
use
strict
;
7
use
warnings
;
8
9
use
TAP
::
Harness
::
JUnit
;
10
use
Test
::
More
;
11
12
plan tests
=>
3
;
13
14
my
$harness
;
15
close
STDERR
;
16
eval
{
$harness
=
TAP
::
Harness
::
JUnit
->
new
};
17
18
ok
( !$
@
);
19
ok
(
$harness
);
20
isa_ok
(
$harness
,
'TAP::Harness::JUnit'
);