public class ExportToWebJUnitTest extends java.lang.Object
| Constructor and Description |
|---|
ExportToWebJUnitTest() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
_exportToWebTest(java.lang.String modelFileName,
java.lang.String directoryName)
Test the ExportToWeb facility by reading in a model, and exporting it.
|
void |
exportButterfly()
Test the export the Butterfly model.
|
static void |
main(java.lang.String[] args)
Test the ExportToWeb facility.
|
public ExportToWebJUnitTest()
public static void main(java.lang.String[] args)
To run, use:
java -classpath \
$PTII:${PTII}/lib/junit-4.8.2.jar:${PTII}/lib/JUnitParams-0.3.0.jar \
ptolemy.vergil.basic.export.html.test.junit.ExportToWebJUnitTest
args - Not used.public void exportButterfly() throws java.lang.Exception
java.lang.Exception - If there is a problem reading or laying
out a model.protected void _exportToWebTest(java.lang.String modelFileName, java.lang.String directoryName) throws java.lang.Exception
This is the main entry point for ExportToWeb tests.
The caller of this method need notbe in the Swing Event Thread.
modelFileName - The file name of the test model.directoryName - The name of the directory.java.lang.Exception - If the file name cannot be read or exported