|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdiva.util.jester.TestSuite
diva.canvas.test.ConcreteFigures
public class ConcreteFigures
A test suite for testing concrete figures. This suite creates a factory for each available concrete figure class and runs the Figure tests on figures it produces.
Nested Class Summary | |
---|---|
static class |
ConcreteFigures.BasicRectangleFactory1
Create a BasicRectangle with stroked outline |
static class |
ConcreteFigures.BasicRectangleFactory2
Create a filled BasicRectangle |
static class |
ConcreteFigures.CompositeFigureFactory1
Create a CompositeFigure with a filled rectangle background |
static class |
ConcreteFigures.IconFigureFactory
Create an icon figure |
static class |
ConcreteFigures.ImageFigureFactory
Create an image figure |
static class |
ConcreteFigures.LabelFigureFactory
Create an image figure |
static class |
ConcreteFigures.PaneWrapperFactory
Create a PaneWrapper with a filled rectangle background |
Constructor Summary | |
---|---|
ConcreteFigures(TestHarness harness)
Constructor |
Method Summary | |
---|---|
static void |
main(java.lang.String[] argv)
Create a default test harness and run all tests on it. |
void |
runSuite()
runSuite() |
Methods inherited from class diva.util.jester.TestSuite |
---|
getFactory, getTestHarness, run, runAll, runTestCase, setFactory, setTestHarness |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ConcreteFigures(TestHarness harness)
Method Detail |
---|
public void runSuite()
runSuite
in class TestSuite
public static void main(java.lang.String[] argv)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |