aboutsummaryrefslogtreecommitdiff
path: root/test/uk/ac/ox/cs/pagoda/util/TestUtil.java
diff options
context:
space:
mode:
authorRncLsn <rnc.lsn@gmail.com>2015-07-09 16:01:01 +0100
committerRncLsn <rnc.lsn@gmail.com>2015-07-09 16:01:01 +0100
commit3d44aee6069175038266c65f945147569e6343f6 (patch)
treee4eb3f166c28339701636cec513a387673e4ac0a /test/uk/ac/ox/cs/pagoda/util/TestUtil.java
parent8241a535a55508b6c504f4f0b426612fe95d15a5 (diff)
downloadACQuA-3d44aee6069175038266c65f945147569e6343f6.tar.gz
ACQuA-3d44aee6069175038266c65f945147569e6343f6.zip
Bug-fix for answer dependencies analysis: now it checks whether the endomorphism makes the first tuple identical to the second one.
Diffstat (limited to 'test/uk/ac/ox/cs/pagoda/util/TestUtil.java')
-rw-r--r--test/uk/ac/ox/cs/pagoda/util/TestUtil.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java
index fdd242a..c7f024a 100644
--- a/test/uk/ac/ox/cs/pagoda/util/TestUtil.java
+++ b/test/uk/ac/ox/cs/pagoda/util/TestUtil.java
@@ -3,6 +3,7 @@ package uk.ac.ox.cs.pagoda.util;
3import org.apache.log4j.Appender; 3import org.apache.log4j.Appender;
4import org.apache.log4j.FileAppender; 4import org.apache.log4j.FileAppender;
5import org.apache.log4j.Logger; 5import org.apache.log4j.Logger;
6import org.semanticweb.owlapi.model.IRI;
6 7
7import java.io.File; 8import java.io.File;
8import java.io.IOException; 9import java.io.IOException;
@@ -87,4 +88,10 @@ public class TestUtil {
87 LOGGER.error(msg, t); 88 LOGGER.error(msg, t);
88 } 89 }
89 90
91 public static final String NS = "http://example.org/test#%s";
92
93 public static IRI getEntityIRI(String name) {
94 return IRI.create(String.format(NS, name));
95 }
96
90} 97}