public class NQuadsParserTest extends Object
NQuadsParser.| Constructor and Description |
|---|
NQuadsParserTest() |
| Modifier and Type | Method and Description |
|---|---|
void |
setUp() |
void |
tearDown() |
void |
testEndOfStreamReached()
Tests the correct support for EOS exception.
|
void |
testFullParseScenario()
Tests the parser with all cases defined by the NQuads grammar.
|
void |
testIncompleteParsing()
Tests the correct behavior with incomplete input.
|
void |
testLiteralEscapeManagement1()
Tests the correct support for literal escaping.
|
void |
testLiteralEscapeManagement2()
Tests the correct support for literal escaping.
|
void |
testParseBasic()
Tests basic N-Quads parsing.
|
void |
testParseBasicBNode()
Tests basic N-Quads parsing with blank node.
|
void |
testParseBasicLiteraDatatype()
Tests N-Quads parsing with literal and datatype.
|
void |
testParseBasicLiteral()
Tests basic N-Quads parsing with literal.
|
void |
testParseBasicLiteralLang()
Tests N-Quads parsing with literal and language.
|
void |
testParseEmptyLinesAndComments()
Tests parsing of empty lines and comments.
|
void |
testParseRealData()
Tests parser with real data.
|
void |
testParseWithNoContext() |
void |
testReportInvalidLiteralAttribute() |
void |
testStatementWithInvalidDatatypeAndIgnoreValidation() |
void |
testStatementWithInvalidDatatypeAndVerifyValidation() |
void |
testStatementWithInvalidLiteralContentAndIgnoreValidation() |
void |
testStatementWithInvalidLiteralContentAndStrictValidation() |
void |
testStopAtFirstErrorStrictParsing() |
void |
testStopAtFirstErrorTolerantParsing() |
void |
testUnicodeLiteralDecoding() |
void |
testUnicodeLiteralManagement() |
void |
testURIDecodingManagement()
Tests the correct decoding of UTF-8 encoded chars in URIs.
|
void |
testWrongUnicodeEncodedCharFail() |
public void setUp()
public void tearDown()
public void testIncompleteParsing()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseEmptyLinesAndComments()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
IOExceptionorg.openrdf.rio.RDFHandlerExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseBasic()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseBasicBNode()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseBasicLiteral()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseBasicLiteralLang()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseBasicLiteraDatatype()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testLiteralEscapeManagement1()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testLiteralEscapeManagement2()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testURIDecodingManagement()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testUnicodeLiteralManagement()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testUnicodeLiteralDecoding()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testWrongUnicodeEncodedCharFail()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testEndOfStreamReached()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testFullParseScenario()
throws IOException,
org.openrdf.rio.RDFParseException,
org.openrdf.rio.RDFHandlerException
IOExceptionorg.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionpublic void testParseRealData()
throws IOException,
org.openrdf.rio.RDFParseException,
org.openrdf.rio.RDFHandlerException
IOExceptionorg.openrdf.rio.RDFParseExceptionorg.openrdf.rio.RDFHandlerExceptionpublic void testStatementWithInvalidLiteralContentAndIgnoreValidation()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testStatementWithInvalidLiteralContentAndStrictValidation()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testStatementWithInvalidDatatypeAndIgnoreValidation()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testStatementWithInvalidDatatypeAndVerifyValidation()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testStopAtFirstErrorStrictParsing()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testStopAtFirstErrorTolerantParsing()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testReportInvalidLiteralAttribute()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionpublic void testParseWithNoContext()
throws org.openrdf.rio.RDFHandlerException,
IOException,
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerExceptionIOExceptionorg.openrdf.rio.RDFParseExceptionCopyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.