org.geotools.validation.relate
Class SpatialTestCase

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.geotools.validation.relate.SpatialTestCase
All Implemented Interfaces:
junit.framework.Test

public class SpatialTestCase
extends junit.framework.TestCase

SpatialTestCase

Version:

Puropse:

DOCUMENT ME!!

Description:

DOCUMENT ME!!

Usage:

DOCUMENT ME!!

Author:
bowens
Created Apr 29, 2004

Field Summary
protected  org.opengis.filter.FilterFactory filterFactory
           
protected  com.vividsolutions.jts.geom.GeometryFactory gf
           
protected  ReferencedEnvelope lineBounds
           
protected  org.opengis.feature.simple.SimpleFeature[] lineFeatures
           
protected  org.opengis.filter.Filter lineFilter
           
protected  org.opengis.feature.simple.SimpleFeatureType lineType
           
protected  com.vividsolutions.jts.geom.LineString ls0
           
protected  com.vividsolutions.jts.geom.LineString ls1
           
protected  com.vividsolutions.jts.geom.LineString ls2
           
protected  com.vividsolutions.jts.geom.LineString ls3
           
protected  java.lang.String namespace
           
 
Constructor Summary
SpatialTestCase(java.lang.String arg0)
          Constructor for OverlapsIntegrityTest.
 
Method Summary
protected  void setUp()
           
protected  void tearDown()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

gf

protected com.vividsolutions.jts.geom.GeometryFactory gf

lineType

protected org.opengis.feature.simple.SimpleFeatureType lineType

lineFeatures

protected org.opengis.feature.simple.SimpleFeature[] lineFeatures

lineBounds

protected ReferencedEnvelope lineBounds

ls0

protected com.vividsolutions.jts.geom.LineString ls0

ls1

protected com.vividsolutions.jts.geom.LineString ls1

ls2

protected com.vividsolutions.jts.geom.LineString ls2

ls3

protected com.vividsolutions.jts.geom.LineString ls3

namespace

protected java.lang.String namespace

filterFactory

protected org.opengis.filter.FilterFactory filterFactory

lineFilter

protected org.opengis.filter.Filter lineFilter
Constructor Detail

SpatialTestCase

public SpatialTestCase(java.lang.String arg0)
Constructor for OverlapsIntegrityTest.

Parameters:
arg0 -
Method Detail

setUp

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

 			 (0,2)				(2.6,2)
 			    x					x
 				 \  				|
 				  \ls1				|ls2
 				   \	 			|
 			  (1,1)+				+
 				   |				|
 				   |				|
 		ls0		   |	   (2,0.1)	|						ls3
 (0,0)x----------+----------+----------+==========x----------x
 				   |				|			  (4,0)		 (5,0.1)
 				   |				|
 				   |				|
 				   x				x
 				(1,-1)			  (2,-1)

 

tearDown

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


Copyright © 1996-2010 Geotools. All Rights Reserved.