X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=test%2Fjalview%2Fws%2Fdbsources%2FXfamFetcherTest.java;h=2f2848459a5a64c155c5a753a077b59dc07a8d56;hb=7b10124f09af29607ea0150726ad5d63da09fdaf;hp=ce4d1bca916c1e4fb675534a5776c10c8f51ab02;hpb=94204cb6f140508d5f8863fb194d0f8be1f97960;p=jalview.git diff --git a/test/jalview/ws/dbsources/XfamFetcherTest.java b/test/jalview/ws/dbsources/XfamFetcherTest.java index ce4d1bc..2f28484 100644 --- a/test/jalview/ws/dbsources/XfamFetcherTest.java +++ b/test/jalview/ws/dbsources/XfamFetcherTest.java @@ -21,13 +21,23 @@ package jalview.ws.dbsources; import jalview.datamodel.AlignmentI; +import jalview.gui.JvOptionPane; import org.testng.Assert; +import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class XfamFetcherTest { - @Test(groups = { "network" }) + + @BeforeClass(alwaysRun = true) + public void setUpJvOptionPane() + { + JvOptionPane.setInteractiveMode(false); + JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION); + } + + @Test(groups = { "External" }) public void testRfamSeed() throws Exception { // RfamFull rff = new RfamFull(); @@ -41,7 +51,7 @@ public class XfamFetcherTest + " didn't contain more than one sequence."); } - @Test(groups = { "network" }) + @Test(groups = { "External" }) public void testPfamFullAndSeed() throws Exception { PfamFull pff = new PfamFull();