mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-02 17:12:55 +01: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 test = new FileReader(new File(sTestNewDir, path));
|
||||
|
||||
XMLUnit.setEnableXXEProtection(true);
|
||||
|
||||
if (qualifier == null) {
|
||||
XMLUnit.setIgnoreWhitespace(true);
|
||||
XMLUnit.setIgnoreAttributeOrder(true);
|
||||
|
@ -28,7 +28,7 @@ buildscript {
|
||||
proguard_gradle: 'com.guardsquare:proguard-gradle:7.3.2',
|
||||
smali : 'com.android.tools.smali:smali:3.0.3',
|
||||
xmlpull : 'xpp3:xpp3:1.1.4c',
|
||||
xmlunit : 'xmlunit:xmlunit:1.6',
|
||||
xmlunit : 'org.xmlunit:xmlunit-legacy:2.9.1',
|
||||
]
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user