Skip to content
Snippets Groups Projects
Commit 45ea16c4 authored by Magali Ruffier's avatar Magali Ruffier Committed by GitHub
Browse files

Merge pull request #166 from Ensembl/ENSCORESW-1995

Added abstract method _tables implementation to TranslationAdaptor as…
parents f05368cc 0845552a
No related branches found
No related tags found
No related merge requests found
......@@ -965,4 +965,18 @@ sub fetch_all {
return \@translations;
}
# _tables
# Arg [1] : none
# Description: PROTECTED implementation of superclass abstract method.
# Returns the names, aliases of the tables to use for queries.
# Returntype : list of listrefs of strings
# Exceptions : none
# Caller : internal
# Status : Stable
sub _tables {
return (['translation', 'tl']);
}
1;
......@@ -338,4 +338,7 @@ ok(!scalar(@alt_tls));
$ta->species_id(1);
}
# Test generic_count(), inherited method from BaseAdaptor
is($ta->generic_count(), @{$ta->list_dbIDs()}, "Number of features from generic_count is equal to the number of dbIDs from list_dbIDs");
done_testing();
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment