From e9f3cf1a55b059b6def9443518b49f719d2ea084 Mon Sep 17 00:00:00 2001
From: Glenn Proctor <gp1@sanger.ac.uk>
Date: Wed, 16 Jul 2003 12:42:11 +0000
Subject: [PATCH] Added tests for new list_ methods.

---
 modules/t/translation.t | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/modules/t/translation.t b/modules/t/translation.t
index e5fe5b5ee4..645bd02098 100644
--- a/modules/t/translation.t
+++ b/modules/t/translation.t
@@ -5,7 +5,7 @@ use Bio::EnsEMBL::Exon;
 
 BEGIN { $| = 1;  
 	use Test;
-	plan tests => 9;
+	plan tests => 11;
 }
 
 my $loaded = 0;
@@ -47,3 +47,11 @@ ok($t);
 
 $t->end_Exon($exon);
 ok($t);
+
+my $ta = $db->get_TranslationAdaptor();
+my $ids = $ta->list_dbIDs();
+ok (@{$ids});
+
+my $stable_ids = $ta->list_stable_dbIDs();
+ok (@{$stable_ids});
+
-- 
GitLab