public class HTMLAboutJUnitTest
extends java.lang.Object
Constructor and Description |
---|
HTMLAboutJUnitTest() |
Modifier and Type | Method and Description |
---|---|
protected void |
_openModel(java.lang.String modelFileName)
Test HTMLAbout by opening a URL that starts with "about:".
|
protected void |
_sleep()
Sleep the current thread, which is usually not the Swing Event
Dispatch Thread.
|
void |
aboutAllCopyrights()
Invoke about:allcopyrights, which pops up a window that lists
the copyrights.
|
void |
aboutConfiguration()
Invoke about:configuration, which expands the actor tree on
the left.
|
void |
aboutCopyrights()
Invoke about:copyrights, which pops up a window that lists
the copyrights.
|
static void |
main(java.lang.String[] args)
Test the HTMLAbout
To run, use:
$PTII/bin/ptinvoke ptolemy.actor.gui.test.junit.HTMLAboutJUnitTest
We use ptinvoke so that the classpath is set to include all the packages
used by Ptolemy II.
|
public void aboutAllCopyrights() throws java.lang.Exception
java.lang.Exception
- If there is a problem reading or laying
out a model.public void aboutConfiguration() throws java.lang.Exception
java.lang.Exception
- If there is a problem reading or laying
out a model.public void aboutCopyrights() throws java.lang.Exception
java.lang.Exception
- If there is a problem reading or laying
out a model.public static void main(java.lang.String[] args)
To run, use:
$PTII/bin/ptinvoke ptolemy.actor.gui.test.junit.HTMLAboutJUnitTestWe use ptinvoke so that the classpath is set to include all the packages used by Ptolemy II.
args
- Ignored.protected void _openModel(java.lang.String modelFileName) throws java.lang.Exception
This is the main entry point for HTMLAbout tests.
The caller of this method need notbe in the Swing Event Thread.
modelFileName
- The file name of the test model.java.lang.Exception
- If the file name cannot be read or laid out.protected void _sleep()