mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-02 23:04:26 +02:00
Move to XMLUnit Legacy (#3235)
* build: migrate to xmlunit 2.9.1 * feat: opt into xxe protection for test suite
This commit is contained in:
parent
e19c44b1b1
commit
445da0e658
@ -115,6 +115,8 @@ public class BaseTest {
|
|||||||
Reader control = new FileReader(new File(sTestOrigDir, path));
|
Reader control = new FileReader(new File(sTestOrigDir, path));
|
||||||
Reader test = new FileReader(new File(sTestNewDir, path));
|
Reader test = new FileReader(new File(sTestNewDir, path));
|
||||||
|
|
||||||
|
XMLUnit.setEnableXXEProtection(true);
|
||||||
|
|
||||||
if (qualifier == null) {
|
if (qualifier == null) {
|
||||||
XMLUnit.setIgnoreWhitespace(true);
|
XMLUnit.setIgnoreWhitespace(true);
|
||||||
XMLUnit.setIgnoreAttributeOrder(true);
|
XMLUnit.setIgnoreAttributeOrder(true);
|
||||||
|
@ -28,7 +28,7 @@ buildscript {
|
|||||||
proguard_gradle: 'com.guardsquare:proguard-gradle:7.3.2',
|
proguard_gradle: 'com.guardsquare:proguard-gradle:7.3.2',
|
||||||
smali : 'com.android.tools.smali:smali:3.0.3',
|
smali : 'com.android.tools.smali:smali:3.0.3',
|
||||||
xmlpull : 'xpp3:xpp3:1.1.4c',
|
xmlpull : 'xpp3:xpp3:1.1.4c',
|
||||||
xmlunit : 'xmlunit:xmlunit:1.6',
|
xmlunit : 'org.xmlunit:xmlunit-legacy:2.9.1',
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user