diff options
Diffstat (limited to 'src/test/java/cuchaz/enigma/TestDeobfed.java')
| -rw-r--r-- | src/test/java/cuchaz/enigma/TestDeobfed.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/test/java/cuchaz/enigma/TestDeobfed.java b/src/test/java/cuchaz/enigma/TestDeobfed.java index 2f318c8..76a3d3b 100644 --- a/src/test/java/cuchaz/enigma/TestDeobfed.java +++ b/src/test/java/cuchaz/enigma/TestDeobfed.java | |||
| @@ -25,20 +25,20 @@ import cuchaz.enigma.analysis.JarIndex; | |||
| 25 | 25 | ||
| 26 | public class TestDeobfed { | 26 | public class TestDeobfed { |
| 27 | 27 | ||
| 28 | private static JarFile m_jar; | 28 | private static JarFile jar; |
| 29 | private static JarIndex m_index; | 29 | private static JarIndex index; |
| 30 | 30 | ||
| 31 | @BeforeClass | 31 | @BeforeClass |
| 32 | public static void beforeClass() | 32 | public static void beforeClass() |
| 33 | throws Exception { | 33 | throws Exception { |
| 34 | m_jar = new JarFile("build/test-deobf/translation.jar"); | 34 | jar = new JarFile("build/test-deobf/translation.jar"); |
| 35 | m_index = new JarIndex(); | 35 | index = new JarIndex(); |
| 36 | m_index.indexJar(m_jar, true); | 36 | index.indexJar(jar, true); |
| 37 | } | 37 | } |
| 38 | 38 | ||
| 39 | @Test | 39 | @Test |
| 40 | public void obfEntries() { | 40 | public void obfEntries() { |
| 41 | assertThat(m_index.getObfClassEntries(), containsInAnyOrder( | 41 | assertThat(index.getObfClassEntries(), containsInAnyOrder( |
| 42 | newClass("cuchaz/enigma/inputs/Keep"), | 42 | newClass("cuchaz/enigma/inputs/Keep"), |
| 43 | newClass("a"), | 43 | newClass("a"), |
| 44 | newClass("b"), | 44 | newClass("b"), |
| @@ -68,7 +68,7 @@ public class TestDeobfed { | |||
| 68 | @Test | 68 | @Test |
| 69 | public void decompile() | 69 | public void decompile() |
| 70 | throws Exception { | 70 | throws Exception { |
| 71 | Deobfuscator deobfuscator = new Deobfuscator(m_jar); | 71 | Deobfuscator deobfuscator = new Deobfuscator(jar); |
| 72 | deobfuscator.getSourceTree("a"); | 72 | deobfuscator.getSourceTree("a"); |
| 73 | deobfuscator.getSourceTree("b"); | 73 | deobfuscator.getSourceTree("b"); |
| 74 | deobfuscator.getSourceTree("c"); | 74 | deobfuscator.getSourceTree("c"); |