mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-11 21:37:47 +01:00
parent
2a3d4027e3
commit
5798c9200f
@ -373,6 +373,16 @@ public class BuildAndDecodeTest {
|
||||
compareUnknownFiles();
|
||||
}
|
||||
|
||||
@Test
|
||||
public void fileAssetTest() throws BrutException, IOException {
|
||||
compareAssetsFolder("txt");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void unicodeAssetTest() throws BrutException, IOException {
|
||||
// failure using ∂ (unicode)
|
||||
}
|
||||
|
||||
@Test
|
||||
public void multipleDexTest() throws BrutException, IOException {
|
||||
compareBinaryFolder("/smali_classes2", false);
|
||||
@ -434,6 +444,10 @@ public class BuildAndDecodeTest {
|
||||
compareBinaryFolder(File.separatorChar + path, false);
|
||||
}
|
||||
|
||||
private void compareAssetsFolder(String path) throws BrutException, IOException {
|
||||
compareBinaryFolder(File.separatorChar + "assets" + File.separatorChar + path, false);
|
||||
}
|
||||
|
||||
private void compareValuesFiles(String path) throws BrutException {
|
||||
compareXmlFiles("res/" + path, new ElementNameAndAttributeQualifier("name"));
|
||||
}
|
||||
|
@ -0,0 +1 @@
|
||||
This is an empty file.
|
Loading…
Reference in New Issue
Block a user