summaryrefslogtreecommitdiff
path: root/bkucommon/src/test/java/at/gv/egiz
diff options
context:
space:
mode:
authorclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-02-02 17:10:20 +0000
committerclemenso <clemenso@8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4>2010-02-02 17:10:20 +0000
commit703d8ded0f42d445b38dbc84ae2a376bfc31b141 (patch)
tree33e962b9a07feb9f00a9ff36e92e3306c7510c66 /bkucommon/src/test/java/at/gv/egiz
parent4ecb7d48fbece6f788809bd447fdcdef3d83e993 (diff)
downloadmocca-703d8ded0f42d445b38dbc84ae2a376bfc31b141.tar.gz
mocca-703d8ded0f42d445b38dbc84ae2a376bfc31b141.tar.bz2
mocca-703d8ded0f42d445b38dbc84ae2a376bfc31b141.zip
SignatureLocation index bug
git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@620 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4
Diffstat (limited to 'bkucommon/src/test/java/at/gv/egiz')
-rw-r--r--bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java12
1 files changed, 7 insertions, 5 deletions
diff --git a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java
index ccd29e85..0a34c8f3 100644
--- a/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java
+++ b/bkucommon/src/test/java/at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java
@@ -79,6 +79,8 @@ import at.gv.egiz.dom.DOMUtils;
import at.gv.egiz.slbinding.RedirectEventFilter;
import at.gv.egiz.slbinding.RedirectUnmarshallerListener;
import org.junit.Ignore;
+import org.w3c.dom.NodeList;
+import static org.junit.Assert.*;
public class SignatureTest {
@@ -271,7 +273,7 @@ public class SignatureTest {
assertNotNull(nextSibling);
assertTrue("urn:document".equals(nextSibling.getNamespaceURI()));
assertTrue("Paragraph".equals(nextSibling.getLocalName()));
-
+
}
@Test
@@ -311,7 +313,7 @@ public class SignatureTest {
assertNotNull(nextSibling);
assertTrue("Paragraph".equals(nextSibling.getLocalName()));
-
+
}
@Test
@@ -325,13 +327,13 @@ public class SignatureTest {
Node parent = signature.getParent();
Node nextSibling = signature.getNextSibling();
-
+
assertNotNull(parent);
assertTrue("urn:document".equals(parent.getNamespaceURI()));
assertTrue("Whole".equals(parent.getLocalName()));
-
+
assertNull(nextSibling);
-
+
}
@Test