|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjunit.framework.Assert
junit.framework.TestCase
org.geotools.demo.main.FeatureCollectionExampleTest
public class FeatureCollectionExampleTest
This class collects several examples on the use of DefaultFeatureCollection.
For the wiki page associated with these examples please visit:
If you update this file please correct the above pages.Implementation notes: Where possible we are restricting ourself to the formal api, we try not to use keyword "new" (and instead make use of a Factory).
Constructor Summary | |
---|---|
FeatureCollectionExampleTest()
|
Method Summary | |
---|---|
protected void |
setUp()
|
void |
testAddingContentToYourFeatureCollection()
|
void |
testClassifier()
See FeatureCollection Classigication Functions in the wiki |
void |
testFeatureCollectionsNewCollection()
|
void |
testFeatureIterator()
This example also works with Java 1.4 |
void |
testFeatureVisitor()
The easiest way to work with data |
void |
testIterator()
IMPORTANT - You must close your iterator |
void |
testIteratorSafe()
Important when working with real data |
void |
testNewDefaultFeatureCollection()
You can create using a normal constructor ... |
void |
testSum()
|
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, failNotEquals, failNotSame, failSame, format |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public FeatureCollectionExampleTest()
Method Detail |
---|
protected void setUp() throws java.lang.Exception
setUp
in class junit.framework.TestCase
java.lang.Exception
public void testNewDefaultFeatureCollection()
public void testFeatureCollectionsNewCollection()
public void testAddingContentToYourFeatureCollection() throws java.lang.Exception
java.lang.Exception
public void testSum()
public void testClassifier()
public void testFeatureVisitor()
public void testIterator()
public void testIteratorSafe()
public void testFeatureIterator()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |