Strabon

changeset 1209:b6ffe8daaa9e

Added AsText Test for stSPARQL.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Mon Jul 15 16:03:46 2013 +0300 (2013-07-15)
parents 23cdbfdc73b6
children 81a8f4750e35
files testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/AsTextTest.rq testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/AsTextTest.srx
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/testsuite/src/test/resources/stSPARQL/BasicFunctionsTest/AsTextTest.rq	Mon Jul 15 16:03:46 2013 +0300
     1.3 @@ -0,0 +1,5 @@
     1.4 +select (strdf:asText(?g) as ?dimension)
     1.5 +where
     1.6 +{
     1.7 +	ex:polygon1 ex:hasGeometry ?g.
     1.8 +}
     1.9 \ 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/stSPARQL/BasicFunctionsTest/AsTextTest.srx	Mon Jul 15 16:03:46 2013 +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='dimension'/> 
     2.8 +		</head> 
     2.9 +		<results> 
    2.10 +			<result> 
    2.11 +				<binding name='dimension'> 
    2.12 +					<literal>POLYGON((0 0,1 0,1 1,0 1,0 0))</literal> 
    2.13 +				</binding> 
    2.14 +			</result> 
    2.15 +		</results> 
    2.16 +	</sparql> 
    2.17 \ No newline at end of file