From 703d8ded0f42d445b38dbc84ae2a376bfc31b141 Mon Sep 17 00:00:00 2001 From: clemenso Date: Tue, 2 Feb 2010 17:10:20 +0000 Subject: SignatureLocation index bug git-svn-id: https://joinup.ec.europa.eu/svn/mocca/trunk@620 8a26b1a7-26f0-462f-b9ef-d0e30c41f5a4 --- .../at/gv/egiz/bku/slcommands/impl/xsect/SignatureTest.java | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'bkucommon/src/test/java/at') 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 -- cgit v1.2.3