org.shapelogic.imageprocessing
Class AbstractImageProcessingTests

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.shapelogic.imageprocessing.AbstractImageProcessingTests
All Implemented Interfaces:
junit.framework.Test
Direct Known Subclasses:
BaseLetterMatchingForVectorizersTests, BaseParticleCounterTest, ColorParticleAnalyzerTest, DirectionBasedVectorizerTest, DistanceBasedColorHypothesisFinderTest, LineVectorizerTest, MaxDistanceVectorizerTest, ParticleCounterTest, RGBColorParticleAnalyzerTest, SegmentTest

public class AbstractImageProcessingTests
extends junit.framework.TestCase

Has the logic to read image from file and call the different PlugInFilter on it

Author:
Sami Badawi

Constructor Summary
AbstractImageProcessingTests()
           
 
Method Summary
static void assertEmptyCollection(java.lang.Object obj)
           
 void dummyTest()
          To prevent waring when running all tests.
 void printAnnotaions(org.shapelogic.polygon.Polygon polygon)
           
 void printLines(org.shapelogic.polygon.Polygon polygon)
           
 void printPoints(org.shapelogic.polygon.Polygon polygon)
           
 void printPolygon(org.shapelogic.polygon.Polygon polygon)
           
protected  void setUp()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
 
Methods inherited from class junit.framework.Assert
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractImageProcessingTests

public AbstractImageProcessingTests()
Method Detail

setUp

protected void setUp()
              throws java.lang.Exception
Overrides:
setUp in class junit.framework.TestCase
Throws:
java.lang.Exception

printLines

public void printLines(org.shapelogic.polygon.Polygon polygon)

printPoints

public void printPoints(org.shapelogic.polygon.Polygon polygon)

printAnnotaions

public void printAnnotaions(org.shapelogic.polygon.Polygon polygon)

printPolygon

public void printPolygon(org.shapelogic.polygon.Polygon polygon)

assertEmptyCollection

public static void assertEmptyCollection(java.lang.Object obj)

dummyTest

public void dummyTest()
To prevent waring when running all tests.



Copyright © 2009. All Rights Reserved.