diva.canvas.test
Class ConcreteFigures

java.lang.Object
  extended by diva.util.jester.TestSuite
      extended by 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: ConcreteFigures.java 48923 2008-03-25 21:19:29Z cxh $
Author:
John Reekie

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

ConcreteFigures

public ConcreteFigures(TestHarness harness)
Constructor

Method Detail

runSuite

public void runSuite()
runSuite()

Specified by:
runSuite in class TestSuite

main

public static void main(java.lang.String[] argv)
Create a default test harness and run all tests on it.