test: remove commented code and style fixes (PR #520)

This commit is contained in:
Ahmed Ashour
2019-03-26 19:04:22 +01:00
committed by skylot
parent 3537f849ef
commit b7109b1b2b
3 changed files with 3 additions and 8 deletions
@@ -12,7 +12,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
public class TestConditions extends IntegrationTest {
public static class TestCls {
private boolean test(boolean a, boolean b, boolean c) {
public boolean test(boolean a, boolean b, boolean c) {
return (a && b) || c;
}
}
@@ -12,7 +12,7 @@ public class TestConditions15 extends IntegrationTest {
public static class TestCls {
private static boolean test(final String name) {
public static boolean test(final String name) {
if (isEmpty(name)) {
return false;
}
@@ -2,7 +2,6 @@ package jadx.tests.integration.conditions;
import org.junit.jupiter.api.Test;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.api.IntegrationTest;
public class TestConditions2 extends IntegrationTest {
@@ -25,10 +24,6 @@ public class TestConditions2 extends IntegrationTest {
@Test
public void test() {
ClassNode cls = getClassNode(TestCls.class);
String code = cls.getCode().toString();
// assertThat(code, containsString("return;"));
// assertThat(code, not(containsString("else")));
getClassNode(TestCls.class);
}
}