public class TestGeoSpatialCorrectRejection extends AbstractDataDrivenSPARQLTestCase
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelperAbstractDataAndSPARQLTestCase.AbsHelperTestCase2.MyProperties, TestCase2.RandomTypebaseURI, 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, tearDownassertSameSolutions, assertSameSolutions, assertSameSolutions, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, assertSameSolutionsAnyOrder, compareGraphs, compareTupleQueryResults, diffassertEquals, 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, logPropertiesassertEquals, 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, toStringpublic TestGeoSpatialCorrectRejection()
public TestGeoSpatialCorrectRejection(String name)
name - public void testCRWrongDataFormat01()
throws Exception
Exceptionpublic void testCRWrongDataFormat02()
throws Exception
Exceptionpublic void testCRWrongDataFormat03()
throws Exception
Exceptionpublic void testCRMissingTimeStart()
throws Exception
Exceptionpublic void testCRMissingTimeEnd()
throws Exception
Exceptionpublic void testCRUnusableTimeStart()
throws Exception
Exceptionpublic void testCRUnusableTimeEnd()
throws Exception
Exceptionpublic void testCRMissingCustomFields01()
throws Exception
Exceptionpublic void testCRMissingCustomFields02()
throws Exception
Exceptionpublic void testCRMissingCustomFields03()
throws Exception
Exceptionpublic void testCRMissingCustomFields04()
throws Exception
Exceptionpublic void testCRIncompleteCustomFields()
throws Exception
Exceptionpublic void testCRUnusableCustomFields()
throws Exception
Exceptionpublic void testCRTooManyCustomFields()
throws Exception
Exceptionpublic void testCRMissingGeoFunction()
throws Exception
Exceptionpublic void testCRInvalidGeoFunction()
throws Exception
Exceptionpublic void testCRUnusableGeoFunction()
throws Exception
Exceptionpublic void testCRMissingCoordSystem()
throws Exception
Exceptionpublic void testCRUnusableCoordSystem()
throws Exception
Exceptionpublic void testCRInRectangleNoSouthWest()
throws Exception
Exceptionpublic void testCRInRectangleInvalidSouthWest()
throws Exception
Exceptionpublic void testCRInRectangleNoNorthEast()
throws Exception
Exceptionpublic void testCRInRectangleInvalidNorthEast()
throws Exception
Exceptionpublic void testCRInRectangleCenterGiven()
throws Exception
Exceptionpublic void testCRInRectangleRadiusGiven()
throws Exception
Exceptionpublic void testCRInCircleSouthWestGiven()
throws Exception
Exceptionpublic void testCRInCircleNorthEastGiven()
throws Exception
Exceptionpublic void testCRInCircleNoCenterGiven()
throws Exception
Exceptionpublic void testCRInCircleInvalidCenterGiven()
throws Exception
Exceptionpublic void testCRInCircleNoRadiusGiven()
throws Exception
Exceptionpublic void testCRInCircleInvalidRadiusGiven()
throws Exception
Exceptionpublic void testCRLocationValueButNoLocation()
throws Exception
Exceptionpublic void testCRLocationAndTimeValueButNoLocation()
throws Exception
Exceptionpublic void testCRLocationAndTimeValueButNoTime()
throws Exception
Exceptionpublic void testCRLatValueButNoLocation()
throws Exception
Exceptionpublic void testCRLonValueButNoLocation()
throws Exception
Exceptionpublic void testCRTimeValueButNoTime()
throws Exception
Exceptionpublic void testCRDistanceButNoGeospatialComponent()
public void testCRDistanceButRectangleQuery()
public void testCRCustomFieldsValueButNoCustomFields()
throws Exception
Exceptionpublic void testCRUnknownGeoSpatialDatatype()
throws Exception
Exceptionpublic Properties getProperties()
TestCase2Properties 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 AbstractASTEvaluationTestCaseProperties 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.