mirror of
https://github.com/revanced/Apktool.git
synced 2025-06-12 05:07:41 +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:
@ -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);
|
||||
|
Reference in New Issue
Block a user