"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "modules/plugin/mongodb/src/test/java/org/geotools/data/mongodb/MongoDataStoreTest.java" between
geotools-24.0-project.zip and geotools-24.1-project.zip

About: GeoTools (The Open Source Java GIS Toolkit) is a Java code library which provides standards compliant methods for the manipulation of geospatial data.

MongoDataStoreTest.java  (geotools-24.0-project):MongoDataStoreTest.java  (geotools-24.1-project)
skipping to change at line 56 skipping to change at line 56
import org.opengis.filter.spatial.Intersects; import org.opengis.filter.spatial.Intersects;
public abstract class MongoDataStoreTest extends MongoTestSupport { public abstract class MongoDataStoreTest extends MongoTestSupport {
protected MongoDataStoreTest(MongoTestSetup testSetup) { protected MongoDataStoreTest(MongoTestSetup testSetup) {
super(testSetup); super(testSetup);
} }
public void testGetTypeNames() throws Exception { public void testGetTypeNames() throws Exception {
String[] typeNames = dataStore.getTypeNames(); String[] typeNames = dataStore.getTypeNames();
assertEquals(1, typeNames.length); assertEquals(2, typeNames.length);
assertEquals("ft1", typeNames[0]); assertEquals("ft1", typeNames[0]);
assertEquals("ft3", typeNames[1]);
} }
public void testGetSchema() throws Exception { public void testGetSchema() throws Exception {
SimpleFeatureType schema = dataStore.getSchema("ft1"); SimpleFeatureType schema = dataStore.getSchema("ft1");
assertNotNull(schema); assertNotNull(schema);
assertNotNull(schema.getDescriptor("geometry")); assertNotNull(schema.getDescriptor("geometry"));
assertTrue( assertTrue(
Geometry.class.isAssignableFrom( Geometry.class.isAssignableFrom(
schema.getDescriptor("geometry").getType().getBinding()) ); schema.getDescriptor("geometry").getType().getBinding()) );
 End of changes. 2 change blocks. 
1 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)