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.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseEmptyLinesAndComments() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
IOException
org.openrdf.rio.RDFHandlerException
org.openrdf.rio.RDFParseException
public void testParseBasic() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseBasicBNode() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseBasicLiteral() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseBasicLiteralLang() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseBasicLiteraDatatype() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testLiteralEscapeManagement1() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testLiteralEscapeManagement2() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testURIDecodingManagement() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testUnicodeLiteralManagement() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testUnicodeLiteralDecoding() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testWrongUnicodeEncodedCharFail() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testEndOfStreamReached() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testFullParseScenario() throws IOException, org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
public void testParseRealData() throws IOException, org.openrdf.rio.RDFParseException, org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
public void testStatementWithInvalidLiteralContentAndIgnoreValidation() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testStatementWithInvalidLiteralContentAndStrictValidation() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testStatementWithInvalidDatatypeAndIgnoreValidation() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testStatementWithInvalidDatatypeAndVerifyValidation() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testStopAtFirstErrorStrictParsing() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testStopAtFirstErrorTolerantParsing() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testReportInvalidLiteralAttribute() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
public void testParseWithNoContext() throws org.openrdf.rio.RDFHandlerException, IOException, org.openrdf.rio.RDFParseException
org.openrdf.rio.RDFHandlerException
IOException
org.openrdf.rio.RDFParseException
Copyright © 2010-2012 The Apache Software Foundation. All Rights Reserved.