org.geotools.demo.main
Class FeatureExampleTest

java.lang.Object
  extended by junit.framework.Assert
      extended by junit.framework.TestCase
          extended by org.geotools.demo.main.FeatureExampleTest
All Implemented Interfaces:
junit.framework.Test

public class FeatureExampleTest
extends junit.framework.TestCase

This class collects several examples on the use of DefaultFeature.

For the wiki page associated with these examples please visit:

Where possible we are restricting ourself to the formal api, and the use of a FactoryFinder. Only the "raw" example makes use of they keyword "new".

Author:
Jody Garnett

Constructor Summary
FeatureExampleTest()
           
 
Method Summary
 void testDefaultAttributeValues()
           
 void testHowToCreateAFeature()
           
 
Methods inherited from class junit.framework.TestCase
countTestCases, createResult, getName, run, run, runBare, runTest, setName, setUp, 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, failNotEquals, failNotSame, failSame, format
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FeatureExampleTest

public FeatureExampleTest()
Method Detail

testHowToCreateAFeature

public void testHowToCreateAFeature()
                             throws java.lang.Exception
Throws:
java.lang.Exception

testDefaultAttributeValues

public void testDefaultAttributeValues()
                                throws java.lang.Exception
Throws:
java.lang.Exception


Copyright © 1996-2010 Geotools. All Rights Reserved.