X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fgui%2FAppVarnaTest.java;h=17dbf5f702b9b39a31e3ba48abd777448d21c532;hb=dc005e4ed3722c21925c026570b7219913f787e7;hp=b803161a38529f654c30a829a623c9f5a120b706;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/test/jalview/gui/AppVarnaTest.java b/test/jalview/gui/AppVarnaTest.java index b803161..17dbf5f 100644 --- a/test/jalview/gui/AppVarnaTest.java +++ b/test/jalview/gui/AppVarnaTest.java @@ -1,6 +1,6 @@ /* - * Jalview - A Sequence Alignment Editor and Viewer (Version 2.9.0b2) - * Copyright (C) 2015 The Jalview Authors + * Jalview - A Sequence Alignment Editor and Viewer ($$Version-Rel$$) + * Copyright (C) $$Year-Rel$$ The Jalview Authors * * This file is part of Jalview. * @@ -24,11 +24,20 @@ import static org.testng.AssertJUnit.assertEquals; import static org.testng.AssertJUnit.assertNull; import static org.testng.AssertJUnit.assertSame; +import org.testng.annotations.BeforeClass; import org.testng.annotations.Test; public class AppVarnaTest { - @Test + + @BeforeClass(alwaysRun = true) + public void setUpJvOptionPane() + { + JvOptionPane.setInteractiveMode(false); + JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION); + } + + @Test(groups = "Functional") public void testReplaceOddGaps() { String struct = "{(<]}>)";