use of org.kie.dmn.backend.marshalling.v1_2.extensions.MyTestRegister in project drools by kiegroup.
the class UnmarshalMarshalTest method testHello_World_semantic_namespace_with_extensions.
@Test
public void testHello_World_semantic_namespace_with_extensions() throws Exception {
DMNMarshaller marshaller = DMNMarshallerFactory.newMarshallerWithExtensions(Arrays.asList(new MyTestRegister()));
testRoundTrip("org/kie/dmn/backend/marshalling/v1_1/", "Hello_World_semantic_namespace_with_extensions.dmn", marshaller);
}
use of org.kie.dmn.backend.marshalling.v1_2.extensions.MyTestRegister in project drools by kiegroup.
the class UnmarshalMarshalTest method testV12_DMNDIDiagramElementExtension_withContent.
@Test
public void testV12_DMNDIDiagramElementExtension_withContent() throws Exception {
DMNMarshaller marshaller = DMNMarshallerFactory.newMarshallerWithExtensions(Arrays.asList(new MyTestRegister()));
testRoundTrip("org/kie/dmn/backend/marshalling/v1_2/", "DMNDIDiagramElementExtension_withContent.dmn", marshaller, DMN12_SCHEMA_SOURCE);
}
use of org.kie.dmn.backend.marshalling.v1_2.extensions.MyTestRegister in project drools by kiegroup.
the class UnmarshalMarshalTest method testHello_World_semantic_namespace_with_extensions_other_ns_location.
@Test
public void testHello_World_semantic_namespace_with_extensions_other_ns_location() throws Exception {
DMNMarshaller marshaller = DMNMarshallerFactory.newMarshallerWithExtensions(Arrays.asList(new MyTestRegister()));
testRoundTrip("org/kie/dmn/backend/marshalling/v1_1/", "Hello_World_semantic_namespace_with_extensions_other_ns_location.dmn", marshaller);
}
Aggregations