Package org.apache.any23.extractor.html
Class DomUtilsTest
- java.lang.Object
-
- org.apache.any23.AbstractAny23TestBase
-
- org.apache.any23.extractor.html.DomUtilsTest
-
public class DomUtilsTest extends AbstractAny23TestBase
Reference test class for theDomUtils
class.- Author:
- Davide Palmisano (dpalmisano@gmail.com)
-
-
Field Summary
-
Fields inherited from class org.apache.any23.AbstractAny23TestBase
tempDirectory, testFolder
-
-
Constructor Summary
Constructors Constructor Description DomUtilsTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
testFindAllByClassName()
void
testFindAllByTag()
void
testFindAllByTagAndClassName()
void
testGetXPathForNode()
void
testHasClassName()
void
testReadAttribute()
void
testSerializeToXML()
-
Methods inherited from class org.apache.any23.AbstractAny23TestBase
copyResourceToTempFile, getDocumentSourceFromResource, getDocumentSourceFromResource, setUp
-
-
-
-
Method Detail
-
testFindAllByTagAndClassName
public void testFindAllByTagAndClassName() throws Exception
- Throws:
Exception
-
testSerializeToXML
public void testSerializeToXML() throws ParserConfigurationException, TransformerException, IOException
-
-