public class TestGeoSpatialServiceConfigurationCustomDatatype extends AbstractDataDrivenSPARQLTestCase
TestGeoSpatialServiceConfiguration
with a custom datatype instead of using the built-in datatype.AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestGeoSpatialServiceConfigurationCustomDatatype() |
TestGeoSpatialServiceConfigurationCustomDatatype(String name) |
Modifier and Type | Method and Description |
---|---|
Properties |
getProperties()
Reads in the configuration properties for the test from a
variety of resources and returns a properties hierarchy.
|
void |
testCoordinateSystemInLatLonDatatype() |
void |
testCoordinateSystemInNonLatLonDatatype() |
void |
testCustomDatatypeCircle01LatLonTime()
Circle query over lat+lon+time datatype and database containing
lat+lon+time only data.
|
void |
testCustomDatatypeCircle01LatLonTimeMixedData()
Circle query over lat+lon+time datatype and database containing mixed data.
|
void |
testCustomDatatypeCircle01LatTimeLon()
Circle query over lat+time+lon datatype and database containing
lat+time+lon only data.
|
void |
testCustomDatatypeCircle01LatTimeLonMixedData()
Rectangle query over lat+lon+time datatype and database containing mixed data.
|
void |
testCustomDatatypeCircle01TimeLatLon()
Circle query over lat+time+lon datatype and database containing
lat+time+lon only data.
|
void |
testCustomDatatypeCircle01TimeLatLonMixedData()
Circle query over time+lat+lon datatype and database containing mixed data.
|
void |
testCustomDatatypePrecision()
Verify precision handling, which is changed in the configuration to be 6 for
the first component and 5 for the second one.
|
void |
testCustomDatatypeRect01LatLonTime()
Rectangle query over lat+lon+time datatype and database containing
lat+lon+time only data.
|
void |
testCustomDatatypeRect01LatLonTimeMixedData()
Rectangle query over lat+lon+time datatype and database containing mixed data.
|
void |
testCustomDatatypeRect01LatTimeLon()
Rectangle query over lat+time+lon datatype and database containing
lat+time+lon only data.
|
void |
testCustomDatatypeRect01LatTimeLonMixedData()
Rectangle query over lat+lon+time datatype and database containing mixed data.
|
void |
testCustomDatatypeRect01TimeLatLon()
Rectangle query over lat+time+lon datatype and database containing
lat+time+lon only data.
|
void |
testCustomDatatypeRect01TimeLatLonMixedData()
Rectangle query over time+lat+lon datatype and database containing mixed data.
|
void |
testUnknownDatatypeRejected()
Correct rejection test with search query for datatype that is not registered.
|
assertSameAST, asSet, asSet, asSet, asSet, asSet, enableDeleteMarkersInIndes, getBOpContext, getStore, makeIV, setUp, tearDown
assertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diff
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEqualsWithinUlps, assertSameArray, assertSameArray, assertSameBigDecimal, assertSameBigDecimal, assertSameBigInteger, assertSameBigInteger, assertSameIterator, assertSameIterator, assertSameIteratorAnyOrder, assertSameIteratorAnyOrder, assertSameValue, assertSameValue, assertZeroUlps, assertZeroUlps, fail, getInnerCause, getNormalInt, getProjectBuildPath, getRandomObject, getRandomObject, getRandomOrder, getRandomString, getTestInputStream, getTestResource, getTestResource, getUlps, getUlps, isDEBUG, isDEBUG, isINFO, isINFO, isInnerCause, logProperties
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, countTestCases, createResult, fail, fail, failNotEquals, failNotSame, failSame, format, getName, run, run, runBare, runTest, setName, toString
public TestGeoSpatialServiceConfigurationCustomDatatype()
public TestGeoSpatialServiceConfigurationCustomDatatype(String name)
name
- public void testCustomDatatypeRect01LatLonTime() throws Exception
Exception
public void testCustomDatatypeRect01LatLonTimeMixedData() throws Exception
Exception
public void testCustomDatatypeRect01LatTimeLon() throws Exception
Exception
public void testCustomDatatypeRect01LatTimeLonMixedData() throws Exception
Exception
public void testCustomDatatypeRect01TimeLatLon() throws Exception
Exception
public void testCustomDatatypeRect01TimeLatLonMixedData() throws Exception
Exception
public void testCustomDatatypeCircle01LatLonTime() throws Exception
Exception
public void testCustomDatatypeCircle01LatLonTimeMixedData() throws Exception
Exception
public void testCustomDatatypeCircle01LatTimeLon() throws Exception
Exception
public void testCustomDatatypeCircle01LatTimeLonMixedData() throws Exception
Exception
public void testCustomDatatypeCircle01TimeLatLon() throws Exception
Exception
public void testCustomDatatypeCircle01TimeLatLonMixedData() throws Exception
Exception
public void testUnknownDatatypeRejected() throws Exception
Exception
public void testCustomDatatypePrecision() throws Exception
TestGeoSpatialServiceEvaluation.testInRectangleQuery08()
for baseline.
The query
PREFIX geo: Exception
public void testCoordinateSystemInLatLonDatatype() throws Exception
Exception
public void testCoordinateSystemInNonLatLonDatatype() throws Exception
Exception
public Properties getProperties()
TestCase2
Properties
object, then the lower levels of the
hierarchy are recursively searched.The hierarchy is constructed from the following properties files in the following order. The first property file in this list corresponds to the top of the property hierarchy. The last property file in this list corresponds to the bottom of the property hierarchy. The property resources are:
getProperties
in class AbstractASTEvaluationTestCase
Properties
object that supplies bindings for
property names according to the described hierarchy among
property resources. The returned Properties
is NOT
cached.
TODO This does not handle the recursive truncation of the
class name to search for "test.properties" yet.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.