Package diva.canvas.test
Class ConcreteFigures
- java.lang.Object
-
- diva.util.jester.TestSuite
-
- diva.canvas.test.ConcreteFigures
-
public class ConcreteFigures extends TestSuite
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.- Version:
- $Id$
- Author:
- John Reekie
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ConcreteFigures.BasicRectangleFactory1
Create a BasicRectangle with stroked outlinestatic class
ConcreteFigures.BasicRectangleFactory2
Create a filled BasicRectanglestatic class
ConcreteFigures.CompositeFigureFactory1
Create a CompositeFigure with a filled rectangle backgroundstatic class
ConcreteFigures.IconFigureFactory
Create an icon figurestatic class
ConcreteFigures.ImageFigureFactory
Create an image figurestatic class
ConcreteFigures.LabelFigureFactory
Create an image figurestatic class
ConcreteFigures.PaneWrapperFactory
Create a PaneWrapper with a filled rectangle background
-
Constructor Summary
Constructors Constructor Description ConcreteFigures(TestHarness harness)
Constructor
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Constructor Detail
-
ConcreteFigures
public ConcreteFigures(TestHarness harness)
Constructor
-
-