git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-2465 missed commit for refactore renaming of getPdbFile() method to getStructureF...
[jalview.git]
/
test
/
jalview
/
util
/
ParseHtmlBodyAndLinksTest.java
diff --git
a/test/jalview/util/ParseHtmlBodyAndLinksTest.java
b/test/jalview/util/ParseHtmlBodyAndLinksTest.java
index
57cbb71
..
bfaa7af
100644
(file)
--- a/
test/jalview/util/ParseHtmlBodyAndLinksTest.java
+++ b/
test/jalview/util/ParseHtmlBodyAndLinksTest.java
@@
-1,6
+1,6
@@
/*******************************************************************************
/*******************************************************************************
- * Jalview - A Sequence Alignment Editor and Viewer (2.9.0b1)
- * 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.
*
*
* This file is part of Jalview.
*
@@
-22,10
+22,21
@@
package jalview.util;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertEquals;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
public class ParseHtmlBodyAndLinksTest
{
import org.testng.annotations.Test;
public class ParseHtmlBodyAndLinksTest
{
+
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
@Test(groups = { "Functional" })
public void testParseHtml_noLinks()
{
@Test(groups = { "Functional" })
public void testParseHtml_noLinks()
{