diff options
Diffstat (limited to 'test/cuchaz/enigma/TestJarIndexLoneClass.java')
| -rw-r--r-- | test/cuchaz/enigma/TestJarIndexLoneClass.java | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/test/cuchaz/enigma/TestJarIndexLoneClass.java b/test/cuchaz/enigma/TestJarIndexLoneClass.java index 4c32b70..f77d86a 100644 --- a/test/cuchaz/enigma/TestJarIndexLoneClass.java +++ b/test/cuchaz/enigma/TestJarIndexLoneClass.java | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /******************************************************************************* | 1 | /******************************************************************************* |
| 2 | * Copyright (c) 2014 Jeff Martin.\ | 2 | * Copyright (c) 2014 Jeff Martin. |
| 3 | * | 3 | * |
| 4 | * All rights reserved. This program and the accompanying materials | 4 | * All rights reserved. This program and the accompanying materials |
| 5 | * are made available under the terms of the GNU Public License v3.0 | 5 | * are made available under the terms of the GNU Public License v3.0 |
| @@ -73,13 +73,6 @@ public class TestJarIndexLoneClass | |||
| 73 | } | 73 | } |
| 74 | 74 | ||
| 75 | @Test | 75 | @Test |
| 76 | public void isImplemented( ) | ||
| 77 | { | ||
| 78 | assertThat( m_index.isMethodImplemented( newMethod( "none/a", "a", "()Ljava/lang/String;" ) ), is( true ) ); | ||
| 79 | assertThat( m_index.isMethodImplemented( newMethod( "none/a", "b", "()Ljava/lang/String;" ) ), is( false ) ); | ||
| 80 | } | ||
| 81 | |||
| 82 | @Test | ||
| 83 | public void classInheritance( ) | 76 | public void classInheritance( ) |
| 84 | { | 77 | { |
| 85 | ClassInheritanceTreeNode node = m_index.getClassInheritance( new Translator(), newClass( "none/a" ) ); | 78 | ClassInheritanceTreeNode node = m_index.getClassInheritance( new Translator(), newClass( "none/a" ) ); |
| @@ -187,7 +180,7 @@ public class TestJarIndexLoneClass | |||
| 187 | assertThat( m_index.containsObfClass( newClass( "none/b" ) ), is( false ) ); | 180 | assertThat( m_index.containsObfClass( newClass( "none/b" ) ), is( false ) ); |
| 188 | assertThat( m_index.containsObfField( newField( "none/a", "a" ) ), is( true ) ); | 181 | assertThat( m_index.containsObfField( newField( "none/a", "a" ) ), is( true ) ); |
| 189 | assertThat( m_index.containsObfField( newField( "none/a", "b" ) ), is( false ) ); | 182 | assertThat( m_index.containsObfField( newField( "none/a", "b" ) ), is( false ) ); |
| 190 | assertThat( m_index.containsObfMethod( newMethod( "none/a", "a", "()Ljava/lang/String;" ) ), is( true ) ); | 183 | assertThat( m_index.containsObfBehavior( newMethod( "none/a", "a", "()Ljava/lang/String;" ) ), is( true ) ); |
| 191 | assertThat( m_index.containsObfMethod( newMethod( "none/a", "b", "()Ljava/lang/String;" ) ), is( false ) ); | 184 | assertThat( m_index.containsObfBehavior( newMethod( "none/a", "b", "()Ljava/lang/String;" ) ), is( false ) ); |
| 192 | } | 185 | } |
| 193 | } | 186 | } |