From b49bba19e4e489c1ba6e7aa8835d00e93eaca481 Mon Sep 17 00:00:00 2001 From: Connor Tumbleson Date: Sun, 2 Sep 2018 09:37:59 -0400 Subject: [PATCH] test: don't enforce attribute order or compare attributes that don't exist --- .../apktool-lib/src/test/java/brut/androlib/BaseTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java b/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java index 1682fb07..f0f7b953 100644 --- a/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java +++ b/brut.apktool/apktool-lib/src/test/java/brut/androlib/BaseTest.java @@ -117,6 +117,8 @@ public class BaseTest { if (qualifier == null) { XMLUnit.setIgnoreWhitespace(true); + XMLUnit.setIgnoreAttributeOrder(true); + XMLUnit.setCompareUnmatched(false); assertXMLEqual(control, test); return; }