public class TestGeoSpatialCorrectRejection extends AbstractDataDrivenSPARQLTestCase
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestGeoSpatialCorrectRejection() |
TestGeoSpatialCorrectRejection(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 |
testCRCustomFieldsValueButNoCustomFields()
Test case where we aim at extracting the time value, but the index contains no time.
|
void |
testCRDistanceButNoGeospatialComponent()
Test case where we aim at extracting the distance, but the index contains no latitude/longitude.
|
void |
testCRDistanceButRectangleQuery()
Test case where we aim at extracting the distance, but the index contains no latitude/longitude.
|
void |
testCRInCircleInvalidCenterGiven()
Test case where circle query is given with an invalid center
|
void |
testCRInCircleInvalidRadiusGiven()
Test case where circle query is given with an invalid radius
|
void |
testCRInCircleNoCenterGiven()
Test case where circle query is given but no circle center is specified.
|
void |
testCRInCircleNoRadiusGiven()
Test case where circle query is given but no radius is specified.
|
void |
testCRInCircleNorthEastGiven()
Test case where circle query is given in combination with a north-east coordinate.
|
void |
testCRInCircleSouthWestGiven()
Test case where circle query is given in combination with a south-west coordinate.
|
void |
testCRIncompleteCustomFields()
Test case with customFields specification being incomplete.
|
void |
testCRInRectangleCenterGiven()
Test case where rectangle query is given in combination with a circle center.
|
void |
testCRInRectangleInvalidNorthEast()
Test case where rectangle query is given and north-east is not a valid coordinate.
|
void |
testCRInRectangleInvalidSouthWest()
Test case where rectangle query is given and south-west is not a valid coordinate.
|
void |
testCRInRectangleNoNorthEast()
Test case where rectangle query is given, but no north-east coordinate is specified.
|
void |
testCRInRectangleNoSouthWest()
Test case where rectangle query is given, but no south-west coordinate is specified.
|
void |
testCRInRectangleRadiusGiven()
Test case where rectangle query is given in combination with a circle radius.
|
void |
testCRInvalidGeoFunction()
Test case where geo function is invalid.
|
void |
testCRLatValueButNoLocation()
Test case where we aim at extracting the latitude value, but the index contains no location.
|
void |
testCRLocationAndTimeValueButNoLocation()
Test case where we aim at extracting the locationAndTime value, but the index contains no location.
|
void |
testCRLocationAndTimeValueButNoTime()
Test case where we aim at extracting the locationAndTime value, but the index contains no time.
|
void |
testCRLocationValueButNoLocation()
Test case where we aim at extracting the location value, but the index contains no location.
|
void |
testCRLonValueButNoLocation()
Test case where we aim at extracting the longitude value, but the index contains no location.
|
void |
testCRMissingCoordSystem()
Test case where coordinate system is given, but index requires it.
|
void |
testCRMissingCustomFields01()
Test case with customFields specification missing.
|
void |
testCRMissingCustomFields02()
Test case with customFields specification missing.
|
void |
testCRMissingCustomFields03()
Test case with customFields specification missing.
|
void |
testCRMissingCustomFields04()
Test case with customFields specification missing.
|
void |
testCRMissingGeoFunction()
Test case where geo function is not given, but index requires it.
|
void |
testCRMissingTimeEnd()
Test case with timeEnd specification missing.
|
void |
testCRMissingTimeStart()
Test case with timeStart specification missing.
|
void |
testCRTimeValueButNoTime()
Test case where we aim at extracting the time value, but the index contains no time.
|
void |
testCRTooManyCustomFields()
Test case with customFields specification containing too many elements.
|
void |
testCRUnknownGeoSpatialDatatype()
Test case where we query a datatype that is not a geospatial one.
|
void |
testCRUnusableCoordSystem()
Test case where coordinate system is given, but index cannot use it.
|
void |
testCRUnusableCustomFields()
Test case with customFields given, but no custom fields being defined in the index.
|
void |
testCRUnusableGeoFunction()
Test case where geo function is given, but index cannot use it.
|
void |
testCRUnusableTimeEnd()
Test case with timeEnd specification missing, but not present in index.
|
void |
testCRUnusableTimeStart()
Test case with timeStart specification given, but not present in index.
|
void |
testCRWrongDataFormat01()
Test case with geospatial literal that has too many elements.
|
void |
testCRWrongDataFormat02()
Test case with geospatial literal that has not enough elements.
|
void |
testCRWrongDataFormat03()
Test case with geospatial literal that is not numerical.
|
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 TestGeoSpatialCorrectRejection()
public TestGeoSpatialCorrectRejection(String name)
name
- public void testCRWrongDataFormat01() throws Exception
Exception
public void testCRWrongDataFormat02() throws Exception
Exception
public void testCRWrongDataFormat03() throws Exception
Exception
public void testCRMissingTimeStart() throws Exception
Exception
public void testCRMissingTimeEnd() throws Exception
Exception
public void testCRUnusableTimeStart() throws Exception
Exception
public void testCRUnusableTimeEnd() throws Exception
Exception
public void testCRMissingCustomFields01() throws Exception
Exception
public void testCRMissingCustomFields02() throws Exception
Exception
public void testCRMissingCustomFields03() throws Exception
Exception
public void testCRMissingCustomFields04() throws Exception
Exception
public void testCRIncompleteCustomFields() throws Exception
Exception
public void testCRUnusableCustomFields() throws Exception
Exception
public void testCRTooManyCustomFields() throws Exception
Exception
public void testCRMissingGeoFunction() throws Exception
Exception
public void testCRInvalidGeoFunction() throws Exception
Exception
public void testCRUnusableGeoFunction() throws Exception
Exception
public void testCRMissingCoordSystem() throws Exception
Exception
public void testCRUnusableCoordSystem() throws Exception
Exception
public void testCRInRectangleNoSouthWest() throws Exception
Exception
public void testCRInRectangleInvalidSouthWest() throws Exception
Exception
public void testCRInRectangleNoNorthEast() throws Exception
Exception
public void testCRInRectangleInvalidNorthEast() throws Exception
Exception
public void testCRInRectangleCenterGiven() throws Exception
Exception
public void testCRInRectangleRadiusGiven() throws Exception
Exception
public void testCRInCircleSouthWestGiven() throws Exception
Exception
public void testCRInCircleNorthEastGiven() throws Exception
Exception
public void testCRInCircleNoCenterGiven() throws Exception
Exception
public void testCRInCircleInvalidCenterGiven() throws Exception
Exception
public void testCRInCircleNoRadiusGiven() throws Exception
Exception
public void testCRInCircleInvalidRadiusGiven() throws Exception
Exception
public void testCRLocationValueButNoLocation() throws Exception
Exception
public void testCRLocationAndTimeValueButNoLocation() throws Exception
Exception
public void testCRLocationAndTimeValueButNoTime() throws Exception
Exception
public void testCRLatValueButNoLocation() throws Exception
Exception
public void testCRLonValueButNoLocation() throws Exception
Exception
public void testCRTimeValueButNoTime() throws Exception
Exception
public void testCRDistanceButNoGeospatialComponent()
public void testCRDistanceButRectangleQuery()
public void testCRCustomFieldsValueButNoCustomFields() throws Exception
Exception
public void testCRUnknownGeoSpatialDatatype() 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.