add unit-test and support for handling unknown files

This commit is contained in:
Connor Tumbleson
2013-05-03 19:16:34 -05:00
parent 150a95f14a
commit a7236053bf
6 changed files with 51 additions and 13 deletions

View File

@ -1,3 +1,2 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest android:versionCode="1" android:versionName="1.0" 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" />

View File

@ -1,6 +1,13 @@
version: 1.5.0
version: 2.0.0
apkFileName: testapp.apk
isFrameworkApk: false
usesFramework:
ids:
- 1
versionInfo:
versionCode: '1'
versionName: '1.0'
compressionType: false
unknownFiles:
hidden.file: '8'
unk_folder/unknown_file: '8'

View File

@ -0,0 +1 @@
This file is unknown.

View File

@ -0,0 +1 @@
I am a hidden file. Put here by a developer to make recompilation difficult.