diff --git a/src/test/java/com/reandroid/apk/ApkModuleCoderTest.java b/src/test/java/com/reandroid/apk/ApkModuleCoderTest.java index 02cebaf37..07bcbecd6 100644 --- a/src/test/java/com/reandroid/apk/ApkModuleCoderTest.java +++ b/src/test/java/com/reandroid/apk/ApkModuleCoderTest.java @@ -26,7 +26,13 @@ public void a_testDecodeToXml() throws IOException { File dir = TestUtils.getTempDir(); dir = new File(dir, "decode_xml"); ApkModuleXmlDecoder decoder = new ApkModuleXmlDecoder(apkModule); - decoder.decode(dir); + Throwable throwable = null; + try{ + decoder.decode(dir); + }catch (Throwable ex){ + throwable = ex; + } + Assert.assertNull(throwable); mDir_xml = dir; } @Test