Changes

Summary

  1. - Move the "TestUtils.getDocumentBuilder()" method to the new "GeneralUtils.java" file which is easily accessible by other pieces of software which use this module as a library and need to perform validation in a production environment. (details)
Commit 13f95b01d63569b92ed2825bc38545dd970bcd3c by Lampros Smyrnaios
- Move the "TestUtils.getDocumentBuilder()" method to the new "GeneralUtils.java" file which is easily accessible by other pieces of software which use this module as a library and need to perform validation in a production environment.
- Refactor tests to use common code from the new "TestUtils.validate()" method.
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_FAIR.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_v4.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_FAIR_LIT.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_v3.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_CRIS.java (diff)
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/Test_v2.java (diff)
The file was addedsrc/main/java/eu/dnetlib/validator2/validation/utils/GeneralUtils.java
The file was modifiedsrc/test/java/eu/dnetlib/validator2/engine/TestUtils.java (diff)