Class AbstractTupleQueryResultWriterTest
- java.lang.Object
-
- org.eclipse.rdf4j.testsuite.query.resultio.AbstractTupleQueryResultWriterTest
-
public abstract class AbstractTupleQueryResultWriterTest extends Object
Generic tests forTupleQueryResultWriterimplementations.- Author:
- Jeen Broekstra
-
-
Field Summary
Fields Modifier and Type Field Description protected static ValueFactoryvf
-
Constructor Summary
Constructors Constructor Description AbstractTupleQueryResultWriterTest()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract RioSetting<?>[]getExpectedSupportedSettings()Get theRioSettings expected to be returned byQueryResultWriter.getSupportedSettings().protected abstract TupleQueryResultParserFactorygetParserFactory()protected abstract TupleQueryResultWriterFactorygetWriterFactory()voidtestGetSupportedSettings()voidtestRDFStarHandling_DeepNesting()voidtestRDFStarHandling_NoEncoding()voidtestRDFStarHandling_WithEncoding()
-
-
-
Field Detail
-
vf
protected static final ValueFactory vf
-
-
Method Detail
-
testRDFStarHandling_WithEncoding
@Test public void testRDFStarHandling_WithEncoding() throws Exception- Throws:
Exception
-
testRDFStarHandling_NoEncoding
@Test public void testRDFStarHandling_NoEncoding() throws Exception- Throws:
Exception
-
testRDFStarHandling_DeepNesting
@Test public void testRDFStarHandling_DeepNesting() throws Exception- Throws:
Exception
-
testGetSupportedSettings
@Test public void testGetSupportedSettings() throws Exception- Throws:
Exception
-
getExpectedSupportedSettings
protected abstract RioSetting<?>[] getExpectedSupportedSettings()
Get theRioSettings expected to be returned byQueryResultWriter.getSupportedSettings(). Used bytestGetSupportedSettings()to determine if the output ofQueryResultWriter.getSupportedSettings()is as expected for the concrete writer implementation.- Returns:
- an array of
RioSettings.
-
getParserFactory
protected abstract TupleQueryResultParserFactory getParserFactory()
-
getWriterFactory
protected abstract TupleQueryResultWriterFactory getWriterFactory()
-
-