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:
$Revision: 1.8 $
Author:
John Reekie (johnr@eecs.berkeley.edu)

Nested Class Summary
 class ConcreteFigures.BasicRectangleFactory1
          Create a BasicRectangle with stroked outline
 class ConcreteFigures.BasicRectangleFactory2
          Create a filled BasicRectangle
 class ConcreteFigures.CompositeFigureFactory1
          Create a CompositeFigure with a filled rectangle background
 class ConcreteFigures.IconFigureFactory
          Create an icon figure
 class ConcreteFigures.ImageFigureFactory
          Create an image figure
 class ConcreteFigures.LabelFigureFactory
          Create an image figure
 class ConcreteFigures.PaneWrapperFactory
          Create a PaneWrapper with a filled rectangle background
 
Constructor Summary
ConcreteFigures(TestHarness harness)
          Constructor
 
Method Summary
static void main(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(String[] argv)
Create a default test harness and run all tests on it.



Copyright © 2015 Central Laboratory of the Research Councils. All Rights Reserved.