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-653_gffalignments
[jalview.git]
/
test
/
jalview
/
io
/
BioJsHTMLOutputTest.java
diff --git
a/test/jalview/io/BioJsHTMLOutputTest.java
b/test/jalview/io/BioJsHTMLOutputTest.java
index
134d84f
..
ac2b599
100644
(file)
--- a/
test/jalview/io/BioJsHTMLOutputTest.java
+++ b/
test/jalview/io/BioJsHTMLOutputTest.java
@@
-21,11
+21,10
@@
public class BioJsHTMLOutputTest
@Test
public void getJalviewAlignmentAsJsonString()
{
@Test
public void getJalviewAlignmentAsJsonString()
{
- BioJsHTMLOutput bioJsHtmlOutput = new BioJsHTMLOutput(null, null);
String bjsTemplate = null;
try
{
String bjsTemplate = null;
try
{
- bioJsHtmlOutput.updateBioJS();
+ BioJsHTMLOutput.updateBioJS();
try
{
// allow the update some three seconds to complete before getting latest
try
{
// allow the update some three seconds to complete before getting latest
@@
-47,10
+46,9
@@
public class BioJsHTMLOutputTest
@Test(expected = NullPointerException.class)
public void expectedNullPointerException()
{
@Test(expected = NullPointerException.class)
public void expectedNullPointerException()
{
- BioJsHTMLOutput bjs = new BioJsHTMLOutput(null, null);
try
{
try
{
- bjs.refreshBioJSVersionsInfo(null);
+ BioJsHTMLOutput.refreshBioJSVersionsInfo(null);
} catch (URISyntaxException e)
{
Assert.fail("Expception occured while testing!");
} catch (URISyntaxException e)
{
Assert.fail("Expception occured while testing!");
@@
-61,11
+59,11
@@
public class BioJsHTMLOutputTest
@Test
public void getBioJsMSAVersions()
{
@Test
public void getBioJsMSAVersions()
{
- BioJsHTMLOutput bjs = new BioJsHTMLOutput(null, null);
TreeMap<String, File> versions = null;
try
{
TreeMap<String, File> versions = null;
try
{
- bjs.refreshBioJSVersionsInfo(BioJsHTMLOutput.BJS_TEMPLATES_LOCAL_DIRECTORY);
+ BioJsHTMLOutput
+ .refreshBioJSVersionsInfo(BioJsHTMLOutput.BJS_TEMPLATES_LOCAL_DIRECTORY);
versions = BioJsHTMLOutput.getBioJsMSAVersions();
} catch (URISyntaxException e)
{
versions = BioJsHTMLOutput.getBioJsMSAVersions();
} catch (URISyntaxException e)
{