Skip to content

Commit

Permalink
test: add assertions for unknown files / assets (#3074)
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Jul 4, 2023
1 parent 0e3e165 commit 2b81215
Show file tree
Hide file tree
Showing 7 changed files with 16 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,4 +141,9 @@ public void singleDexTest() throws BrutException, IOException {
File classesDex = new File(sTestOrigDir, "build/apk/classes.dex");
assertTrue(classesDex.isFile());
}

@Test
public void unknownFolderTest() throws BrutException {
compareUnknownFiles();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue-3038
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue-3038
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue-3038
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
issue-3038

0 comments on commit 2b81215

Please sign in to comment.