X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=test%2Fjalview%2Fio%2FBioJsHTMLOutputTest.java;h=77aa0f6e28be2bdb433ac9193f47d8e4eaa42bb0;hb=fc75b80aa07137161c63456c0b69999e80f164d1;hp=5c776f6e66e0db8a8db701def5b317cbef940372;hpb=c19d2a91ca05e052e3408bf5852d88eb5d0608f1;p=jalview.git diff --git a/test/jalview/io/BioJsHTMLOutputTest.java b/test/jalview/io/BioJsHTMLOutputTest.java index 5c776f6..77aa0f6 100644 --- a/test/jalview/io/BioJsHTMLOutputTest.java +++ b/test/jalview/io/BioJsHTMLOutputTest.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. * @@ -54,7 +54,8 @@ public class BioJsHTMLOutputTest { e.printStackTrace(); } - bjsTemplate = BioJsHTMLOutput.getBioJsTemplateAsString(); + bjsTemplate = HTMLOutput.readFileAsString(BioJsHTMLOutput + .getCurrentBJSTemplateFile()); // System.out.println(bjsTemplate); } catch (IOException e) { @@ -70,7 +71,7 @@ public class BioJsHTMLOutputTest { try { - BioJsHTMLOutput.refreshBioJSVersionsInfo(null); + BioJsHTMLOutput.refreshVersionInfo(null); } catch (URISyntaxException e) { AssertJUnit.fail("Expception occured while testing!"); @@ -85,7 +86,7 @@ public class BioJsHTMLOutputTest try { BioJsHTMLOutput - .refreshBioJSVersionsInfo(BioJsHTMLOutput.BJS_TEMPLATES_LOCAL_DIRECTORY); + .refreshVersionInfo(BioJsHTMLOutput.BJS_TEMPLATES_LOCAL_DIRECTORY); versions = BioJsHTMLOutput.getBioJsMSAVersions(); } catch (URISyntaxException e) {