mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 18:45:58 +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());
|
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
|
@Test
|
||||||
public void crossTypeTest() throws BrutException {
|
public void crossTypeTest() throws BrutException {
|
||||||
compareValuesFiles("values-mcc003/strings.xml");
|
compareValuesFiles("values-mcc003/strings.xml");
|
||||||
|
@ -10,6 +10,10 @@ versionInfo:
|
|||||||
versionCode: '1'
|
versionCode: '1'
|
||||||
versionName: '1.0'
|
versionName: '1.0'
|
||||||
compressionType: false
|
compressionType: false
|
||||||
|
doNotCompress:
|
||||||
|
- arsc
|
||||||
|
- png
|
||||||
|
- mp3
|
||||||
unknownFiles:
|
unknownFiles:
|
||||||
hidden.file: '8'
|
hidden.file: '8'
|
||||||
non\u007Fprintable.file: '8'
|
non\u007Fprintable.file: '8'
|
||||||
|
Binary file not shown.
Loading…
Reference in New Issue
Block a user