org.apache.any23.extractor.html
Class TurtleHTMLExtractorTest
java.lang.Object
org.apache.any23.extractor.html.AbstractExtractorTestCase
org.apache.any23.extractor.html.TurtleHTMLExtractorTest
public class TurtleHTMLExtractorTest
- extends AbstractExtractorTestCase
Test case for TurtleHTMLExtractor
.
- Author:
- Michele Mostarda (mostarda@fbk.eu)
Method Summary |
protected org.apache.any23.extractor.ExtractorFactory<?> |
getExtractorFactory()
|
void |
testExtraction()
Tests the extraction of the RDF content from the sample HTML file. |
Methods inherited from class org.apache.any23.extractor.html.AbstractExtractorTestCase |
assertContains, assertContains, assertContains, assertContains, assertContains, assertContains, assertContainsModel, assertContainsModel, assertError, assertExtracts, assertModelEmpty, assertModelNotEmpty, assertNotContains, assertNotContains, assertNotContains, assertNotContains, assertNotFound, assertStatementsSize, assertStatementsSize, assertStatementsSize, dumpAsListOfStatements, dumpHumanReadableTriples, dumpModelToNQuads, dumpModelToRDFXML, dumpModelToTurtle, extract, findExactlyOneBlankSubject, findExactlyOneObject, findObject, findObjectAsLiteral, findObjectAsResource, findObjects, findSubjects, getConnection, getErrors, getReport, getStatements, getStatementsSize, setUp, tearDown |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TurtleHTMLExtractorTest
public TurtleHTMLExtractorTest()
getExtractorFactory
protected org.apache.any23.extractor.ExtractorFactory<?> getExtractorFactory()
- Specified by:
getExtractorFactory
in class AbstractExtractorTestCase
- Returns:
- the factory of the extractor to be tested.
testExtraction
public void testExtraction()
throws IOException,
org.apache.any23.extractor.ExtractionException,
org.openrdf.repository.RepositoryException
- Tests the extraction of the RDF content from the sample HTML file.
- Throws:
IOException
org.apache.any23.extractor.ExtractionException
org.openrdf.repository.RepositoryException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.