diff options
| author | 2019-06-18 20:20:40 +0200 | |
|---|---|---|
| committer | 2019-06-18 20:20:40 +0200 | |
| commit | 42243fa65e1d87f6a0498f6e2d83505605409411 (patch) | |
| tree | c4127d7928c752360639b42b221c96678cdc5807 /src/test/java/cuchaz/enigma/TestTokensConstructors.java | |
| parent | Plugin rework along with API rework: Enigma split from EnigmaProject; plugins... (diff) | |
| parent | fix unwanted declaration navigation during Quick Find (diff) | |
| download | enigma-fork-42243fa65e1d87f6a0498f6e2d83505605409411.tar.gz enigma-fork-42243fa65e1d87f6a0498f6e2d83505605409411.tar.xz enigma-fork-42243fa65e1d87f6a0498f6e2d83505605409411.zip | |
Mostly resolve test failures
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 |