AbstractRDFXMLWriterTest.java
/*******************************************************************************
* Copyright (c) 2020 Eclipse RDF4J contributors.
*
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Distribution License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*******************************************************************************/
package org.eclipse.rdf4j.rio.rdfxml;
import org.eclipse.rdf4j.rio.RDFParserFactory;
import org.eclipse.rdf4j.rio.RDFWriterFactory;
import org.eclipse.rdf4j.rio.RDFWriterTest;
import org.eclipse.rdf4j.rio.RioSetting;
import org.eclipse.rdf4j.rio.helpers.BasicWriterSettings;
import org.eclipse.rdf4j.rio.helpers.XMLWriterSettings;
/**
* @author Jeen Broekstra
*/
public abstract class AbstractRDFXMLWriterTest extends RDFWriterTest {
protected AbstractRDFXMLWriterTest(RDFWriterFactory writerF, RDFParserFactory parserF) {
super(writerF, parserF);
}
@Override
protected RioSetting<?>[] getExpectedSupportedSettings() {
return new RioSetting[] {
BasicWriterSettings.BASE_DIRECTIVE,
XMLWriterSettings.INCLUDE_XML_PI,
XMLWriterSettings.INCLUDE_ROOT_RDF_TAG,
XMLWriterSettings.QUOTES_TO_ENTITIES_IN_TEXT,
XMLWriterSettings.USE_SINGLE_QUOTES
};
}
}