RYA-377 Fixed tests where the Temporal functions were not being referenced correctly.
Project: http://git-wip-us.apache.org/repos/asf/incubator-rya/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-rya/commit/acd76546 Tree: http://git-wip-us.apache.org/repos/asf/incubator-rya/tree/acd76546 Diff: http://git-wip-us.apache.org/repos/asf/incubator-rya/diff/acd76546 Branch: refs/heads/master Commit: acd7654667444a64a833a6c4dec39b1c224f5550 Parents: 92c85ee Author: kchilton2 <[email protected]> Authored: Thu Jan 4 15:47:43 2018 -0500 Committer: caleb <[email protected]> Committed: Tue Jan 9 15:13:02 2018 -0500 ---------------------------------------------------------------------- .../streams/kafka/processors/filter/TemporalFilterIT.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-rya/blob/acd76546/extras/rya.streams/integration/src/test/java/org/apache/rya/streams/kafka/processors/filter/TemporalFilterIT.java ---------------------------------------------------------------------- diff --git a/extras/rya.streams/integration/src/test/java/org/apache/rya/streams/kafka/processors/filter/TemporalFilterIT.java b/extras/rya.streams/integration/src/test/java/org/apache/rya/streams/kafka/processors/filter/TemporalFilterIT.java index 22a883b..6e27669 100644 --- a/extras/rya.streams/integration/src/test/java/org/apache/rya/streams/kafka/processors/filter/TemporalFilterIT.java +++ b/extras/rya.streams/integration/src/test/java/org/apache/rya/streams/kafka/processors/filter/TemporalFilterIT.java @@ -30,6 +30,7 @@ import java.util.UUID; import org.apache.kafka.streams.processor.TopologyBuilder; import org.apache.rya.api.function.projection.RandomUUIDFactory; +import org.apache.rya.api.function.temporal.TemporalURIs; import org.apache.rya.api.model.VisibilityBindingSet; import org.apache.rya.api.model.VisibilityStatement; import org.apache.rya.streams.kafka.KafkaTopics; @@ -89,7 +90,7 @@ public class TemporalFilterIT { // Get the RDF model objects that will be used to build the query. final String sparql = "PREFIX time: <http://www.w3.org/2006/time/> \n" - + "PREFIX tempf: <http://rya.apache.org/ns/temporal/>\n" + + "PREFIX tempf: <" + TemporalURIs.NAMESPACE + ">\n" + "SELECT * \n" + "WHERE { \n" + " <urn:time> time:atTime ?date .\n" @@ -123,7 +124,7 @@ public class TemporalFilterIT { // Get the RDF model objects that will be used to build the query. final String sparql = "PREFIX time: <http://www.w3.org/2006/time/> \n" - + "PREFIX tempf: <http://rya.apache.org/ns/temporal/>\n" + + "PREFIX tempf: <" + TemporalURIs.NAMESPACE + ">\n" + "SELECT * \n" + "WHERE { \n" + " <urn:time> time:atTime ?date .\n" @@ -157,7 +158,7 @@ public class TemporalFilterIT { // Get the RDF model objects that will be used to build the query. final String sparql = "PREFIX time: <http://www.w3.org/2006/time/> \n" - + "PREFIX tempf: <http://rya.apache.org/ns/temporal/>\n" + + "PREFIX tempf: <" + TemporalURIs.NAMESPACE + ">\n" + "SELECT * \n" + "WHERE { \n" + " <urn:time> time:atTime ?date .\n" @@ -191,7 +192,7 @@ public class TemporalFilterIT { // Get the RDF model objects that will be used to build the query. final String sparql = "PREFIX time: <http://www.w3.org/2006/time/> \n" - + "PREFIX tempf: <http://rya.apache.org/ns/temporal/>\n" + + "PREFIX tempf: <" + TemporalURIs.NAMESPACE + ">\n" + "SELECT * \n" + "WHERE { \n" + " <urn:time> time:atTime ?date .\n"
