Update dependency com.helger.en16931-cii2ubl

v1.4.2 -> v1.4.10.
Add CIIToUBL23Converter to CIIToUBL.
Adjust test.
This commit is contained in:
Sebastian Sieber
2023-04-14 15:50:16 +02:00
parent 8dac7d2cb3
commit 3c7b41ccb0
4 changed files with 64 additions and 42 deletions

View File

@@ -61,8 +61,8 @@ public class UBLTest extends ResourceCase {
try {
final File tempFile = File.createTempFile("ZUGFeRD-UBL-", "-test");
c2u.convert(input, tempFile);
expected = ResourceUtilities.readFile(StandardCharsets.UTF_8, expectedFile.getAbsolutePath());//.replaceAll("\r\n", "\n");
result = ResourceUtilities.readFile(StandardCharsets.UTF_8, tempFile.getAbsolutePath());//.replaceAll("\r\n", "\n");
expected = ResourceUtilities.readFile(StandardCharsets.UTF_8, expectedFile.getAbsolutePath());
result = ResourceUtilities.readFile(StandardCharsets.UTF_8, tempFile.getAbsolutePath());
} catch (final IOException e) {
fail("Exception should not happen: " + e.getMessage());
}