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-3753 avoid appending unreplaced html content in help pages
[jalview.git]
/
test
/
jalview
/
ext
/
rbvi
/
chimera
/
ChimeraConnect.java
diff --git
a/test/jalview/ext/rbvi/chimera/ChimeraConnect.java
b/test/jalview/ext/rbvi/chimera/ChimeraConnect.java
index
8527523
..
99394dc
100644
(file)
--- a/
test/jalview/ext/rbvi/chimera/ChimeraConnect.java
+++ b/
test/jalview/ext/rbvi/chimera/ChimeraConnect.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.
*
*
* This file is part of Jalview.
*
@@
-23,6
+23,9
@@
package jalview.ext.rbvi.chimera;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertTrue;
import static org.testng.AssertJUnit.assertFalse;
import static org.testng.AssertJUnit.assertTrue;
+import jalview.gui.JvOptionPane;
+
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import ext.edu.ucsf.rbvi.strucviz2.ChimeraManager;
import org.testng.annotations.Test;
import ext.edu.ucsf.rbvi.strucviz2.ChimeraManager;
@@
-31,7
+34,14
@@
import ext.edu.ucsf.rbvi.strucviz2.StructureManager;
public class ChimeraConnect
{
public class ChimeraConnect
{
- @Test(groups = { "Functional" })
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
+ @Test(groups = { "External" })
public void testLaunchAndExit()
{
final StructureManager structureManager = new StructureManager(true);
public void testLaunchAndExit()
{
final StructureManager structureManager = new StructureManager(true);