Skip to content
Open
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
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ public void deserializationOfMessageWithUnknownPropertyNotAtRootLevelFails() thr

@Test
@DisplayName("all json example files deserialize to same object xml example files deserialize to")
public void jsonAndXmlExampleFilesDeserializeToSameObject() {
void jsonAndXmlExampleFilesDeserializeToSameObject() {
String rootFolder = TestMessagesHelper.class.getClassLoader().getResource("sample/examples").getFile();

File[] subFolders = new File(rootFolder).listFiles(File::isDirectory);
Expand Down Expand Up @@ -239,7 +239,7 @@ public void jsonAndXmlExampleFilesDeserializeToSameObject() {

@Test
@DisplayName("serialized Xml EdxlMessages should contain xlink type")
public void serializedXmlEdxlMessagesShouldContainXlinkType() throws IOException {
void serializedXmlEdxlMessagesShouldContainXlinkType() throws IOException {
File jsonMessage = new File(TestMessagesHelper.class.getClassLoader().getResource("sample/valid/RC-EDA/RC-EDA.json").getFile());
String json = new String(Files.readAllBytes(jsonMessage.toPath()), StandardCharsets.UTF_8);
EdxlMessage message = converter.deserializeJsonEDXL(json);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class EnvelopeValidatorTest extends AbstractValidatorTest{

@Test
@DisplayName("check EDXL envelope schemas availability")
public void checkEdxlEnvelopeSchemasAvailability() {
void checkEdxlEnvelopeSchemasAvailability() {
assertDoesNotThrow(() -> new File(Thread.currentThread().getContextClassLoader()
.getResource("json-schema/" + ENVELOPE_SCHEMA).getFile()));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@
import static org.junit.jupiter.api.Assertions.fail;

@Slf4j
public class UseCaseValidatorTest extends AbstractValidatorTest {
class UseCaseValidatorTest extends AbstractValidatorTest {

@Test
@DisplayName("all examples files passing")
public void examplesBundlePassingTest() {
void examplesBundlePassingTest() {
String rootFolder = TestMessagesHelper.class.getClassLoader().getResource("sample/examples").getFile();
File[] subFolders = new File(rootFolder).listFiles(File::isDirectory);
assert subFolders != null;
Expand Down
Loading