org.apache.any23.extractor.csv
Class CSVExtractorTest

java.lang.Object
  extended by org.apache.any23.extractor.html.AbstractExtractorTestCase
      extended by org.apache.any23.extractor.csv.CSVExtractorTest

public class CSVExtractorTest
extends AbstractExtractorTestCase

Reference test case for CSVExtractor.

Author:
Davide Palmisano ( dpalmisano@gmail.com )

Field Summary
 
Fields inherited from class org.apache.any23.extractor.html.AbstractExtractorTestCase
baseURI
 
Constructor Summary
CSVExtractorTest()
           
 
Method Summary
protected  org.apache.any23.extractor.ExtractorFactory<?> getExtractorFactory()
           
 void testExtractionCommaSeparated()
           
 void testExtractionSemicolonSeparated()
           
 void testExtractionTabSeparated()
           
 void testTypeManagement()
           
 
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
 

Constructor Detail

CSVExtractorTest

public CSVExtractorTest()
Method Detail

getExtractorFactory

protected org.apache.any23.extractor.ExtractorFactory<?> getExtractorFactory()
Specified by:
getExtractorFactory in class AbstractExtractorTestCase
Returns:
the factory of the extractor to be tested.

testExtractionCommaSeparated

public void testExtractionCommaSeparated()
                                  throws org.openrdf.repository.RepositoryException
Throws:
org.openrdf.repository.RepositoryException

testExtractionSemicolonSeparated

public void testExtractionSemicolonSeparated()
                                      throws org.openrdf.repository.RepositoryException
Throws:
org.openrdf.repository.RepositoryException

testExtractionTabSeparated

public void testExtractionTabSeparated()
                                throws org.openrdf.repository.RepositoryException
Throws:
org.openrdf.repository.RepositoryException

testTypeManagement

public void testTypeManagement()
                        throws org.openrdf.repository.RepositoryException
Throws:
org.openrdf.repository.RepositoryException


Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.