| |
|
| org.geotools.arcsde.data.ArcSDEDataStoreTest
ArcSDEDataStoreTest | public class ArcSDEDataStoreTest extends TestCase (Code) | | ArcSDEDAtaStore test cases
author: Gabriel Roldan, Axios Engineering version: $Id: ArcSDEDataStoreTest.java 27863 2007-11-12 20:34:34Z desruisseaux $ |
Field Summary | |
FilterFactory | ff |
ff | FilterFactory ff(Code) | | a filter factory for testing
|
ArcSDEDataStoreTest | public ArcSDEDataStoreTest()(Code) | | Creates a new ArcSDEDataStoreTest object.
|
ArcSDEDataStoreTest | public ArcSDEDataStoreTest(String name)(Code) | | Creates a new ArcSDEDataStoreTest object.
Parameters: name - a name for the junit test |
_testAutoFillSRS | public void _testAutoFillSRS() throws Throwable(Code) | | This test is currently broken. It's a placeholder for some logic
that sfarber wrote which tries to guess the SRS of a featureclass, based on connecting
to it via an SeLayer.
throws: Throwable - |
setUp | protected void setUp() throws Exception(Code) | | loads
testData/testparams.properties into a Properties object, wich is
used to obtain test tables names and is used as parameter to find the DataStore
throws: Exception - DOCUMENT ME! |
testAttributeOnlyQuery | public void testAttributeOnlyQuery() throws Exception(Code) | | to expose GEOT-408, tests that queries in which only non spatial
attributes are requested does not fails due to the datastore trying to
parse the geometry attribute.
throws: Exception - DOCUMENT ME! |
testBBoxFilterLines | public void testBBoxFilterLines() throws Exception(Code) | | DOCUMENT ME!
throws: Exception - DOCUMENT ME! |
testBBoxFilterPoints | public void testBBoxFilterPoints() throws Exception(Code) | | DOCUMENT ME!
throws: Exception - DOCUMENT ME! |
testBBoxFilterPolygons | public void testBBoxFilterPolygons() throws Exception(Code) | | DOCUMENT ME!
throws: Exception - DOCUMENT ME! |
testFidFilters | public void testFidFilters() throws Exception(Code) | | Test that FID filters are correctly handled
throws: Exception - DOCUMENT ME! |
testGetFeatureReader | public void testGetFeatureReader() throws IOException, IllegalAttributeException(Code) | | This method tests the feature reader by opening various simultaneous
FeatureReaders using the 3 test tables.
I found experimentally that until 24 simultaneous streams can be opened
by a single connection. Each featurereader has an ArcSDE stream opened
until its close() method is called or hasNext() returns
flase, wich automatically closes the stream. If more than 24
simultaneous streams are tryied to be opened upon a single
SeConnection, an exception is thrown by de Java ArcSDE API saying that
a "NETWORK I/O OPERATION FAILED"
throws: IOException - DOCUMENT ME! throws: IllegalAttributeException - DOCUMENT ME! |
testGetFeatureSourcePoint | public void testGetFeatureSourcePoint() throws IOException(Code) | | test that getFeatureSource over the point_table table works
throws: IOException - DOCUMENT ME! |
testGetSchema | public void testGetSchema() throws IOException(Code) | | tests that the schema for the defined tests tables are returned.
throws: IOException - DOCUMENT ME! |
testGetTypeNames | public void testGetTypeNames() throws IOException(Code) | | test that a ArcSDEDataStore that connects to de configured test database
contains the tables defined by the parameters "point_table",
"line_table" and "polygon_table", wether ot not they're defined as
single table names or as full qualified sde table names (i.e.
SDE.SDE.TEST_POINT)
throws: IOException - |
testMixedQueries | public void testMixedQueries() throws Exception(Code) | | tests the datastore behavior when fetching data based on mixed queries.
"Mixed queries" refers to mixing alphanumeric and geometry based
filters, since that is the natural separation of things in the Esri
Java API for ArcSDE. This is necessary since mixed queries sometimes
are problematic. So this test ensures that:
-
A mixed query respects all filters
-
A mixed query does not fails when getBounds() is performed
-
A mixed query does not fails when size() is performed
throws: Exception - DOCUMENT ME! |
testMoreThan1000FidFilters | public void testMoreThan1000FidFilters() throws Exception(Code) | | |
testSQLFilterPoints | public void testSQLFilterPoints() throws Exception(Code) | | DOCUMENT ME!
throws: Exception - DOCUMENT ME! |
testSQLFilterPolygons | public void testSQLFilterPolygons() throws Exception(Code) | | DOCUMENT ME!
throws: Exception - DOCUMENT ME! |
|
|
|