Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
f678790d
Commit
f678790d
authored
Feb 13, 2019
by
Matthieu Muffato
Browse files
Better diagnostic: tell what events were expected
parent
1ec64adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
modules/Bio/EnsEMBL/Hive/Utils/Test.pm
modules/Bio/EnsEMBL/Hive/Utils/Test.pm
+4
-1
No files found.
modules/Bio/EnsEMBL/Hive/Utils/Test.pm
View file @
f678790d
...
...
@@ -81,7 +81,10 @@ sub standaloneJob {
ok
(
Bio::EnsEMBL::Hive::Scripts::StandaloneJob::
standaloneJob
(
$module_or_file
,
$input_id
,
$flags
,
undef
,
$flags
->
{
language
}),
'
job completed
');
},
sprintf
('
standaloneJob("%s", %s, (...), %s)
',
$module_or_file
,
stringify
(
$param_hash
),
stringify
(
$flags
)));
ok
(
!
scalar
(
@$events_to_test
),
'
no untriggered events
')
if
$expected_events
;
if
(
$expected_events
)
{
ok
(
!
scalar
(
@$events_to_test
),
'
no untriggered events
');
diag
("
Did not receive:
"
.
stringify
(
$events_to_test
))
if
scalar
(
@$events_to_test
);
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment