| org.geotools.gui.swing.TestBase
All known Subclasses: org.geotools.gui.swing.FeatureTableModelTest, org.geotools.gui.swing.MiscellaneousWidgetTest,
TestBase | public class TestBase extends TestCase (Code) | | Base class for test on widgets. Widgets will be displayed only if the test is run
from the main method. Otherwise (i.e. if run from Maven), widgets are invisibles.
version: $Id: TestBase.java 20883 2006-08-07 13:48:09Z jgarnett $ author: Martin Desruisseaux |
Constructor Summary | |
public | TestBase(String name) Creates a new instance of
TestBase . |
Method Summary | |
protected static void | main(String[] args, Test suite) Run the test case from the command line. | protected static void | show(Component component) Show a component in a frame. | protected static void | show(Component component, String title) Show a component in a frame. |
TestBase | public TestBase(String name)(Code) | | Creates a new instance of
TestBase .
|
main | protected static void main(String[] args, Test suite)(Code) | | Run the test case from the command line. This method should be invoked
from the
main method in subclasses.
|
show | protected static void show(Component component)(Code) | | Show a component in a frame. The component will be shown only if the test suite
is executed from the
TestBase.main main method.
Parameters: component - The component to show. |
show | protected static void show(Component component, String title)(Code) | | Show a component in a frame. The component will be shown only if the test suite
is executed from the
TestBase.main main method.
Parameters: component - The component to show. Parameters: title - The window title. |
|
|