提交 b7109b1b 编写于 作者: A Ahmed Ashour 提交者: skylot

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

上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册