Commit d55cd5fb authored by Skylot's avatar Skylot

core tests: organize directories

parent 13a6b1c8
package jadx.api;
import jadx.core.dex.nodes.RootNode;
public class JadxInternalAccess {
public static RootNode getRoot(JadxDecompiler d) {
return d.getRoot();
}
}
package jadx.api;
package jadx.tests.api;
import jadx.api.JadxInternalAccess;
import jadx.api.DefaultJadxArgs;
import jadx.api.JadxDecompiler;
import jadx.core.Jadx;
import jadx.core.dex.attributes.AFlag;
import jadx.core.dex.attributes.AType;
......@@ -9,6 +12,7 @@ import jadx.core.dex.visitors.DepthTraversal;
import jadx.core.dex.visitors.IDexTreeVisitor;
import jadx.core.utils.exceptions.JadxException;
import jadx.core.utils.files.FileUtils;
import jadx.tests.api.utils.TestUtils;
import java.io.File;
import java.io.FileOutputStream;
......@@ -27,7 +31,7 @@ import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.fail;
public abstract class InternalJadxTest extends TestUtils {
public abstract class IntegrationTest extends TestUtils {
protected boolean outputCFG = false;
protected boolean isFallback = false;
......@@ -52,7 +56,7 @@ public abstract class InternalJadxTest extends TestUtils {
} catch (JadxException e) {
fail(e.getMessage());
}
ClassNode cls = d.getRoot().searchClassByName(clsName);
ClassNode cls = JadxInternalAccess.getRoot(d).searchClassByName(clsName);
assertNotNull("Class not found: " + clsName, cls);
assertEquals(cls.getFullName(), clsName);
......
package jadx.api;
package jadx.tests.api;
import jadx.core.Consts;
import jadx.core.dex.nodes.ClassNode;
......@@ -11,7 +11,7 @@ import org.jf.smali.main;
import static org.junit.Assert.fail;
public class SmaliTest extends InternalJadxTest {
public class SmaliTest extends IntegrationTest {
private static final String SMALI_TESTS_PROJECT = "jadx-core";
private static final String SMALI_TESTS_DIR = "src/test/smali";
......
package jadx.tests.utils;
import jadx.api.TestUtils;
package jadx.tests.api.utils;
import org.hamcrest.Description;
import org.hamcrest.core.SubstringMatcher;
......
package jadx.tests.utils;
package jadx.tests.api.utils;
import jadx.api.TestUtils;
import jadx.core.codegen.CodeWriter;
import org.hamcrest.Matcher;
......
package jadx.api;
package jadx.tests.api.utils;
import jadx.core.codegen.CodeWriter;
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestArgInline extends InternalJadxTest {
public class TestArgInline extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestClassGen extends InternalJadxTest {
public class TestClassGen extends IntegrationTest {
public static class TestCls {
public static interface I {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.instructions.InsnType;
import jadx.core.dex.instructions.args.InsnWrapArg;
import jadx.core.dex.nodes.ClassNode;
......@@ -21,7 +21,7 @@ import static org.junit.Assert.assertTrue;
* Test duplicate 'check-cast' instruction produced because of bug in javac:
* http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6246854
*/
public class TestDuplicateCast extends InternalJadxTest {
public class TestDuplicateCast extends IntegrationTest {
public static class TestCls {
public int[] method(Object o) {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestFloatValue extends InternalJadxTest {
public class TestFloatValue extends IntegrationTest {
public static class TestCls {
public float[] method() {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestRedundantBrackets extends InternalJadxTest {
public class TestRedundantBrackets extends IntegrationTest {
public static class TestCls {
public boolean method(String str) {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.fail;
public class TestRedundantReturn extends InternalJadxTest {
public class TestRedundantReturn extends IntegrationTest {
public static class TestCls {
public void test(int num) {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestReturnWrapping extends InternalJadxTest {
public class TestReturnWrapping extends IntegrationTest {
public static class TestCls {
public static int f1(int arg0) {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestStaticFieldsInit extends InternalJadxTest {
public class TestStaticFieldsInit extends IntegrationTest {
public static class TestCls {
public static final String s1 = "1";
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestStaticMethod extends InternalJadxTest {
public class TestStaticMethod extends IntegrationTest {
public static class TestCls {
static {
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestStringBuilderElimination extends InternalJadxTest {
public class TestStringBuilderElimination extends IntegrationTest {
public static class MyException extends Exception {
private static final long serialVersionUID = 4245254480662372757L;
......
package jadx.tests.internal;
package jadx.tests.integration;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestWrongCode extends InternalJadxTest {
public class TestWrongCode extends IntegrationTest {
public static class TestCls {
private int test() {
......
package jadx.tests.internal.annotations;
package jadx.tests.integration.annotations;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestAnnotations extends InternalJadxTest {
public class TestAnnotations extends IntegrationTest {
public static class TestCls {
private static @interface A {
......
package jadx.tests.internal.annotations;
package jadx.tests.integration.annotations;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.lang.annotation.ElementType;
......@@ -13,7 +13,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestAnnotations2 extends InternalJadxTest {
public class TestAnnotations2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.annotations;
package jadx.tests.integration.annotations;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.lang.annotation.ElementType;
......@@ -13,7 +13,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestParamAnnotations extends InternalJadxTest {
public class TestParamAnnotations extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.annotations;
package jadx.tests.integration.annotations;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestVarArgAnnotation extends InternalJadxTest {
public class TestVarArgAnnotation extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.arith;
package jadx.tests.integration.arith;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestArith extends InternalJadxTest {
public class TestArith extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.arith;
package jadx.tests.integration.arith;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestArith2 extends InternalJadxTest {
public class TestArith2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.arith;
package jadx.tests.integration.arith;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestFieldIncrement extends InternalJadxTest {
public class TestFieldIncrement extends IntegrationTest {
public static class TestCls {
public int instanceField = 1;
......
package jadx.tests.internal.arith;
package jadx.tests.integration.arith;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestFieldIncrement2 extends InternalJadxTest {
public class TestFieldIncrement2 extends IntegrationTest {
class A {
int f = 5;
......
package jadx.tests.internal.arith;
package jadx.tests.integration.arith;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestSpecialValues extends InternalJadxTest {
public class TestSpecialValues extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.arrays;
package jadx.tests.integration.arrays;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestArrayFill extends InternalJadxTest {
public class TestArrayFill extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.arrays;
package jadx.tests.integration.arrays;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestArrayFill2 extends InternalJadxTest {
public class TestArrayFill2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestCmpOp extends InternalJadxTest {
public class TestCmpOp extends IntegrationTest {
public static class TestCls {
public boolean testGT(float a) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestCmpOp2 extends InternalJadxTest {
public class TestCmpOp2 extends IntegrationTest {
public static class TestCls {
public boolean testGT(float a, float b) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions extends InternalJadxTest {
public class TestConditions extends IntegrationTest {
public static class TestCls {
private boolean test(boolean a, boolean b, boolean c) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions10 extends InternalJadxTest {
public class TestConditions10 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions11 extends InternalJadxTest {
public class TestConditions11 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions12 extends InternalJadxTest {
public class TestConditions12 extends IntegrationTest {
public static class TestCls {
static boolean autoStop = true;
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions13 extends InternalJadxTest {
public class TestConditions13 extends IntegrationTest {
public static class TestCls {
static boolean qualityReading;
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestConditions14 extends InternalJadxTest {
public class TestConditions14 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestConditions15 extends InternalJadxTest {
public class TestConditions15 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
public class TestConditions2 extends InternalJadxTest {
public class TestConditions2 extends IntegrationTest {
public static class TestCls {
int c;
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
......@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions3 extends InternalJadxTest {
public class TestConditions3 extends IntegrationTest {
public static class TestCls {
private static final Pattern PATTERN = Pattern.compile("[a-f0-9]{20}");
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions4 extends InternalJadxTest {
public class TestConditions4 extends IntegrationTest {
public static class TestCls {
public int test(int num) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions5 extends InternalJadxTest {
public class TestConditions5 extends IntegrationTest {
public static class TestCls {
public static void assertEquals(Object a1, Object a2) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
......@@ -11,7 +11,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions6 extends InternalJadxTest {
public class TestConditions6 extends IntegrationTest {
public static class TestCls {
public boolean test(List<String> l1, List<String> l2) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions7 extends InternalJadxTest {
public class TestConditions7 extends IntegrationTest {
public static class TestCls {
public void test(int[] a, int i) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestConditions8 extends InternalJadxTest {
public class TestConditions8 extends IntegrationTest {
public static class TestCls {
private TestCls pager;
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestConditions9 extends InternalJadxTest {
public class TestConditions9 extends IntegrationTest {
public static class TestCls {
public void test(boolean a, int b) throws Exception {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestElseIf extends InternalJadxTest {
public class TestElseIf extends IntegrationTest {
public static class TestCls {
public int testIfElse(String str) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestNestedIf extends InternalJadxTest {
public class TestNestedIf extends IntegrationTest {
public static class TestCls {
private boolean a0 = false;
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestSimpleConditions extends InternalJadxTest {
public class TestSimpleConditions extends IntegrationTest {
public static class TestCls {
public boolean test1(boolean[] a) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
import static org.junit.Assert.assertTrue;
public class TestTernary extends InternalJadxTest {
public class TestTernary extends IntegrationTest {
public static class TestCls {
public boolean test1(int a) {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
public class TestTernary2 extends InternalJadxTest {
public class TestTernary2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.conditions;
package jadx.tests.integration.conditions;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestTernaryInIf extends InternalJadxTest {
public class TestTernaryInIf extends IntegrationTest {
public static class TestCls {
public boolean test1(boolean a, boolean b, boolean c) {
......
package jadx.tests.internal.debuginfo;
package jadx.tests.integration.debuginfo;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.codegen.CodeWriter;
import jadx.core.dex.attributes.nodes.LineAttrNode;
import jadx.core.dex.nodes.ClassNode;
......@@ -13,7 +13,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
public class TestLineNumbers extends InternalJadxTest {
public class TestLineNumbers extends IntegrationTest {
public static class TestCls {
int field;
......
package jadx.tests.internal.debuginfo;
package jadx.tests.integration.debuginfo;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.codegen.CodeWriter;
import jadx.core.dex.nodes.ClassNode;
......@@ -11,7 +11,7 @@ import org.junit.Test;
import static org.junit.Assert.assertEquals;
public class TestLineNumbers2 extends InternalJadxTest {
public class TestLineNumbers2 extends IntegrationTest {
public static class TestCls {
private WeakReference<TestCls> f;
......
package jadx.tests.internal.enums;
package jadx.tests.integration.enums;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsLines;
import static jadx.tests.api.utils.JadxMatchers.containsLines;
import static org.junit.Assert.assertThat;
public class TestEnums extends InternalJadxTest {
public class TestEnums extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.enums;
package jadx.tests.integration.enums;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import jadx.tests.utils.JadxMatchers;
import jadx.tests.api.utils.JadxMatchers;
import org.junit.Test;
import static org.junit.Assert.assertThat;
public class TestEnums2 extends InternalJadxTest {
public class TestEnums2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.enums;
package jadx.tests.integration.enums;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestSwitchOverEnum extends InternalJadxTest {
public class TestSwitchOverEnum extends IntegrationTest {
public enum Count {
ONE, TWO, THREE
......
package jadx.tests.internal.generics;
package jadx.tests.integration.generics;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
......@@ -10,7 +10,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestGenerics extends InternalJadxTest {
public class TestGenerics extends IntegrationTest {
public static class TestCls {
class A {
......
package jadx.tests.internal.generics;
package jadx.tests.integration.generics;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.lang.ref.ReferenceQueue;
......@@ -12,7 +12,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestGenerics2 extends InternalJadxTest {
public class TestGenerics2 extends IntegrationTest {
public static class TestCls {
private static class ItemReference<V> extends WeakReference<V> {
......
package jadx.tests.internal.generics;
package jadx.tests.integration.generics;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
......@@ -10,7 +10,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestGenerics3 extends InternalJadxTest {
public class TestGenerics3 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.generics;
package jadx.tests.integration.generics;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestGenerics4 extends InternalJadxTest {
public class TestGenerics4 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestInline extends InternalJadxTest {
public class TestInline extends IntegrationTest {
public static class TestCls {
public static void main(String[] args) throws Exception {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestInline2 extends InternalJadxTest {
public class TestInline2 extends IntegrationTest {
public static class TestCls {
public int test() throws InterruptedException {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestInline3 extends InternalJadxTest {
public class TestInline3 extends IntegrationTest {
public static class TestCls {
public TestCls(int b1, int b2) {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestInline6 extends InternalJadxTest {
public class TestInline6 extends IntegrationTest {
public static class TestCls {
public void f() {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestInlineInLoop extends InternalJadxTest {
public class TestInlineInLoop extends IntegrationTest {
public static class TestCls {
public static void main(String[] args) throws Exception {
......
package jadx.tests.internal.inline;
package jadx.tests.integration.inline;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestSyntheticInline extends InternalJadxTest {
public class TestSyntheticInline extends IntegrationTest {
public static class TestCls {
private int f;
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.io.File;
......@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestAnonymousClass extends InternalJadxTest {
public class TestAnonymousClass extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestAnonymousClass2 extends InternalJadxTest {
public class TestAnonymousClass2 extends IntegrationTest {
public static class TestCls {
public static class Inner {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestAnonymousClass3 extends InternalJadxTest {
public class TestAnonymousClass3 extends IntegrationTest {
public static class TestCls {
public static class Inner {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestAnonymousClass4 extends InternalJadxTest {
public class TestAnonymousClass4 extends IntegrationTest {
public static class TestCls {
public static class Inner {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestInnerClass extends InternalJadxTest {
public class TestInnerClass extends IntegrationTest {
public static class TestCls {
public class Inner {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.Timer;
......@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestInnerClass2 extends InternalJadxTest {
public class TestInnerClass2 extends IntegrationTest {
public static class TestCls {
private static class TerminateTask extends TimerTask {
......
package jadx.tests.internal.inner;
package jadx.tests.integration.inner;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestInnerClass3 extends InternalJadxTest {
public class TestInnerClass3 extends IntegrationTest {
public static class TestCls {
private String c;
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsLines;
import static jadx.tests.api.utils.JadxMatchers.containsLines;
import static org.junit.Assert.assertThat;
public class TestArrayForEach extends InternalJadxTest {
public class TestArrayForEach extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsLines;
import static jadx.tests.api.utils.JadxMatchers.containsLines;
import static org.junit.Assert.assertThat;
public class TestArrayForEach2 extends InternalJadxTest {
public class TestArrayForEach2 extends IntegrationTest {
public static class TestCls {
private void test(String str) {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestArrayForEachNegative extends InternalJadxTest {
public class TestArrayForEachNegative extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestBreakInLoop extends InternalJadxTest {
public class TestBreakInLoop extends IntegrationTest {
public static class TestCls {
private int f;
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsLines;
import static jadx.tests.api.utils.JadxMatchers.containsLines;
import static org.junit.Assert.assertThat;
public class TestIndexForLoop extends InternalJadxTest {
public class TestIndexForLoop extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsLines;
import static jadx.tests.api.utils.JadxMatchers.containsLines;
import static org.junit.Assert.assertThat;
public class TestIterableForEach extends InternalJadxTest {
public class TestIterableForEach extends IntegrationTest {
public static class TestCls {
private String test(Iterable<String> a) {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.io.IOException;
......@@ -8,10 +8,10 @@ import java.util.List;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestIterableForEach2 extends InternalJadxTest {
public class TestIterableForEach2 extends IntegrationTest {
public static class TestCls {
public static String test(final Service service) throws IOException {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopCondition extends InternalJadxTest {
public class TestLoopCondition extends IntegrationTest {
public static class TestCls {
public String f;
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopCondition2 extends InternalJadxTest {
public class TestLoopCondition2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopCondition3 extends InternalJadxTest {
public class TestLoopCondition3 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopCondition4 extends InternalJadxTest {
public class TestLoopCondition4 extends IntegrationTest {
public static class TestCls {
public static void test() {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopConditionInvoke extends InternalJadxTest {
public class TestLoopConditionInvoke extends IntegrationTest {
public static class TestCls {
private static final char STOP_CHAR = 0;
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestLoopDetection extends InternalJadxTest {
public class TestLoopDetection extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestLoopDetection2 extends InternalJadxTest {
public class TestLoopDetection2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -8,7 +8,7 @@ import org.junit.Test;
import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertThat;
public class TestLoopDetection3 extends InternalJadxTest {
public class TestLoopDetection3 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.Iterator;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopDetection4 extends InternalJadxTest {
public class TestLoopDetection4 extends IntegrationTest {
public static class TestCls {
private Iterator<String> iterator;
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestNestedLoops extends InternalJadxTest {
public class TestNestedLoops extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.util.List;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestNestedLoops2 extends InternalJadxTest {
public class TestNestedLoops2 extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.loops;
package jadx.tests.integration.loops;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.hamcrest.CoreMatchers.containsString;
import static org.hamcrest.CoreMatchers.not;
import static org.junit.Assert.assertThat;
public class TestSequentialLoops extends InternalJadxTest {
public class TestSequentialLoops extends IntegrationTest {
public static class TestCls {
public int test7(int a, int b) {
......
package jadx.tests.internal.names;
package jadx.tests.integration.names;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestSameMethodsNames extends InternalJadxTest {
public class TestSameMethodsNames extends IntegrationTest {
public static class TestCls<V> {
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.io.File;
......@@ -8,11 +8,11 @@ import java.io.IOException;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestIfInTry extends InternalJadxTest {
public class TestIfInTry extends IntegrationTest {
public static class TestCls {
private File dir;
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestIfTryInCatch extends InternalJadxTest {
public class TestIfTryInCatch extends IntegrationTest {
public static class TestCls {
private static final String TAG = "TAG";
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.lang.reflect.Field;
......@@ -8,10 +8,10 @@ import java.util.HashMap;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestIssue13a extends InternalJadxTest {
public class TestIssue13a extends IntegrationTest {
public static class TestCls {
private static final String TAG = "Parcel";
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import java.io.File;
......@@ -11,11 +11,11 @@ import java.util.concurrent.CountDownLatch;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.utils.JadxMatchers.countString;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.countString;
import static org.junit.Assert.assertThat;
public class TestIssue13b extends InternalJadxTest {
public class TestIssue13b extends IntegrationTest {
public static class TestCls {
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopInTry extends InternalJadxTest {
public class TestLoopInTry extends IntegrationTest {
public static class TestCls {
private static boolean b = true;
......
package jadx.tests.internal.others;
package jadx.tests.integration.others;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import jadx.core.dex.nodes.DexNode;
import jadx.core.dex.nodes.MethodNode;
......@@ -14,10 +14,10 @@ import com.android.dex.Code;
import com.android.dx.io.instructions.DecodedInstruction;
import com.android.dx.io.instructions.ShortArrayCodeInput;
import static jadx.tests.utils.JadxMatchers.containsOne;
import static jadx.tests.api.utils.JadxMatchers.containsOne;
import static org.junit.Assert.assertThat;
public class TestLoopInTry2 extends InternalJadxTest {
public class TestLoopInTry2 extends IntegrationTest {
public static class TestCls {
private MethodNode method;
......
package jadx.tests.internal.switches;
package jadx.tests.integration.switches;
import jadx.api.InternalJadxTest;
import jadx.tests.api.IntegrationTest;
import jadx.core.dex.nodes.ClassNode;
import org.junit.Test;
......@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertThat;
public class TestSwitch extends InternalJadxTest {
public class TestSwitch extends IntegrationTest {
public static class TestCls {
public String escape(String str) {
int len = str.length();
......
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