Search in sources :

Example 1 with GeometryGetterTest

use of org.apache.sis.internal.sql.feature.GeometryGetterTest in project sis by apache.

the class PostgresTest method testGeometryGetter.

/**
 * Tests {@link org.apache.sis.internal.sql.feature.GeometryGetter}
 * in the context of querying a database.
 *
 * @throws Exception if an error occurred while testing the database.
 */
private static void testGeometryGetter(final ExtendedInfo info, final Connection connection) throws Exception {
    final GeometryGetterTest test = new GeometryGetterTest();
    test.testFromDatabase(connection, info, BinaryEncoding.HEXADECIMAL);
}
Also used : GeometryGetterTest(org.apache.sis.internal.sql.feature.GeometryGetterTest)

Aggregations

GeometryGetterTest (org.apache.sis.internal.sql.feature.GeometryGetterTest)1