diff options
| author | RncLsn <rnc.lsn@gmail.com> | 2015-07-09 16:01:01 +0100 |
|---|---|---|
| committer | RncLsn <rnc.lsn@gmail.com> | 2015-07-09 16:01:01 +0100 |
| commit | 3d44aee6069175038266c65f945147569e6343f6 (patch) | |
| tree | e4eb3f166c28339701636cec513a387673e4ac0a /test/uk/ac/ox/cs/pagoda/util/TestUtil.java | |
| parent | 8241a535a55508b6c504f4f0b426612fe95d15a5 (diff) | |
| download | ACQuA-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.java | 7 |
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; | |||
| 3 | import org.apache.log4j.Appender; | 3 | import org.apache.log4j.Appender; |
| 4 | import org.apache.log4j.FileAppender; | 4 | import org.apache.log4j.FileAppender; |
| 5 | import org.apache.log4j.Logger; | 5 | import org.apache.log4j.Logger; |
| 6 | import org.semanticweb.owlapi.model.IRI; | ||
| 6 | 7 | ||
| 7 | import java.io.File; | 8 | import java.io.File; |
| 8 | import java.io.IOException; | 9 | import 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 | } |
