diff options
| author | 2019-06-19 18:51:31 +0100 | |
|---|---|---|
| committer | 2019-06-19 18:51:31 +0100 | |
| commit | 546c617598b10c341fe6549678803f6ac0c95619 (patch) | |
| tree | d818bcebf7634ed5b716ee29619725fdc29a04e8 /src/test/java/cuchaz/enigma/TestTokensConstructors.java | |
| parent | fix unwanted declaration navigation during Quick Find (diff) | |
| parent | Parse profile json from cli args (diff) | |
| download | enigma-fork-546c617598b10c341fe6549678803f6ac0c95619.tar.gz enigma-fork-546c617598b10c341fe6549678803f6ac0c95619.tar.xz enigma-fork-546c617598b10c341fe6549678803f6ac0c95619.zip | |
Merge pull request #135 from gegy1000/proposal-tweak
Plugin rework
Diffstat (limited to 'src/test/java/cuchaz/enigma/TestTokensConstructors.java')
| -rw-r--r-- | src/test/java/cuchaz/enigma/TestTokensConstructors.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/java/cuchaz/enigma/TestTokensConstructors.java b/src/test/java/cuchaz/enigma/TestTokensConstructors.java index 1ee0bde..0398de4 100644 --- a/src/test/java/cuchaz/enigma/TestTokensConstructors.java +++ b/src/test/java/cuchaz/enigma/TestTokensConstructors.java | |||
| @@ -14,7 +14,7 @@ package cuchaz.enigma; | |||
| 14 | import cuchaz.enigma.translation.representation.entry.MethodEntry; | 14 | import cuchaz.enigma.translation.representation.entry.MethodEntry; |
| 15 | import org.junit.Test; | 15 | import org.junit.Test; |
| 16 | 16 | ||
| 17 | import java.util.jar.JarFile; | 17 | import java.nio.file.Paths; |
| 18 | 18 | ||
| 19 | import static cuchaz.enigma.TestEntryFactory.newBehaviorReferenceByMethod; | 19 | import static cuchaz.enigma.TestEntryFactory.newBehaviorReferenceByMethod; |
| 20 | import static cuchaz.enigma.TestEntryFactory.newMethod; | 20 | import static cuchaz.enigma.TestEntryFactory.newMethod; |
| @@ -25,7 +25,7 @@ public class TestTokensConstructors extends TokenChecker { | |||
| 25 | 25 | ||
| 26 | public TestTokensConstructors() | 26 | public TestTokensConstructors() |
| 27 | throws Exception { | 27 | throws Exception { |
| 28 | super(new JarFile("build/test-obf/constructors.jar")); | 28 | super(Paths.get("build/test-obf/constructors.jar")); |
| 29 | } | 29 | } |
| 30 | 30 | ||
| 31 | @Test | 31 | @Test |