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
Merge branch 'develop' into features/JAL-2393customMatrices
[jalview.git]
/
test
/
jalview
/
ws
/
jabaws
/
MinJabawsClientTests.java
diff --git
a/test/jalview/ws/jabaws/MinJabawsClientTests.java
b/test/jalview/ws/jabaws/MinJabawsClientTests.java
index
e1d1478
..
998524a
100644
(file)
--- a/
test/jalview/ws/jabaws/MinJabawsClientTests.java
+++ b/
test/jalview/ws/jabaws/MinJabawsClientTests.java
@@
-1,6
+1,6
@@
/*
/*
- * Jalview - A Sequence Alignment Editor and Viewer (Version 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,13
@@
package jalview.ws.jabaws;
import static org.testng.AssertJUnit.assertEquals;
import static org.testng.AssertJUnit.assertEquals;
+import jalview.gui.JvOptionPane;
+
import java.util.ArrayList;
import java.util.List;
import org.testng.Assert;
import java.util.ArrayList;
import java.util.List;
import org.testng.Assert;
+import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import compbio.data.msa.MsaWS;
import org.testng.annotations.Test;
import compbio.data.msa.MsaWS;
@@
-38,6
+41,13
@@
import compbio.ws.client.Services;
public class MinJabawsClientTests
{
public class MinJabawsClientTests
{
+ @BeforeClass(alwaysRun = true)
+ public void setUpJvOptionPane()
+ {
+ JvOptionPane.setInteractiveMode(false);
+ JvOptionPane.setMockResponse(JvOptionPane.CANCEL_OPTION);
+ }
+
/**
* simple test for the benefit of JAL-1338
*
/**
* simple test for the benefit of JAL-1338
*