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 theDomUtilsclass.- 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 voidtestFindAllByClassName()voidtestFindAllByTag()voidtestFindAllByTagAndClassName()voidtestGetXPathForNode()voidtestHasClassName()voidtestReadAttribute()voidtestSerializeToXML()-
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
-
-