JAL-2282 test assertions for 'other' dbsource spikes/geoff spikes/jpred
authorgmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 27 Oct 2016 15:21:31 +0000 (16:21 +0100)
committergmungoc <g.m.carstairs@dundee.ac.uk>
Thu, 27 Oct 2016 15:21:31 +0000 (16:21 +0100)
test/jalview/util/DBRefUtilsTest.java

index d1c24d1..8d2901d 100644 (file)
@@ -99,6 +99,11 @@ public class DBRefUtilsTest
     assertEquals("UNIPROTKB/SWISS-CHEESE",
             DBRefUtils.getCanonicalName("UNIPROTKB/SWISS-CHEESE"));
     assertEquals("ENSEMBL", DBRefUtils.getCanonicalName("Ensembl"));
+
+    // these are not 'known' to Jalview
+    assertEquals("PFAM", DBRefUtils.getCanonicalName("PFAM"));
+    assertEquals("pfam", DBRefUtils.getCanonicalName("pfam"));
+
   }
 
   @Test(groups = { "Functional" })