Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/project.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
release:
current-version: 7.14.1.Final
current-version: 7.15.0.Final
next-version: 8.0.0-SNAPSHOT
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,12 @@
import io.serverlessworkflow.impl.marshaller.WorkflowOutputBuffer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.junit.jupiter.api.Test;

class JavaModelSerializationTest {

@Test
void testSerializableJavaModel() throws IOException {
void testSerializableJavaModel() {
testMarshallUnMarshall(
new JavaModel(new Person("Pepe Gotera", 32, new Address("Rue del Percebe", 13))));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,18 +24,17 @@
import io.serverlessworkflow.impl.marshaller.WorkflowOutputBuffer;
import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import org.junit.jupiter.api.Test;

class JacksonModelSerializationTest {

@Test
void testObject() throws IOException {
void testObject() {
testMarshallUnMarshall(new Employee("Mortadelo", "TIA"));
}

@Test
void testModel() throws IOException {
void testModel() {
testMarshallUnMarshall(
new JacksonModel(JsonUtils.mapper().createObjectNode().put("Mortadelo", "TIA")));
}
Expand Down
Loading