X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Furls%2FDesktopUrlProviderFactoryTest.java;fp=test%2Fjalview%2Furls%2FDesktopUrlProviderFactoryTest.java;h=8ff9e5f99cdee45690e52ea98005458a01cd8f67;hb=3459a8a691cb22508d7067f240b7254e588e77d3;hp=cc550347e6580fbb723cb8ecb5114cadb5c278f6;hpb=5b27f1062b2203c4c31702e205f4c78e1992063e;p=jalview.git diff --git a/test/jalview/urls/DesktopUrlProviderFactoryTest.java b/test/jalview/urls/DesktopUrlProviderFactoryTest.java index cc55034..8ff9e5f 100644 --- a/test/jalview/urls/DesktopUrlProviderFactoryTest.java +++ b/test/jalview/urls/DesktopUrlProviderFactoryTest.java @@ -60,8 +60,8 @@ public class DesktopUrlProviderFactoryTest bw.close(); } catch (IOException e) { - System.out - .println("Error initialising DesktopUrlProviderFactoryTest test: " + System.out.println( + "Error initialising DesktopUrlProviderFactoryTest test: " + e.getMessage()); } @@ -95,15 +95,15 @@ public class DesktopUrlProviderFactoryTest // 5 links in menu (cachedUrlList) Assert.assertEquals(menulinks.size(), 5); - Assert.assertTrue(menulinks - .contains("Test1|http://blah.blah/$SEQUENCE_ID$")); - Assert.assertTrue(menulinks - .contains("Test2|http://test2/$DB_ACCESSION$")); - Assert.assertTrue(menulinks - .contains("Test3|http://test3/$SEQUENCE_ID$")); - Assert.assertTrue(menulinks - .contains("UniProt Knowledgebase|http://identifiers.org/uniprot/$DB_ACCESSION$|uniprot")); - Assert.assertTrue(menulinks - .contains("InterPro|http://identifiers.org/interpro/$DB_ACCESSION$|interpro")); + Assert.assertTrue( + menulinks.contains("Test1|http://blah.blah/$SEQUENCE_ID$")); + Assert.assertTrue( + menulinks.contains("Test2|http://test2/$DB_ACCESSION$")); + Assert.assertTrue( + menulinks.contains("Test3|http://test3/$SEQUENCE_ID$")); + Assert.assertTrue(menulinks.contains( + "UniProt Knowledgebase|http://identifiers.org/uniprot/$DB_ACCESSION$|uniprot")); + Assert.assertTrue(menulinks.contains( + "InterPro|http://identifiers.org/interpro/$DB_ACCESSION$|interpro")); } }