mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-05 17:45: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");
|
||||
assertTrue(classesDex.isFile());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unknownFolderTest() throws BrutException {
|
||||
compareUnknownFiles();
|
||||
}
|
||||
}
|
||||
|
@ -16,8 +16,10 @@ doNotCompress:
|
||||
- png
|
||||
- mp3
|
||||
unknownFiles:
|
||||
AssetBundle/assets/a.txt: '8'
|
||||
AssetBundle/b.txt: '8'
|
||||
hidden.file: '8'
|
||||
non\u007Fprintable.file: '8'
|
||||
stored.file: '0'
|
||||
unk_folder/unknown_file: '8'
|
||||
lib_bug603/bug603: '8'
|
||||
lib_bug603/bug603: '8'
|
||||
|
@ -0,0 +1 @@
|
||||
issue-3038
|
@ -0,0 +1 @@
|
||||
issue-3038
|
@ -12,4 +12,7 @@ versionInfo:
|
||||
compressionType: false
|
||||
doNotCompress:
|
||||
- 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