Search in sources :

Example 1 with ToQuotedNameTransformer

use of com.gs.dmn.transformation.ToQuotedNameTransformer in project tck by dmn-tck.

the class JDMNTckTest method createContext.

@Override
public TestSuiteContext createContext() {
    DMNReader dmnReader = new DMNReader(LOGGER, false);
    DMNWriter dmnWriter = new DMNWriter(LOGGER);
    DMNTransformer<TestCases> dmnTransformer = new ToQuotedNameTransformer(LOGGER);
    StandardDMNDialectDefinition dialectDefinition = new StandardDMNDialectDefinition();
    return new JDMNTestContext<>(dmnReader, dmnWriter, dmnTransformer, dialectDefinition);
}
Also used : DMNReader(com.gs.dmn.serialization.DMNReader) DMNWriter(com.gs.dmn.serialization.DMNWriter) StandardDMNDialectDefinition(com.gs.dmn.dialect.StandardDMNDialectDefinition) TestCases(org.omg.dmn.tck.marshaller._20160719.TestCases) ToQuotedNameTransformer(com.gs.dmn.transformation.ToQuotedNameTransformer)

Aggregations

StandardDMNDialectDefinition (com.gs.dmn.dialect.StandardDMNDialectDefinition)1 DMNReader (com.gs.dmn.serialization.DMNReader)1 DMNWriter (com.gs.dmn.serialization.DMNWriter)1 ToQuotedNameTransformer (com.gs.dmn.transformation.ToQuotedNameTransformer)1 TestCases (org.omg.dmn.tck.marshaller._20160719.TestCases)1