public class TestGeoSpatialServiceEvaluation extends AbstractDataDrivenSPARQLTestCase
AbstractDataDrivenSPARQLTestCase.TestHelper, AbstractDataDrivenSPARQLTestCase.UpdateTestHelper
AbstractDataAndSPARQLTestCase.AbsHelper
TestCase2.MyProperties, TestCase2.RandomType
baseURI, store, valueFactory
_randomType
Constructor and Description |
---|
TestGeoSpatialServiceEvaluation() |
TestGeoSpatialServiceEvaluation(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 |
testCircleOutOfBounds01a()
Verify that a circle query with illegal center point latitude
value fails.
|
void |
testCircleOutOfBounds01b()
Verify that a circle query with illegal center point longitude
value fails.
|
void |
testCircleOutOfBounds02()
Verify that a query that spans over the max lat + lon
values does not fail, but yields all data in the database.
|
void |
testDimensionValueExtracion01()
Verify that location value is properly extracted.
|
void |
testDimensionValueExtracion02()
Verify that time value is properly extracted.
|
void |
testDimensionValueExtracion03()
Verify that location + time value is properly extracted.
|
void |
testDimensionValueExtracion04()
Verify that all dimension values are extracted properly
when respective output variables are present
PREFIX geo:
|
void |
testGrid180x5vCircle01()
Circle test q query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vCircle02()
Circle test query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vCircle03()
Circle test q query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vCircle04()
Circle test q query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vRectangle01()
Rectangle test q query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vRectangle02()
Rectangle test query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testGrid180x5vRectangle03()
Rectangle test query on grid ranging from [-179;180] longitude
and [-5;5] latitude and fixed "0" timestamp, aiming
covering edge cases overlapping the -180 and +180
longitude values.
|
void |
testInCircleQuery01a()
Test query
PREFIX geo:
|
void |
testInCircleQuery01b()
Test query
PREFIX geo:
|
void |
testInCircleQuery01c()
Test query
PREFIX geo:
|
void |
testInCircleQuery01d()
Test query
PREFIX geo:
|
void |
testInCircleQuery02()
Compared to the circle01* queries, the query
PREFIX geo:
|
void |
testInCircleQuery03()
A variant of circle02 where the unit is specified in miles rather
than kilometers (delivering the same result).
|
void |
testInCircleQuery04()
Compared to queries circle02 and circle03, the query
PREFIX geo:
|
void |
testInCircleQuery05()
Compared to queries circle04, the query
PREFIX geo:
|
void |
testInCircleQuery06a()
Query similar in spirit to circle04, but settled at the corner of our
gred (top left):
PREFIX geo:
|
void |
testInCircleQuery06b()
Query similar in spirit to circle06a, but top-right corner.
|
void |
testInCircleQuery06c()
Query similar in spirit to circle06a, but lower-left corner.
|
void |
testInCircleQuery06d()
Query similar in spirit to circle06a, but lower-right corner.
|
void |
testInCircleQueryParallel01()
Test query
PREFIX geo:
|
void |
testInRectangleQuery01()
Verify rectangle search with simple query:
PREFIX geo:
|
void |
testInRectangleQuery02()
Verify rectangle search with simple query:
PREFIX geo:
|
void |
testInRectangleQuery03()
Verify rectangle search with simple query:
PREFIX geo:
|
void |
testInRectangleQuery04()
Verify rectangle search with simple query:
PREFIX geo:
|
void |
testInRectangleQuery05()
Verify rectangle search with simple query:
PREFIX geo:
|
void |
testInRectangleQuery06()
Verify rectangle search with simple query (not wrapped into service):
PREFIX geo:
|
void |
testInRectangleQuery07()
Verify rectangle search with simple query and subsequent join of result.
|
void |
testInRectangleQuery08()
Verify precision handling.
|
void |
testRealWordCircle01()
Real world test against geo coordinates of few cities.
|
void |
testRealWordCircle02()
Real world test against geo coordinates of few cities.
|
void |
testRealWordCircleWithDistance01()
Real world test against geo coordinates of few cities,
including distance calculation.
|
void |
testRealWordCircleWithDistance02()
Real world test against geo coordinates of few cities,
including distance calculation and ORDER BY over distances.
|
void |
testRealWordRectangle01()
Real world test against geo coordinates of few cities.
|
void |
testRectangleOutOfBounds01a()
Assert failing in case of invalid rectangle coordinates (in upper left).
|
void |
testRectangleOutOfBounds01b()
Assert failing in case of invalid rectangle coordinates (in lower right).
|
void |
testRectangleQueryParallel01()
Verify rectangle search with simple:
PREFIX geo:
|
void |
testRectangleQueryParallel02()
Variant of testRectangleQueryParallel01.
|
void |
testRectangleQueryParallel03()
Variant of testRectangleQueryParallel01.
|
void |
testRectangleQueryParallel04()
Variant of testRectangleQueryParallel01.
|
void |
testRectangleQueryParallel05()
Variant of testRectangleQueryParallel01.
|
void |
testRectangleRealworld()
BLZG-1719: test rectangle for real-world example
|
void |
testUnknwonPredicate()
BLZG-1718: exception if search predicate is unknown
|
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 TestGeoSpatialServiceEvaluation()
public TestGeoSpatialServiceEvaluation(String name)
name
- public void testInRectangleQuery01() throws Exception
Exception
public void testInRectangleQuery02() throws Exception
Exception
public void testInRectangleQuery03() throws Exception
Exception
public void testInRectangleQuery04() throws Exception
Exception
public void testInRectangleQuery05() throws Exception
Exception
public void testInRectangleQuery06() throws Exception
Exception
public void testInRectangleQuery07() throws Exception
Exception
public void testInRectangleQuery08() throws Exception
Exception
public void testRectangleQueryParallel01() throws Exception
Exception
public void testRectangleQueryParallel02() throws Exception
Exception
public void testRectangleQueryParallel03() throws Exception
Exception
public void testRectangleQueryParallel04() throws Exception
Exception
public void testRectangleQueryParallel05() throws Exception
Exception
public void testInCircleQuery01a() throws Exception
Exception
public void testInCircleQuery01b() throws Exception
Exception
public void testInCircleQuery01c() throws Exception
Exception
public void testInCircleQuery01d() throws Exception
Exception
public void testInCircleQuery02() throws Exception
Exception
public void testInCircleQuery03() throws Exception
Exception
public void testInCircleQuery04() throws Exception
Exception
public void testInCircleQuery05() throws Exception
Exception
public void testInCircleQuery06a() throws Exception
Exception
public void testInCircleQuery06b() throws Exception
Exception
public void testInCircleQuery06c() throws Exception
Exception
public void testInCircleQuery06d() throws Exception
Exception
public void testInCircleQueryParallel01() throws Exception
Exception
public void testDimensionValueExtracion01() throws Exception
Exception
public void testDimensionValueExtracion02() throws Exception
Exception
public void testDimensionValueExtracion03() throws Exception
Exception
public void testDimensionValueExtracion04() throws Exception
Exception
public void testCircleOutOfBounds01a() throws Exception
Exception
public void testCircleOutOfBounds01b() throws Exception
Exception
public void testCircleOutOfBounds02() throws Exception
Exception
public void testRectangleOutOfBounds01a() throws Exception
Exception
public void testRectangleOutOfBounds01b() throws Exception
Exception
public void testRealWordCircle01() throws Exception
Exception
public void testRealWordCircle02() throws Exception
Exception
public void testRealWordCircleWithDistance01() throws Exception
Exception
public void testRealWordCircleWithDistance02() throws Exception
Exception
public void testRealWordRectangle01() throws Exception
Exception
public void testGrid180x5vRectangle01() throws Exception
Exception
public void testGrid180x5vRectangle02() throws Exception
Exception
public void testGrid180x5vRectangle03() throws Exception
Exception
public void testGrid180x5vCircle01() throws Exception
Exception
public void testGrid180x5vCircle02() throws Exception
Exception
public void testGrid180x5vCircle03() throws Exception
Exception
public void testGrid180x5vCircle04() throws Exception
Exception
public void testUnknwonPredicate() throws Exception
Exception
public void testRectangleRealworld() 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.