package jalview.io;
-import org.junit.Ignore;
+import java.io.IOException;
+
+import org.junit.Assert;
import org.junit.Test;
public class BioJsHTMLOutputTest
{
-
@Test
- @Ignore
public void getJalviewAlignmentAsJsonString()
{
- BioJsHTMLOutput bioJsHtmlOuput = new BioJsHTMLOutput(null, null);
-
+ BioJsHTMLOutput bioJsHtmlOutput = new BioJsHTMLOutput(null, null);
+ String bjsTemplate = null;
+ try
+ {
+ bjsTemplate = BioJsHTMLOutput
+ .getBioJsTemplateAsString(bioJsHtmlOutput);
+ // System.out.println(bjsTemplate);
+ } catch (IOException e)
+ {
+ e.printStackTrace();
+ }
+ Assert.assertNotNull(bjsTemplate);
}
-
}