mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
test: add a test to confirm that mp3 file is stored (not compressed)
This commit is contained in:
parent
061ddb8ee6
commit
ba9b532283
@ -173,6 +173,13 @@ public class BuildAndDecodeTest extends BaseTest {
|
||||
assertEquals(0x8888, aaaa.length());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void storedMp3FilesAreNotCompressedTest() throws BrutException {
|
||||
ExtFile extFile = new ExtFile(sTmpDir, "testapp.apk");
|
||||
Integer built = extFile.getDirectory().getCompressionLevel("res/raw/rain.mp3");
|
||||
assertEquals(new Integer(0), built);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void crossTypeTest() throws BrutException {
|
||||
compareValuesFiles("values-mcc003/strings.xml");
|
||||
|
@ -10,6 +10,10 @@ versionInfo:
|
||||
versionCode: '1'
|
||||
versionName: '1.0'
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- arsc
|
||||
- png
|
||||
- mp3
|
||||
unknownFiles:
|
||||
hidden.file: '8'
|
||||
non\u007Fprintable.file: '8'
|
||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user