Strabon

changeset 1080:74b13188f8b2

Removed duplicate prefixes from test queries.
author Panayiotis Smeros <psmeros@di.uoa.gr>
date Thu Apr 25 19:33:32 2013 +0300 (2013-04-25)
parents 0b0ef882b198
children 930ffef21daf
files testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq
line diff
     1.1 --- a/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Thu Apr 25 19:32:37 2013 +0300
     1.2 +++ b/testsuite/src/test/java/eu/earthobservatory/testsuite/utils/TemplateTest.java	Thu Apr 25 19:33:32 2013 +0300
     1.3 @@ -36,14 +36,7 @@
     1.4  	protected ArrayList<String> resultsFile;
     1.5  	protected Boolean inference;
     1.6  
     1.7 -	public TemplateTest(String datasetFile, ArrayList<String> queryFile, ArrayList<String> resultsFile, Boolean inference)
     1.8 -	{
     1.9 -		this.datasetFile = datasetFile;
    1.10 -		this.queryFile = queryFile;
    1.11 -		this.resultsFile = resultsFile;
    1.12 -		this.inference = inference;
    1.13 -	}
    1.14 -
    1.15 +	
    1.16  	public TemplateTest()
    1.17  	{
    1.18  		queryFile=new ArrayList<String>();
     2.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq	Thu Apr 25 19:32:37 2013 +0300
     2.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestDegrees.rq	Thu Apr 25 19:33:32 2013 +0300
     2.3 @@ -1,5 +1,3 @@
     2.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     2.5 -
     2.6  select (strdf:buffer(?g, 0.2, <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?buf)
     2.7  where
     2.8  {
     3.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq	Thu Apr 25 19:32:37 2013 +0300
     3.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestFilter.rq	Thu Apr 25 19:33:32 2013 +0300
     3.3 @@ -1,5 +1,3 @@
     3.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     3.5 -
     3.6  select ?g1
     3.7  where
     3.8  {
     4.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq	Thu Apr 25 19:32:37 2013 +0300
     4.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestMetres.rq	Thu Apr 25 19:33:32 2013 +0300
     4.3 @@ -1,5 +1,3 @@
     4.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     4.5 -
     4.6  select (strdf:buffer(?g, 0.2, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?buf)
     4.7  where
     4.8  {
     5.1 --- a/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq	Thu Apr 25 19:32:37 2013 +0300
     5.2 +++ b/testsuite/src/test/resources/stSPARQL/BufferTest/BufferTestWithDistance.rq	Thu Apr 25 19:33:32 2013 +0300
     5.3 @@ -1,5 +1,3 @@
     5.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     5.5 -
     5.6  select (strdf:buffer(?g1, strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/degree>), <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?buf)
     5.7  where
     5.8  {
     6.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq	Thu Apr 25 19:32:37 2013 +0300
     6.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestDegrees.rq	Thu Apr 25 19:33:32 2013 +0300
     6.3 @@ -1,5 +1,3 @@
     6.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     6.5 -
     6.6  select (strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/degree>) as ?dist)
     6.7  where
     6.8  {
     7.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq	Thu Apr 25 19:32:37 2013 +0300
     7.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestMetres.rq	Thu Apr 25 19:33:32 2013 +0300
     7.3 @@ -1,5 +1,3 @@
     7.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     7.5 -
     7.6  select (strdf:distance(?g1, ?g2, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?dist)
     7.7  where
     7.8  {
     8.1 --- a/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq	Thu Apr 25 19:32:37 2013 +0300
     8.2 +++ b/testsuite/src/test/resources/stSPARQL/DistanceTest/DistanceTestWithUnion.rq	Thu Apr 25 19:33:32 2013 +0300
     8.3 @@ -1,5 +1,3 @@
     8.4 -PREFIX strdf: <http://strdf.di.uoa.gr/ontology#>
     8.5 -
     8.6  select (strdf:distance(strdf:union(?g1, ?g2), ?g3, <http://www.opengis.net/def/uom/OGC/1.0/metre>) as ?dist)
     8.7  where
     8.8  {