fix: load .class files

This commit is contained in:
Skylot
2020-08-10 12:20:42 +01:00
parent 13609a5c44
commit 444ea9ec7e
6 changed files with 101 additions and 14 deletions
@@ -33,6 +33,11 @@ public class TestInput {
decompile("smali", "samples/HelloWorld.smali");
}
@Test
public void testClassInput() throws Exception {
decompile("class", "samples/HelloWorld.class");
}
private void decompile(String tmpDirName, String inputSample) throws URISyntaxException, IOException {
StringBuilder args = new StringBuilder();
Path tempDir = FileUtils.createTempDir(tmpDirName);
Binary file not shown.