diff options
author | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-07-14 12:00:53 +0000 |
---|---|---|
committer | (no author) <(no author)@d688527b-c9ab-4aba-bd8d-4036d912da1d> | 2003-07-14 12:00:53 +0000 |
commit | 75f0c0fa71cf9cc460c3500dca8b6a88fd3b1080 (patch) | |
tree | b88fff6263c3bd35c7aca20ff5b95007c1c0870b /common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java | |
parent | 970cebaf7512c375788984360c13c2a098eda721 (diff) | |
download | moa-id-spss-75f0c0fa71cf9cc460c3500dca8b6a88fd3b1080.tar.gz moa-id-spss-75f0c0fa71cf9cc460c3500dca8b6a88fd3b1080.tar.bz2 moa-id-spss-75f0c0fa71cf9cc460c3500dca8b6a88fd3b1080.zip |
This commit was manufactured by cvs2svn to create tagtags/Build-1_0_10_D2
'Build-1_0_10_D2'.
git-svn-id: https://joinup.ec.europa.eu/svn/moa-idspss/tags/Build-1_0_10_D2@13 d688527b-c9ab-4aba-bd8d-4036d912da1d
Diffstat (limited to 'common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java')
-rw-r--r-- | common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java b/common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java deleted file mode 100644 index 559494300..000000000 --- a/common/src/test/at/gv/egovernment/moa/util/XPathUtilsTest.java +++ /dev/null @@ -1,51 +0,0 @@ -package test.at.gv.egovernment.moa.util; -import org.w3c.dom.Document; -import org.w3c.dom.NodeList; - -import test.at.gv.egovernment.moa.MOATestCase; - -import at.gv.egovernment.moa.util.XPathUtils; - - -/** - * @author Patrick Peck - * @version $Id$ - */ -public class XPathUtilsTest extends MOATestCase { - - private Document doc1; - - /** - * Constructor for XPathUtilsTest. - * @param name - */ - public XPathUtilsTest(String name) { - super(name); - } - - /** - * @see TestCase#setUp() - */ - protected void setUp() throws Exception { - super.setUp(); - doc1 = - parseXml(TESTDATA_ROOT + "xml/VerifyXMLSignature/Req000.xml"); - } - - public void testSelectNodeList() throws Exception { - NodeList nodes; - - nodes = - XPathUtils.selectNodeList( - doc1.getDocumentElement(), - doc1.getDocumentElement(), - "/VerifyXMLSignatureRequest"); - assertEquals(1, nodes.getLength()); - nodes = - XPathUtils.selectNodeList( - doc1.getDocumentElement(), - "//dsig:Signature"); - assertEquals(1, nodes.getLength()); - } - -} |