Suppress overwriting platformBuildVersion[Code/Name]

- fixes #890
 - introduces unit-test comparing manifest
This commit is contained in:
Connor Tumbleson 2015-04-04 07:40:38 -05:00
parent ae15b2a7f7
commit aee0792e00
5 changed files with 6 additions and 1 deletions

Binary file not shown.

View File

@ -62,6 +62,11 @@ public class BuildAndDecodeTest {
assertTrue(sTestNewDir.isDirectory()); assertTrue(sTestNewDir.isDirectory());
} }
@Test
public void manifestTaggingNotSupressed() throws BrutException {
compareXmlFiles("AndroidManifest.xml");
}
@Test @Test
public void valuesAnimsTest() throws BrutException { public void valuesAnimsTest() throws BrutException {
compareValuesFiles("values-mcc001/anims.xml"); compareValuesFiles("values-mcc001/anims.xml");

View File

@ -1,2 +1,2 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest package="brut.apktool.testapp" xmlns:android="http://schemas.android.com/apk/res/android" /> <manifest package="brut.apktool.testapp" xmlns:android="http://schemas.android.com/apk/res/android" platformBuildVersionCode="20" platformBuildVersionName="4.4W.2-1537038" />