Commit b7109b1b authored by Ahmed Ashour's avatar Ahmed Ashour Committed by skylot

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

parent 3537f849
......@@ -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);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment