public class IdTest
extends junit.framework.TestCase
Modifier and Type | Method and Description |
---|---|
void |
setUp() |
void |
testFindElementById() |
void |
testFindMultipleElementsByMultipleIDs() |
void |
testIDFunctionRequiresAtLeastOneArgument() |
void |
testIDFunctionRequiresAtMostOneArgument() |
void |
testIDFunctionSelectsNothingInDocumentWithNoIds() |
void |
testIdReturnsFirstElementWithMatchingId() |
countTestCases, createResult, getName, run, run, runBare, runTest, setName, tearDown, toString
assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertEquals, assertFalse, assertFalse, assertNotNull, assertNotNull, assertNotSame, assertNotSame, assertNull, assertNull, assertSame, assertSame, assertTrue, assertTrue, fail, fail, failNotEquals, failNotSame, failSame
public IdTest(String name)
public void setUp() throws ParserConfigurationException
setUp
in class junit.framework.TestCase
ParserConfigurationException
public void testIDFunctionSelectsNothingInDocumentWithNoIds() throws JaxenException
JaxenException
public void testIDFunctionRequiresAtLeastOneArgument() throws JaxenException
JaxenException
public void testIDFunctionRequiresAtMostOneArgument() throws JaxenException
JaxenException
public void testFindElementById() throws JaxenException, SAXException, IOException
JaxenException
SAXException
IOException
public void testFindMultipleElementsByMultipleIDs() throws JaxenException, SAXException, IOException
JaxenException
SAXException
IOException
public void testIdReturnsFirstElementWithMatchingId() throws JaxenException, SAXException, IOException
JaxenException
SAXException
IOException
Copyright © 2001–2019 The Jaxen Project. All rights reserved.