Strabon

changeset 1400:59c935dc81e4

added another test for geof:getSRID (see bug #32)
author Babis Nikolaou <charnik@di.uoa.gr>
date Fri Sep 19 14:37:15 2014 +0300 (2014-09-19)
parents 7de3ab5fb09e
children 7b5fe3164aab
files testsuite/src/test/resources/geoSPARQL/BasicFunctionsTest/getSRIDFromConstantTest5.rq testsuite/src/test/resources/geoSPARQL/BasicFunctionsTest/getSRIDFromConstantTest5.srx
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testsuite/src/test/resources/geoSPARQL/BasicFunctionsTest/getSRIDFromConstantTest5.rq	Fri Sep 19 14:37:15 2014 +0300
     1.3 @@ -0,0 +1,2 @@
     1.4 +SELECT DISTINCT (geof:getSRID("POINT(0 1)"^^strdf:WKT) as ?srid)   
     1.5 +WHERE { ?s ?p ?o }
     1.6 \ No newline at end of file
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/testsuite/src/test/resources/geoSPARQL/BasicFunctionsTest/getSRIDFromConstantTest5.srx	Fri Sep 19 14:37:15 2014 +0300
     2.3 @@ -0,0 +1,13 @@
     2.4 +<?xml version='1.0' encoding='UTF-8'?> 
     2.5 +	<sparql xmlns='http://www.w3.org/2005/sparql-results#'> 
     2.6 +		<head> 
     2.7 +			<variable name='srid'/> 
     2.8 +		</head> 
     2.9 +		<results> 
    2.10 +			<result> 
    2.11 +				<binding name='srid'> 
    2.12 +					<uri>http://www.opengis.net/def/crs/OGC/1.3/CRS84</uri> 
    2.13 +				</binding> 
    2.14 +			</result> 
    2.15 +		</results> 
    2.16 +	</sparql> 
    2.17 \ No newline at end of file