Package org.apache.any23.extractor.html
Class HCalendarExtractorTest
- java.lang.Object
-
- org.apache.any23.AbstractAny23TestBase
-
- org.apache.any23.extractor.html.AbstractExtractorTestCase
-
- org.apache.any23.extractor.html.HCalendarExtractorTest
-
public class HCalendarExtractorTest extends AbstractExtractorTestCase
Test case forHCalendarExtractor
class.- Version:
- $Id$
- Author:
- Davide Palmisano ( dpalmisano@gmail.com ), Michele Mostarda ( michele.mostarda@gmail.com )
-
-
Field Summary
-
Fields inherited from class org.apache.any23.extractor.html.AbstractExtractorTestCase
baseIRI, conn
-
Fields inherited from class org.apache.any23.AbstractAny23TestBase
tempDirectory, testFolder
-
-
Constructor Summary
Constructors Constructor Description HCalendarExtractorTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ExtractorFactory<?>
getExtractorFactory()
void
test01()
void
test02()
void
test03()
void
test04()
void
test05()
void
test06()
void
test07()
void
test08()
void
test09()
void
test10()
void
test11()
void
test12()
void
test13()
void
test15()
void
test16()
void
test17()
void
test18()
void
testFullHCalendarClass()
void
testHCalendarClassWithJournal()
void
testHCalendarClassWithTodo()
void
testHCalendarWithBudyInfo()
void
testNoMicroformats()
void
testNoMicroformatsInStatCvsPage()
void
testOneVEvent()
void
testRepetitiveEvent()
void
testThreeDayEvent()
void
testTransparentEvent()
-
Methods inherited from class org.apache.any23.extractor.html.AbstractExtractorTestCase
assertContains, assertContains, assertContains, assertContains, assertContains, assertContains, assertContainsModel, assertContainsModel, assertExtract, assertExtract, assertIssue, assertModelEmpty, assertModelNotEmpty, assertNoIssues, assertNotContains, assertNotContains, assertNotContains, assertNotContains, assertNotFound, assertStatementsSize, assertStatementsSize, assertStatementsSize, dumpAsListOfStatements, dumpHumanReadableTriples, dumpModelToNQuads, dumpModelToRDFXML, dumpModelToTurtle, extract, findExactlyOneBlankSubject, findExactlyOneObject, findObject, findObjectAsLiteral, findObjectAsResource, findObjects, findSubjects, getConnection, getIssues, getIssues, getReport, getStatements, getStatementsSize, setUp, tearDown
-
Methods inherited from class org.apache.any23.AbstractAny23TestBase
copyResourceToTempFile, getDocumentSourceFromResource, getDocumentSourceFromResource
-
-
-
-
Method Detail
-
getExtractorFactory
protected ExtractorFactory<?> getExtractorFactory()
- Specified by:
getExtractorFactory
in classAbstractExtractorTestCase
- Returns:
- the factory of the extractor to be tested.
-
testHCalendarWithBudyInfo
public void testHCalendarWithBudyInfo() throws Exception
- Throws:
Exception
-
testNoMicroformats
public void testNoMicroformats() throws Exception, IOException, ExtractionException
- Throws:
Exception
IOException
ExtractionException
-
testNoMicroformatsInStatCvsPage
public void testNoMicroformatsInStatCvsPage() throws Exception, IOException, ExtractionException
- Throws:
Exception
IOException
ExtractionException
-
testHCalendarClassWithTodo
public void testHCalendarClassWithTodo() throws Exception
- Throws:
Exception
-
-