diff options
| author | 2015-02-09 22:23:45 -0500 | |
|---|---|---|
| committer | 2015-02-09 22:23:45 -0500 | |
| commit | af1041731c8c0ce1846ff7e7b6052ed7327a5dbc (patch) | |
| tree | e781b93f526a6c1ba7b6f5e14c319450199aa1df /test/cuchaz/enigma/TestJarIndexLoneClass.java | |
| parent | Don't automatically move mappings around. We're more interested in stability ... (diff) | |
| download | enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.gz enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.tar.xz enigma-fork-af1041731c8c0ce1846ff7e7b6052ed7327a5dbc.zip | |
fix translation issues, particularly with fields
Diffstat (limited to 'test/cuchaz/enigma/TestJarIndexLoneClass.java')
| -rw-r--r-- | test/cuchaz/enigma/TestJarIndexLoneClass.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/cuchaz/enigma/TestJarIndexLoneClass.java b/test/cuchaz/enigma/TestJarIndexLoneClass.java index c0ac8d7..768284f 100644 --- a/test/cuchaz/enigma/TestJarIndexLoneClass.java +++ b/test/cuchaz/enigma/TestJarIndexLoneClass.java | |||
| @@ -11,7 +11,7 @@ | |||
| 11 | ******************************************************************************/ | 11 | ******************************************************************************/ |
| 12 | package cuchaz.enigma; | 12 | package cuchaz.enigma; |
| 13 | 13 | ||
| 14 | import static cuchaz.enigma.EntryFactory.*; | 14 | import static cuchaz.enigma.TestEntryFactory.*; |
| 15 | import static org.hamcrest.MatcherAssert.*; | 15 | import static org.hamcrest.MatcherAssert.*; |
| 16 | import static org.hamcrest.Matchers.*; | 16 | import static org.hamcrest.Matchers.*; |
| 17 | 17 | ||
| @@ -96,8 +96,7 @@ public class TestJarIndexLoneClass { | |||
| 96 | @Test | 96 | @Test |
| 97 | public void methodImplementations() { | 97 | public void methodImplementations() { |
| 98 | MethodEntry source = newMethod("none/a", "a", "()Ljava/lang/String;"); | 98 | MethodEntry source = newMethod("none/a", "a", "()Ljava/lang/String;"); |
| 99 | MethodImplementationsTreeNode node = m_index.getMethodImplementations(new Translator(), source); | 99 | assertThat(m_index.getMethodImplementations(new Translator(), source), is(empty())); |
| 100 | assertThat(node, is(nullValue())); | ||
| 101 | } | 100 | } |
| 102 | 101 | ||
| 103 | @Test | 102 | @Test |