diff options
| author | 2020-06-03 13:39:42 -0400 | |
|---|---|---|
| committer | 2020-06-03 18:39:42 +0100 | |
| commit | 0f47403d0220757fed189b76e2071e25b1025cb8 (patch) | |
| tree | 879bf72c4476f0a5e0d82da99d7ff2b2276bcaca /enigma-cli/src/test/java | |
| parent | Fix search dialog hanging for a short time sometimes (#250) (diff) | |
| download | enigma-0f47403d0220757fed189b76e2071e25b1025cb8.tar.gz enigma-0f47403d0220757fed189b76e2071e25b1025cb8.tar.xz enigma-0f47403d0220757fed189b76e2071e25b1025cb8.zip | |
Split GUI code to separate module (#242)
* Split into modules
* Post merge compile fixes
Co-authored-by: modmuss50 <modmuss50@gmail.com>
Diffstat (limited to '')
| -rw-r--r-- | enigma-cli/src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java (renamed from src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java) | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java b/enigma-cli/src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java index f3b9f85e..a29bba40 100644 --- a/src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java +++ b/enigma-cli/src/test/java/cuchaz/enigma/command/CheckMappingsCommandTest.java | |||
| @@ -5,16 +5,17 @@ import org.junit.Test; | |||
| 5 | import java.io.File; | 5 | import java.io.File; |
| 6 | 6 | ||
| 7 | public class CheckMappingsCommandTest { | 7 | public class CheckMappingsCommandTest { |
| 8 | private static final String PACKAGE_ACCESS = "../enigma/build/test-obf/packageAccess.jar"; | ||
| 8 | 9 | ||
| 9 | @Test(expected = IllegalStateException.class) | 10 | @Test(expected = IllegalStateException.class) |
| 10 | public void testWrong() throws Exception { | 11 | public void testWrong() throws Exception { |
| 11 | new CheckMappingsCommand().run(new File("build/test-obf/packageAccess.jar").getAbsolutePath(), new File("src/test/resources" + | 12 | new CheckMappingsCommand().run(new File(PACKAGE_ACCESS).getAbsolutePath(), new File("src/test/resources" + |
| 12 | "/packageAccess/wrongMappings").getAbsolutePath()); | 13 | "/packageAccess/wrongMappings").getAbsolutePath()); |
| 13 | } | 14 | } |
| 14 | 15 | ||
| 15 | @Test | 16 | @Test |
| 16 | public void testRight() throws Exception { | 17 | public void testRight() throws Exception { |
| 17 | new CheckMappingsCommand().run(new File("build/test-obf/packageAccess.jar").getAbsolutePath(), new File("src/test/resources" + | 18 | new CheckMappingsCommand().run(new File(PACKAGE_ACCESS).getAbsolutePath(), new File("src/test/resources" + |
| 18 | "/packageAccess/correctMappings").getAbsolutePath()); | 19 | "/packageAccess/correctMappings").getAbsolutePath()); |
| 19 | } | 20 | } |
| 20 | } | 21 | } |