mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-08 11:05:52 +01:00
test: add assertions for unknown files / assets (#3074)
This commit is contained in:
parent
0e3e165d4e
commit
2b81215846
@ -141,4 +141,9 @@ public class BuildAndDecodeTest extends BaseTest {
|
|||||||
File classesDex = new File(sTestOrigDir, "build/apk/classes.dex");
|
File classesDex = new File(sTestOrigDir, "build/apk/classes.dex");
|
||||||
assertTrue(classesDex.isFile());
|
assertTrue(classesDex.isFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void unknownFolderTest() throws BrutException {
|
||||||
|
compareUnknownFiles();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
@ -16,6 +16,8 @@ doNotCompress:
|
|||||||
- png
|
- png
|
||||||
- mp3
|
- mp3
|
||||||
unknownFiles:
|
unknownFiles:
|
||||||
|
AssetBundle/assets/a.txt: '8'
|
||||||
|
AssetBundle/b.txt: '8'
|
||||||
hidden.file: '8'
|
hidden.file: '8'
|
||||||
non\u007Fprintable.file: '8'
|
non\u007Fprintable.file: '8'
|
||||||
stored.file: '0'
|
stored.file: '0'
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
issue-3038
|
@ -0,0 +1 @@
|
|||||||
|
issue-3038
|
@ -13,3 +13,6 @@ compressionType: false
|
|||||||
doNotCompress:
|
doNotCompress:
|
||||||
- assets/0byte_file.jpg
|
- assets/0byte_file.jpg
|
||||||
sparseResources: false
|
sparseResources: false
|
||||||
|
unknownFiles:
|
||||||
|
AssetBundle/assets/a.txt: '8'
|
||||||
|
AssetBundle/b.txt: '8'
|
||||||
|
@ -0,0 +1 @@
|
|||||||
|
issue-3038
|
@ -0,0 +1 @@
|
|||||||
|
issue-3038
|
Loading…
Reference in New Issue
Block a user