Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl
Commits
2dc37293
Commit
2dc37293
authored
Jun 25, 2003
by
Arne Stabenau
Browse files
added test for fetch_all_currently_related
parent
23740658
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
modules/t/archiveStableId.t
modules/t/archiveStableId.t
+15
-1
No files found.
modules/t/archiveStableId.t
View file @
2dc37293
...
...
@@ -5,7 +5,7 @@ use warnings;
BEGIN
{
$|
=
1
;
use
Test
;
plan
tests
=>
7
;
plan
tests
=>
8
;
}
use
MultiTestDB
;
...
...
@@ -100,6 +100,20 @@ for my $asi ( @$succ_asis ) {
ok
(
scalar
(
@$succ_asis
)
==
0
);
#
# 8 fetch_all_currently_related
#
$asi
=
$asia
->
fetch_by_stable_id_dbname
(
"
G2
",
"
release_1
"
);
my
$asis
=
$asia
->
fetch_all_currently_related
(
$asi
);
debug
(
"
Currently related from G2.release_1
"
);
for
my
$asi
(
@$asis
)
{
_print_asi
(
$asi
);
}
ok
((
$asis
->
[
0
]
->
db_name
eq
"
release_4
"
)
&&
(
scalar
@$asis
==
2
));
sub
_print_asi
{
...
...
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