summaryrefslogtreecommitdiff
path: root/test/cuchaz/enigma/TestDeobfuscator.java
diff options
context:
space:
mode:
authorGravatar jeff2014-09-07 22:30:28 -0400
committerGravatar jeff2014-09-07 22:30:28 -0400
commit730238f3bab1c680424e0ac74178c33b15b43eb5 (patch)
tree4cc1075993b63d0066d5d4325c20bf49a3b88209 /test/cuchaz/enigma/TestDeobfuscator.java
parentadded proguard to the gradle config to create obfuscated jars for testing (diff)
downloadenigma-fork-730238f3bab1c680424e0ac74178c33b15b43eb5.tar.gz
enigma-fork-730238f3bab1c680424e0ac74178c33b15b43eb5.tar.xz
enigma-fork-730238f3bab1c680424e0ac74178c33b15b43eb5.zip
added some basic tests for the deobufscator and the jar index
Diffstat (limited to 'test/cuchaz/enigma/TestDeobfuscator.java')
-rw-r--r--test/cuchaz/enigma/TestDeobfuscator.java13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/cuchaz/enigma/TestDeobfuscator.java b/test/cuchaz/enigma/TestDeobfuscator.java
index 3310fbc..3e679fb 100644
--- a/test/cuchaz/enigma/TestDeobfuscator.java
+++ b/test/cuchaz/enigma/TestDeobfuscator.java
@@ -1,3 +1,14 @@
1/*******************************************************************************
2 * Copyright (c) 2014 Jeff Martin.\
3 *
4 * All rights reserved. This program and the accompanying materials
5 * are made available under the terms of the GNU Public License v3.0
6 * which accompanies this distribution, and is available at
7 * http://www.gnu.org/licenses/gpl.html
8 *
9 * Contributors:
10 * Jeff Martin - initial API and implementation
11 ******************************************************************************/
1package cuchaz.enigma; 12package cuchaz.enigma;
2 13
3import static org.junit.Assert.*; 14import static org.junit.Assert.*;
@@ -17,7 +28,7 @@ public class TestDeobfuscator
17 private Deobfuscator getDeobfuscator( ) 28 private Deobfuscator getDeobfuscator( )
18 throws IOException 29 throws IOException
19 { 30 {
20 return new Deobfuscator( new File( "build/libs/testCases.obf.jar" ) ); 31 return new Deobfuscator( new File( "build/libs/testLoneClass.obf.jar" ) );
21 } 32 }
22 33
23 @Test 34 @Test