forked from itext/itext-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a few known problems related to Android
* Different fields order in JSON serialization * Ignore veraPdf validator * Different behavior of DeflaterOutputStream * Ignore test with OutOfMemory exception * Fix different behavior of ZipFileWriter\Reader DEVSIX-7066
- Loading branch information
Showing
9 changed files
with
101 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
commons/src/test/resources/com/itextpdf/commons/utils/JsonUtilTest/classWithEnumAndroid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{ | ||
"enumArray": [ | ||
"FIRST_VALUE", | ||
"FIRST_VALUE", | ||
"SECOND_VALUE" | ||
], | ||
"firstValue": "SECOND_VALUE" | ||
} |
36 changes: 36 additions & 0 deletions
36
...s/src/test/resources/com/itextpdf/commons/utils/JsonUtilTest/complexStructureAndroid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"childsMap": { | ||
"ChildMapkey": { | ||
"arrayStr": [ | ||
"someStr1", | ||
"someStr2" | ||
], | ||
"grandsons": [ | ||
{ | ||
"integer": 13, | ||
"name": "someName" | ||
}, | ||
{ | ||
"integer": 0, | ||
"name": "" | ||
} | ||
] | ||
}, | ||
"ChildMapKey2": { | ||
"arrayStr": [ | ||
"" | ||
], | ||
"grandsons": [ | ||
{ | ||
"integer": 0, | ||
"name": "" | ||
} | ||
] | ||
} | ||
}, | ||
"map": { | ||
"FirstMapKey": 15, | ||
"SecondMapKey": 8 | ||
}, | ||
"str": "StringFieldValue" | ||
} |
1 change: 1 addition & 0 deletions
1
...c/test/resources/com/itextpdf/commons/utils/JsonUtilTest/minimalClassWithEnumAndroid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"enumArray":["FIRST_VALUE","FIRST_VALUE","SECOND_VALUE"],"firstValue":"SECOND_VALUE"} |
1 change: 1 addition & 0 deletions
1
...est/resources/com/itextpdf/commons/utils/JsonUtilTest/minimalComplexStructureAndroid.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"childsMap":{"ChildMapkey":{"arrayStr":["someStr1","someStr2"],"grandsons":[{"integer":13,"name":"someName"},{"integer":0,"name":""}]},"ChildMapKey2":{"arrayStr":[""],"grandsons":[{"integer":0,"name":""}]}},"map":{"FirstMapKey":15,"SecondMapKey":8},"str":"StringFieldValue"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters