Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jadx
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
open-source
jadx
Commits
d55cd5fb
Commit
d55cd5fb
authored
Sep 21, 2014
by
Skylot
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
core tests: organize directories
parent
13a6b1c8
Hide whitespace changes
Inline
Side-by-side
Showing
120 changed files
with
416 additions
and
405 deletions
+416
-405
JadxInternalAccess.java
jadx-core/src/test/java/jadx/api/JadxInternalAccess.java
+10
-0
IntegrationTest.java
jadx-core/src/test/java/jadx/tests/api/IntegrationTest.java
+7
-3
SmaliTest.java
jadx-core/src/test/java/jadx/tests/api/SmaliTest.java
+2
-2
CountString.java
...-core/src/test/java/jadx/tests/api/utils/CountString.java
+1
-3
JadxMatchers.java
...core/src/test/java/jadx/tests/api/utils/JadxMatchers.java
+1
-2
TestUtils.java
jadx-core/src/test/java/jadx/tests/api/utils/TestUtils.java
+1
-1
TestArgInline.java
...e/src/test/java/jadx/tests/integration/TestArgInline.java
+3
-3
TestClassGen.java
...re/src/test/java/jadx/tests/integration/TestClassGen.java
+3
-3
TestDuplicateCast.java
...c/test/java/jadx/tests/integration/TestDuplicateCast.java
+3
-3
TestFloatValue.java
.../src/test/java/jadx/tests/integration/TestFloatValue.java
+3
-3
TestRedundantBrackets.java
...st/java/jadx/tests/integration/TestRedundantBrackets.java
+3
-3
TestRedundantReturn.java
...test/java/jadx/tests/integration/TestRedundantReturn.java
+3
-3
TestReturnWrapping.java
.../test/java/jadx/tests/integration/TestReturnWrapping.java
+3
-3
TestStaticFieldsInit.java
...est/java/jadx/tests/integration/TestStaticFieldsInit.java
+3
-3
TestStaticMethod.java
...rc/test/java/jadx/tests/integration/TestStaticMethod.java
+3
-3
TestStringBuilderElimination.java
.../jadx/tests/integration/TestStringBuilderElimination.java
+3
-3
TestWrongCode.java
...e/src/test/java/jadx/tests/integration/TestWrongCode.java
+3
-3
TestAnnotations.java
...a/jadx/tests/integration/annotations/TestAnnotations.java
+4
-4
TestAnnotations2.java
.../jadx/tests/integration/annotations/TestAnnotations2.java
+3
-3
TestParamAnnotations.java
...x/tests/integration/annotations/TestParamAnnotations.java
+3
-3
TestVarArgAnnotation.java
...x/tests/integration/annotations/TestVarArgAnnotation.java
+3
-3
TestArith.java
...src/test/java/jadx/tests/integration/arith/TestArith.java
+3
-3
TestArith2.java
...rc/test/java/jadx/tests/integration/arith/TestArith2.java
+3
-3
TestFieldIncrement.java
...java/jadx/tests/integration/arith/TestFieldIncrement.java
+3
-3
TestFieldIncrement2.java
...ava/jadx/tests/integration/arith/TestFieldIncrement2.java
+3
-3
TestSpecialValues.java
.../java/jadx/tests/integration/arith/TestSpecialValues.java
+4
-4
TestArrayFill.java
...est/java/jadx/tests/integration/arrays/TestArrayFill.java
+3
-3
TestArrayFill2.java
...st/java/jadx/tests/integration/arrays/TestArrayFill2.java
+3
-3
TestCmpOp.java
...est/java/jadx/tests/integration/conditions/TestCmpOp.java
+3
-3
TestCmpOp2.java
...st/java/jadx/tests/integration/conditions/TestCmpOp2.java
+3
-3
TestConditions.java
...ava/jadx/tests/integration/conditions/TestConditions.java
+3
-3
TestConditions10.java
...a/jadx/tests/integration/conditions/TestConditions10.java
+4
-4
TestConditions11.java
...a/jadx/tests/integration/conditions/TestConditions11.java
+4
-4
TestConditions12.java
...a/jadx/tests/integration/conditions/TestConditions12.java
+4
-4
TestConditions13.java
...a/jadx/tests/integration/conditions/TestConditions13.java
+4
-4
TestConditions14.java
...a/jadx/tests/integration/conditions/TestConditions14.java
+4
-4
TestConditions15.java
...a/jadx/tests/integration/conditions/TestConditions15.java
+4
-4
TestConditions2.java
...va/jadx/tests/integration/conditions/TestConditions2.java
+3
-3
TestConditions3.java
...va/jadx/tests/integration/conditions/TestConditions3.java
+3
-3
TestConditions4.java
...va/jadx/tests/integration/conditions/TestConditions4.java
+3
-3
TestConditions5.java
...va/jadx/tests/integration/conditions/TestConditions5.java
+3
-3
TestConditions6.java
...va/jadx/tests/integration/conditions/TestConditions6.java
+3
-3
TestConditions7.java
...va/jadx/tests/integration/conditions/TestConditions7.java
+3
-3
TestConditions8.java
...va/jadx/tests/integration/conditions/TestConditions8.java
+3
-3
TestConditions9.java
...va/jadx/tests/integration/conditions/TestConditions9.java
+4
-4
TestElseIf.java
...st/java/jadx/tests/integration/conditions/TestElseIf.java
+4
-4
TestNestedIf.java
.../java/jadx/tests/integration/conditions/TestNestedIf.java
+5
-5
TestSimpleConditions.java
...dx/tests/integration/conditions/TestSimpleConditions.java
+3
-3
TestTernary.java
...t/java/jadx/tests/integration/conditions/TestTernary.java
+3
-3
TestTernary2.java
.../java/jadx/tests/integration/conditions/TestTernary2.java
+3
-3
TestTernaryInIf.java
...va/jadx/tests/integration/conditions/TestTernaryInIf.java
+4
-4
TestLineNumbers.java
...ava/jadx/tests/integration/debuginfo/TestLineNumbers.java
+3
-3
TestLineNumbers2.java
...va/jadx/tests/integration/debuginfo/TestLineNumbers2.java
+3
-3
TestEnums.java
...src/test/java/jadx/tests/integration/enums/TestEnums.java
+4
-4
TestEnums2.java
...rc/test/java/jadx/tests/integration/enums/TestEnums2.java
+4
-4
TestSwitchOverEnum.java
...java/jadx/tests/integration/enums/TestSwitchOverEnum.java
+4
-4
TestGenerics.java
...st/java/jadx/tests/integration/generics/TestGenerics.java
+3
-3
TestGenerics2.java
...t/java/jadx/tests/integration/generics/TestGenerics2.java
+3
-3
TestGenerics3.java
...t/java/jadx/tests/integration/generics/TestGenerics3.java
+3
-3
TestGenerics4.java
...t/java/jadx/tests/integration/generics/TestGenerics4.java
+3
-3
TestInline.java
...c/test/java/jadx/tests/integration/inline/TestInline.java
+3
-3
TestInline2.java
.../test/java/jadx/tests/integration/inline/TestInline2.java
+4
-4
TestInline3.java
.../test/java/jadx/tests/integration/inline/TestInline3.java
+3
-3
TestInline6.java
.../test/java/jadx/tests/integration/inline/TestInline6.java
+3
-3
TestInlineInLoop.java
.../java/jadx/tests/integration/inline/TestInlineInLoop.java
+5
-5
TestSyntheticInline.java
...va/jadx/tests/integration/inline/TestSyntheticInline.java
+3
-3
TestAnonymousClass.java
...java/jadx/tests/integration/inner/TestAnonymousClass.java
+3
-3
TestAnonymousClass2.java
...ava/jadx/tests/integration/inner/TestAnonymousClass2.java
+3
-3
TestAnonymousClass3.java
...ava/jadx/tests/integration/inner/TestAnonymousClass3.java
+3
-3
TestAnonymousClass4.java
...ava/jadx/tests/integration/inner/TestAnonymousClass4.java
+5
-5
TestInnerClass.java
...est/java/jadx/tests/integration/inner/TestInnerClass.java
+3
-3
TestInnerClass2.java
...st/java/jadx/tests/integration/inner/TestInnerClass2.java
+3
-3
TestInnerClass3.java
...st/java/jadx/tests/integration/inner/TestInnerClass3.java
+3
-3
TestArrayForEach.java
...t/java/jadx/tests/integration/loops/TestArrayForEach.java
+4
-4
TestArrayForEach2.java
.../java/jadx/tests/integration/loops/TestArrayForEach2.java
+4
-4
TestArrayForEachNegative.java
...adx/tests/integration/loops/TestArrayForEachNegative.java
+3
-3
TestBreakInLoop.java
...st/java/jadx/tests/integration/loops/TestBreakInLoop.java
+5
-5
TestIndexForLoop.java
...t/java/jadx/tests/integration/loops/TestIndexForLoop.java
+4
-4
TestIterableForEach.java
...ava/jadx/tests/integration/loops/TestIterableForEach.java
+4
-4
TestIterableForEach2.java
...va/jadx/tests/integration/loops/TestIterableForEach2.java
+4
-4
TestLoopCondition.java
.../java/jadx/tests/integration/loops/TestLoopCondition.java
+4
-4
TestLoopCondition2.java
...java/jadx/tests/integration/loops/TestLoopCondition2.java
+4
-4
TestLoopCondition3.java
...java/jadx/tests/integration/loops/TestLoopCondition3.java
+4
-4
TestLoopCondition4.java
...java/jadx/tests/integration/loops/TestLoopCondition4.java
+4
-4
TestLoopConditionInvoke.java
...jadx/tests/integration/loops/TestLoopConditionInvoke.java
+4
-4
TestLoopDetection.java
.../java/jadx/tests/integration/loops/TestLoopDetection.java
+3
-3
TestLoopDetection2.java
...java/jadx/tests/integration/loops/TestLoopDetection2.java
+4
-4
TestLoopDetection3.java
...java/jadx/tests/integration/loops/TestLoopDetection3.java
+3
-3
TestLoopDetection4.java
...java/jadx/tests/integration/loops/TestLoopDetection4.java
+4
-4
TestNestedLoops.java
...st/java/jadx/tests/integration/loops/TestNestedLoops.java
+4
-4
TestNestedLoops2.java
...t/java/jadx/tests/integration/loops/TestNestedLoops2.java
+4
-4
TestSequentialLoops.java
...ava/jadx/tests/integration/loops/TestSequentialLoops.java
+5
-5
TestSameMethodsNames.java
...va/jadx/tests/integration/names/TestSameMethodsNames.java
+4
-4
TestIfInTry.java
.../test/java/jadx/tests/integration/others/TestIfInTry.java
+5
-5
TestIfTryInCatch.java
.../java/jadx/tests/integration/others/TestIfTryInCatch.java
+5
-5
TestIssue13a.java
...test/java/jadx/tests/integration/others/TestIssue13a.java
+4
-4
TestIssue13b.java
...test/java/jadx/tests/integration/others/TestIssue13b.java
+5
-5
TestLoopInTry.java
...est/java/jadx/tests/integration/others/TestLoopInTry.java
+4
-4
TestLoopInTry2.java
...st/java/jadx/tests/integration/others/TestLoopInTry2.java
+4
-4
TestSwitch.java
...test/java/jadx/tests/integration/switches/TestSwitch.java
+3
-3
TestSwitchLabels.java
...ava/jadx/tests/integration/switches/TestSwitchLabels.java
+3
-3
TestSwitchNoDefault.java
.../jadx/tests/integration/switches/TestSwitchNoDefault.java
+3
-3
TestSwitchSimple.java
...ava/jadx/tests/integration/switches/TestSwitchSimple.java
+3
-3
TestSynchronized.java
.../jadx/tests/integration/synchronize/TestSynchronized.java
+3
-3
TestSynchronized2.java
...jadx/tests/integration/synchronize/TestSynchronized2.java
+3
-3
TestInlineInCatch.java
...va/jadx/tests/integration/trycatch/TestInlineInCatch.java
+4
-4
TestNestedTryCatch.java
...a/jadx/tests/integration/trycatch/TestNestedTryCatch.java
+4
-4
TestTryCatch.java
...st/java/jadx/tests/integration/trycatch/TestTryCatch.java
+3
-3
TestTryCatch2.java
...t/java/jadx/tests/integration/trycatch/TestTryCatch2.java
+3
-3
TestTryCatch3.java
...t/java/jadx/tests/integration/trycatch/TestTryCatch3.java
+3
-3
TestTryCatch4.java
...t/java/jadx/tests/integration/trycatch/TestTryCatch4.java
+3
-3
TestTryCatch5.java
...t/java/jadx/tests/integration/trycatch/TestTryCatch5.java
+3
-3
TestTypeResolver.java
...t/java/jadx/tests/integration/types/TestTypeResolver.java
+3
-3
TestInlineThis.java
...t/java/jadx/tests/integration/usethis/TestInlineThis.java
+4
-4
TestRedundantThis.java
...ava/jadx/tests/integration/usethis/TestRedundantThis.java
+3
-3
TestVariables2.java
...java/jadx/tests/integration/variables/TestVariables2.java
+3
-3
TestVariables3.java
...java/jadx/tests/integration/variables/TestVariables3.java
+3
-3
TestVariables4.java
...java/jadx/tests/integration/variables/TestVariables4.java
+3
-3
TestVariablesDefinitions.java
...tests/integration/variables/TestVariablesDefinitions.java
+4
-4
TestConstructor.java
...-core/src/test/java/jadx/tests/smali/TestConstructor.java
+2
-2
No files found.
jadx-core/src/test/java/jadx/api/JadxInternalAccess.java
0 → 100644
View file @
d55cd5fb
package
jadx
.
api
;
import
jadx.core.dex.nodes.RootNode
;
public
class
JadxInternalAccess
{
public
static
RootNode
getRoot
(
JadxDecompiler
d
)
{
return
d
.
getRoot
();
}
}
jadx-core/src/test/java/jadx/
api/InternalJadx
Test.java
→
jadx-core/src/test/java/jadx/
tests/api/Integration
Test.java
View file @
d55cd5fb
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.Jadx
;
import
jadx.core.dex.attributes.AFlag
;
import
jadx.core.dex.attributes.AFlag
;
import
jadx.core.dex.attributes.AType
;
import
jadx.core.dex.attributes.AType
;
...
@@ -9,6 +12,7 @@ import jadx.core.dex.visitors.DepthTraversal;
...
@@ -9,6 +12,7 @@ import jadx.core.dex.visitors.DepthTraversal;
import
jadx.core.dex.visitors.IDexTreeVisitor
;
import
jadx.core.dex.visitors.IDexTreeVisitor
;
import
jadx.core.utils.exceptions.JadxException
;
import
jadx.core.utils.exceptions.JadxException
;
import
jadx.core.utils.files.FileUtils
;
import
jadx.core.utils.files.FileUtils
;
import
jadx.tests.api.utils.TestUtils
;
import
java.io.File
;
import
java.io.File
;
import
java.io.FileOutputStream
;
import
java.io.FileOutputStream
;
...
@@ -27,7 +31,7 @@ import static org.junit.Assert.assertThat;
...
@@ -27,7 +31,7 @@ import static org.junit.Assert.assertThat;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
fail
;
import
static
org
.
junit
.
Assert
.
fail
;
public
abstract
class
Inte
rnalJadx
Test
extends
TestUtils
{
public
abstract
class
Inte
gration
Test
extends
TestUtils
{
protected
boolean
outputCFG
=
false
;
protected
boolean
outputCFG
=
false
;
protected
boolean
isFallback
=
false
;
protected
boolean
isFallback
=
false
;
...
@@ -52,7 +56,7 @@ public abstract class InternalJadxTest extends TestUtils {
...
@@ -52,7 +56,7 @@ public abstract class InternalJadxTest extends TestUtils {
}
catch
(
JadxException
e
)
{
}
catch
(
JadxException
e
)
{
fail
(
e
.
getMessage
());
fail
(
e
.
getMessage
());
}
}
ClassNode
cls
=
d
.
getRoot
(
).
searchClassByName
(
clsName
);
ClassNode
cls
=
JadxInternalAccess
.
getRoot
(
d
).
searchClassByName
(
clsName
);
assertNotNull
(
"Class not found: "
+
clsName
,
cls
);
assertNotNull
(
"Class not found: "
+
clsName
,
cls
);
assertEquals
(
cls
.
getFullName
(),
clsName
);
assertEquals
(
cls
.
getFullName
(),
clsName
);
...
...
jadx-core/src/test/java/jadx/api/SmaliTest.java
→
jadx-core/src/test/java/jadx/
tests/
api/SmaliTest.java
View file @
d55cd5fb
package
jadx
.
api
;
package
jadx
.
tests
.
api
;
import
jadx.core.Consts
;
import
jadx.core.Consts
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
...
@@ -11,7 +11,7 @@ import org.jf.smali.main;
...
@@ -11,7 +11,7 @@ import org.jf.smali.main;
import
static
org
.
junit
.
Assert
.
fail
;
import
static
org
.
junit
.
Assert
.
fail
;
public
class
SmaliTest
extends
Inte
rnalJadx
Test
{
public
class
SmaliTest
extends
Inte
gration
Test
{
private
static
final
String
SMALI_TESTS_PROJECT
=
"jadx-core"
;
private
static
final
String
SMALI_TESTS_PROJECT
=
"jadx-core"
;
private
static
final
String
SMALI_TESTS_DIR
=
"src/test/smali"
;
private
static
final
String
SMALI_TESTS_DIR
=
"src/test/smali"
;
...
...
jadx-core/src/test/java/jadx/tests/utils/CountString.java
→
jadx-core/src/test/java/jadx/tests/
api/
utils/CountString.java
View file @
d55cd5fb
package
jadx
.
tests
.
utils
;
package
jadx
.
tests
.
api
.
utils
;
import
jadx.api.TestUtils
;
import
org.hamcrest.Description
;
import
org.hamcrest.Description
;
import
org.hamcrest.core.SubstringMatcher
;
import
org.hamcrest.core.SubstringMatcher
;
...
...
jadx-core/src/test/java/jadx/tests/utils/JadxMatchers.java
→
jadx-core/src/test/java/jadx/tests/
api/
utils/JadxMatchers.java
View file @
d55cd5fb
package
jadx
.
tests
.
utils
;
package
jadx
.
tests
.
api
.
utils
;
import
jadx.api.TestUtils
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.codegen.CodeWriter
;
import
org.hamcrest.Matcher
;
import
org.hamcrest.Matcher
;
...
...
jadx-core/src/test/java/jadx/
api
/TestUtils.java
→
jadx-core/src/test/java/jadx/
tests/api/utils
/TestUtils.java
View file @
d55cd5fb
package
jadx
.
api
;
package
jadx
.
tests
.
api
.
utils
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.codegen.CodeWriter
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestArgInline.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestArgInline.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArgInline
extends
Inte
rnalJadx
Test
{
public
class
TestArgInline
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestClassGen.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestClassGen.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestClassGen
extends
Inte
rnalJadx
Test
{
public
class
TestClassGen
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
interface
I
{
public
static
interface
I
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestDuplicateCast.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestDuplicateCast.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.instructions.InsnType
;
import
jadx.core.dex.instructions.InsnType
;
import
jadx.core.dex.instructions.args.InsnWrapArg
;
import
jadx.core.dex.instructions.args.InsnWrapArg
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
...
@@ -21,7 +21,7 @@ import static org.junit.Assert.assertTrue;
...
@@ -21,7 +21,7 @@ import static org.junit.Assert.assertTrue;
* Test duplicate 'check-cast' instruction produced because of bug in javac:
* Test duplicate 'check-cast' instruction produced because of bug in javac:
* http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6246854
* http://bugs.java.com/bugdatabase/view_bug.do?bug_id=6246854
*/
*/
public
class
TestDuplicateCast
extends
Inte
rnalJadx
Test
{
public
class
TestDuplicateCast
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
[]
method
(
Object
o
)
{
public
int
[]
method
(
Object
o
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestFloatValue.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestFloatValue.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestFloatValue
extends
Inte
rnalJadx
Test
{
public
class
TestFloatValue
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
float
[]
method
()
{
public
float
[]
method
()
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestRedundantBrackets.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestRedundantBrackets.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestRedundantBrackets
extends
Inte
rnalJadx
Test
{
public
class
TestRedundantBrackets
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
method
(
String
str
)
{
public
boolean
method
(
String
str
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestRedundantReturn.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestRedundantReturn.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
fail
;
import
static
org
.
junit
.
Assert
.
fail
;
public
class
TestRedundantReturn
extends
Inte
rnalJadx
Test
{
public
class
TestRedundantReturn
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
test
(
int
num
)
{
public
void
test
(
int
num
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestReturnWrapping.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestReturnWrapping.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestReturnWrapping
extends
Inte
rnalJadx
Test
{
public
class
TestReturnWrapping
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
int
f1
(
int
arg0
)
{
public
static
int
f1
(
int
arg0
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestStaticFieldsInit.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestStaticFieldsInit.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestStaticFieldsInit
extends
Inte
rnalJadx
Test
{
public
class
TestStaticFieldsInit
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
final
String
s1
=
"1"
;
public
static
final
String
s1
=
"1"
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestStaticMethod.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestStaticMethod.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestStaticMethod
extends
Inte
rnalJadx
Test
{
public
class
TestStaticMethod
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
static
{
static
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestStringBuilderElimination.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestStringBuilderElimination.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestStringBuilderElimination
extends
Inte
rnalJadx
Test
{
public
class
TestStringBuilderElimination
extends
Inte
gration
Test
{
public
static
class
MyException
extends
Exception
{
public
static
class
MyException
extends
Exception
{
private
static
final
long
serialVersionUID
=
4245254480662372757L
;
private
static
final
long
serialVersionUID
=
4245254480662372757L
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/TestWrongCode.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/TestWrongCode.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
;
package
jadx
.
tests
.
inte
gration
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestWrongCode
extends
Inte
rnalJadx
Test
{
public
class
TestWrongCode
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
int
test
()
{
private
int
test
()
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/annotations/TestAnnotations.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/annotations/TestAnnotations.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
annotations
;
package
jadx
.
tests
.
inte
gration
.
annotations
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnnotations
extends
Inte
rnalJadx
Test
{
public
class
TestAnnotations
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
@interface
A
{
private
static
@interface
A
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/annotations/TestAnnotations2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/annotations/TestAnnotations2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
annotations
;
package
jadx
.
tests
.
inte
gration
.
annotations
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
...
@@ -13,7 +13,7 @@ import org.junit.Test;
...
@@ -13,7 +13,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnnotations2
extends
Inte
rnalJadx
Test
{
public
class
TestAnnotations2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/annotations/TestParamAnnotations.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/annotations/TestParamAnnotations.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
annotations
;
package
jadx
.
tests
.
inte
gration
.
annotations
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.lang.annotation.ElementType
;
import
java.lang.annotation.ElementType
;
...
@@ -13,7 +13,7 @@ import org.junit.Test;
...
@@ -13,7 +13,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestParamAnnotations
extends
Inte
rnalJadx
Test
{
public
class
TestParamAnnotations
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/annotations/TestVarArgAnnotation.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/annotations/TestVarArgAnnotation.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
annotations
;
package
jadx
.
tests
.
inte
gration
.
annotations
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestVarArgAnnotation
extends
Inte
rnalJadx
Test
{
public
class
TestVarArgAnnotation
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arith/TestArith.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arith/TestArith.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arith
;
package
jadx
.
tests
.
inte
gration
.
arith
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArith
extends
Inte
rnalJadx
Test
{
public
class
TestArith
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arith/TestArith2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arith/TestArith2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arith
;
package
jadx
.
tests
.
inte
gration
.
arith
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArith2
extends
Inte
rnalJadx
Test
{
public
class
TestArith2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arith/TestFieldIncrement.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arith/TestFieldIncrement.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arith
;
package
jadx
.
tests
.
inte
gration
.
arith
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestFieldIncrement
extends
Inte
rnalJadx
Test
{
public
class
TestFieldIncrement
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
instanceField
=
1
;
public
int
instanceField
=
1
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arith/TestFieldIncrement2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arith/TestFieldIncrement2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arith
;
package
jadx
.
tests
.
inte
gration
.
arith
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestFieldIncrement2
extends
Inte
rnalJadx
Test
{
public
class
TestFieldIncrement2
extends
Inte
gration
Test
{
class
A
{
class
A
{
int
f
=
5
;
int
f
=
5
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arith/TestSpecialValues.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arith/TestSpecialValues.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arith
;
package
jadx
.
tests
.
inte
gration
.
arith
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSpecialValues
extends
Inte
rnalJadx
Test
{
public
class
TestSpecialValues
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arrays/TestArrayFill.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arrays/TestArrayFill.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arrays
;
package
jadx
.
tests
.
inte
gration
.
arrays
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArrayFill
extends
Inte
rnalJadx
Test
{
public
class
TestArrayFill
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/arrays/TestArrayFill2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/arrays/TestArrayFill2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
arrays
;
package
jadx
.
tests
.
inte
gration
.
arrays
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArrayFill2
extends
Inte
rnalJadx
Test
{
public
class
TestArrayFill2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestCmpOp.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestCmpOp.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestCmpOp
extends
Inte
rnalJadx
Test
{
public
class
TestCmpOp
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
testGT
(
float
a
)
{
public
boolean
testGT
(
float
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestCmpOp2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestCmpOp2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestCmpOp2
extends
Inte
rnalJadx
Test
{
public
class
TestCmpOp2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
testGT
(
float
a
,
float
b
)
{
public
boolean
testGT
(
float
a
,
float
b
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions
extends
Inte
rnalJadx
Test
{
public
class
TestConditions
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
boolean
test
(
boolean
a
,
boolean
b
,
boolean
c
)
{
private
boolean
test
(
boolean
a
,
boolean
b
,
boolean
c
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions10.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions10.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions10
extends
Inte
rnalJadx
Test
{
public
class
TestConditions10
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions11.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions11.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions11
extends
Inte
rnalJadx
Test
{
public
class
TestConditions11
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions12.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions12.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions12
extends
Inte
rnalJadx
Test
{
public
class
TestConditions12
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
static
boolean
autoStop
=
true
;
static
boolean
autoStop
=
true
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions13.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions13.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions13
extends
Inte
rnalJadx
Test
{
public
class
TestConditions13
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
static
boolean
qualityReading
;
static
boolean
qualityReading
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions14.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions14.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions14
extends
Inte
rnalJadx
Test
{
public
class
TestConditions14
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions15.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions15.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions15
extends
Inte
rnalJadx
Test
{
public
class
TestConditions15
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
public
class
TestConditions2
extends
Inte
rnalJadx
Test
{
public
class
TestConditions2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
int
c
;
int
c
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions3
extends
Inte
rnalJadx
Test
{
public
class
TestConditions3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
final
Pattern
PATTERN
=
Pattern
.
compile
(
"[a-f0-9]{20}"
);
private
static
final
Pattern
PATTERN
=
Pattern
.
compile
(
"[a-f0-9]{20}"
);
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions4
extends
Inte
rnalJadx
Test
{
public
class
TestConditions4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
test
(
int
num
)
{
public
int
test
(
int
num
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions5.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions5.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions5
extends
Inte
rnalJadx
Test
{
public
class
TestConditions5
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
void
assertEquals
(
Object
a1
,
Object
a2
)
{
public
static
void
assertEquals
(
Object
a1
,
Object
a2
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions6.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions6.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
...
@@ -11,7 +11,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -11,7 +11,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions6
extends
Inte
rnalJadx
Test
{
public
class
TestConditions6
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
test
(
List
<
String
>
l1
,
List
<
String
>
l2
)
{
public
boolean
test
(
List
<
String
>
l1
,
List
<
String
>
l2
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions7.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions7.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions7
extends
Inte
rnalJadx
Test
{
public
class
TestConditions7
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
test
(
int
[]
a
,
int
i
)
{
public
void
test
(
int
[]
a
,
int
i
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions8.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions8.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions8
extends
Inte
rnalJadx
Test
{
public
class
TestConditions8
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
TestCls
pager
;
private
TestCls
pager
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestConditions9.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestConditions9.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestConditions9
extends
Inte
rnalJadx
Test
{
public
class
TestConditions9
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
test
(
boolean
a
,
int
b
)
throws
Exception
{
public
void
test
(
boolean
a
,
int
b
)
throws
Exception
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestElseIf.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestElseIf.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestElseIf
extends
Inte
rnalJadx
Test
{
public
class
TestElseIf
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
testIfElse
(
String
str
)
{
public
int
testIfElse
(
String
str
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestNestedIf.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestNestedIf.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestNestedIf
extends
Inte
rnalJadx
Test
{
public
class
TestNestedIf
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
boolean
a0
=
false
;
private
boolean
a0
=
false
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestSimpleConditions.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestSimpleConditions.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSimpleConditions
extends
Inte
rnalJadx
Test
{
public
class
TestSimpleConditions
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
test1
(
boolean
[]
a
)
{
public
boolean
test1
(
boolean
[]
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestTernary.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestTernary.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
class
TestTernary
extends
Inte
rnalJadx
Test
{
public
class
TestTernary
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
test1
(
int
a
)
{
public
boolean
test1
(
int
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestTernary2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestTernary2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
import
static
org
.
junit
.
Assert
.
assertTrue
;
public
class
TestTernary2
extends
Inte
rnalJadx
Test
{
public
class
TestTernary2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/conditions/TestTernaryInIf.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/conditions/TestTernaryInIf.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
conditions
;
package
jadx
.
tests
.
inte
gration
.
conditions
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTernaryInIf
extends
Inte
rnalJadx
Test
{
public
class
TestTernaryInIf
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
test1
(
boolean
a
,
boolean
b
,
boolean
c
)
{
public
boolean
test1
(
boolean
a
,
boolean
b
,
boolean
c
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/debuginfo/TestLineNumbers.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/debuginfo/TestLineNumbers.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
debuginfo
;
package
jadx
.
tests
.
inte
gration
.
debuginfo
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.dex.attributes.nodes.LineAttrNode
;
import
jadx.core.dex.attributes.nodes.LineAttrNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
...
@@ -13,7 +13,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -13,7 +13,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLineNumbers
extends
Inte
rnalJadx
Test
{
public
class
TestLineNumbers
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
int
field
;
int
field
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/debuginfo/TestLineNumbers2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/debuginfo/TestLineNumbers2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
debuginfo
;
package
jadx
.
tests
.
inte
gration
.
debuginfo
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.codegen.CodeWriter
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
...
@@ -11,7 +11,7 @@ import org.junit.Test;
...
@@ -11,7 +11,7 @@ import org.junit.Test;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
public
class
TestLineNumbers2
extends
Inte
rnalJadx
Test
{
public
class
TestLineNumbers2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
WeakReference
<
TestCls
>
f
;
private
WeakReference
<
TestCls
>
f
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/enums/TestEnums.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/enums/TestEnums.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
enums
;
package
jadx
.
tests
.
inte
gration
.
enums
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestEnums
extends
Inte
rnalJadx
Test
{
public
class
TestEnums
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/enums/TestEnums2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/enums/TestEnums2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
enums
;
package
jadx
.
tests
.
inte
gration
.
enums
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.tests.utils.JadxMatchers
;
import
jadx.tests.
api.
utils.JadxMatchers
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestEnums2
extends
Inte
rnalJadx
Test
{
public
class
TestEnums2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/enums/TestSwitchOverEnum.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/enums/TestSwitchOverEnum.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
enums
;
package
jadx
.
tests
.
inte
gration
.
enums
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSwitchOverEnum
extends
Inte
rnalJadx
Test
{
public
class
TestSwitchOverEnum
extends
Inte
gration
Test
{
public
enum
Count
{
public
enum
Count
{
ONE
,
TWO
,
THREE
ONE
,
TWO
,
THREE
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/generics/TestGenerics.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/generics/TestGenerics.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
generics
;
package
jadx
.
tests
.
inte
gration
.
generics
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
...
@@ -10,7 +10,7 @@ import org.junit.Test;
...
@@ -10,7 +10,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestGenerics
extends
Inte
rnalJadx
Test
{
public
class
TestGenerics
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
class
A
{
class
A
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/generics/TestGenerics2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/generics/TestGenerics2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
generics
;
package
jadx
.
tests
.
inte
gration
.
generics
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.lang.ref.ReferenceQueue
;
import
java.lang.ref.ReferenceQueue
;
...
@@ -12,7 +12,7 @@ import org.junit.Test;
...
@@ -12,7 +12,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestGenerics2
extends
Inte
rnalJadx
Test
{
public
class
TestGenerics2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
class
ItemReference
<
V
>
extends
WeakReference
<
V
>
{
private
static
class
ItemReference
<
V
>
extends
WeakReference
<
V
>
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/generics/TestGenerics3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/generics/TestGenerics3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
generics
;
package
jadx
.
tests
.
inte
gration
.
generics
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
...
@@ -10,7 +10,7 @@ import org.junit.Test;
...
@@ -10,7 +10,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestGenerics3
extends
Inte
rnalJadx
Test
{
public
class
TestGenerics3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/generics/TestGenerics4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/generics/TestGenerics4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
generics
;
package
jadx
.
tests
.
inte
gration
.
generics
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestGenerics4
extends
Inte
rnalJadx
Test
{
public
class
TestGenerics4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestInline.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestInline.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInline
extends
Inte
rnalJadx
Test
{
public
class
TestInline
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestInline2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestInline2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInline2
extends
Inte
rnalJadx
Test
{
public
class
TestInline2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
test
()
throws
InterruptedException
{
public
int
test
()
throws
InterruptedException
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestInline3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestInline3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInline3
extends
Inte
rnalJadx
Test
{
public
class
TestInline3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
TestCls
(
int
b1
,
int
b2
)
{
public
TestCls
(
int
b1
,
int
b2
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestInline6.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestInline6.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInline6
extends
Inte
rnalJadx
Test
{
public
class
TestInline6
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
f
()
{
public
void
f
()
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestInlineInLoop.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestInlineInLoop.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInlineInLoop
extends
Inte
rnalJadx
Test
{
public
class
TestInlineInLoop
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
public
static
void
main
(
String
[]
args
)
throws
Exception
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inline/TestSyntheticInline.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inline/TestSyntheticInline.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inline
;
package
jadx
.
tests
.
inte
gration
.
inline
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSyntheticInline
extends
Inte
rnalJadx
Test
{
public
class
TestSyntheticInline
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
int
f
;
private
int
f
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestAnonymousClass.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestAnonymousClass.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnonymousClass
extends
Inte
rnalJadx
Test
{
public
class
TestAnonymousClass
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestAnonymousClass2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestAnonymousClass2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnonymousClass2
extends
Inte
rnalJadx
Test
{
public
class
TestAnonymousClass2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
class
Inner
{
public
static
class
Inner
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestAnonymousClass3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestAnonymousClass3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnonymousClass3
extends
Inte
rnalJadx
Test
{
public
class
TestAnonymousClass3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
class
Inner
{
public
static
class
Inner
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestAnonymousClass4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestAnonymousClass4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestAnonymousClass4
extends
Inte
rnalJadx
Test
{
public
class
TestAnonymousClass4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
class
Inner
{
public
static
class
Inner
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestInnerClass.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestInnerClass.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInnerClass
extends
Inte
rnalJadx
Test
{
public
class
TestInnerClass
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
class
Inner
{
public
class
Inner
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestInnerClass2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestInnerClass2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.Timer
;
import
java.util.Timer
;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInnerClass2
extends
Inte
rnalJadx
Test
{
public
class
TestInnerClass2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
class
TerminateTask
extends
TimerTask
{
private
static
class
TerminateTask
extends
TimerTask
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/inner/TestInnerClass3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/inner/TestInnerClass3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
inner
;
package
jadx
.
tests
.
inte
gration
.
inner
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInnerClass3
extends
Inte
rnalJadx
Test
{
public
class
TestInnerClass3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
String
c
;
private
String
c
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestArrayForEach.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestArrayForEach.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArrayForEach
extends
Inte
rnalJadx
Test
{
public
class
TestArrayForEach
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestArrayForEach2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestArrayForEach2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArrayForEach2
extends
Inte
rnalJadx
Test
{
public
class
TestArrayForEach2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
void
test
(
String
str
)
{
private
void
test
(
String
str
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestArrayForEachNegative.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestArrayForEachNegative.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestArrayForEachNegative
extends
Inte
rnalJadx
Test
{
public
class
TestArrayForEachNegative
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestBreakInLoop.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestBreakInLoop.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestBreakInLoop
extends
Inte
rnalJadx
Test
{
public
class
TestBreakInLoop
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
int
f
;
private
int
f
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestIndexForLoop.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestIndexForLoop.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIndexForLoop
extends
Inte
rnalJadx
Test
{
public
class
TestIndexForLoop
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestIterableForEach.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestIterableForEach.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIterableForEach
extends
Inte
rnalJadx
Test
{
public
class
TestIterableForEach
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
String
test
(
Iterable
<
String
>
a
)
{
private
String
test
(
Iterable
<
String
>
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestIterableForEach2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestIterableForEach2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.IOException
;
import
java.io.IOException
;
...
@@ -8,10 +8,10 @@ import java.util.List;
...
@@ -8,10 +8,10 @@ import java.util.List;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIterableForEach2
extends
Inte
rnalJadx
Test
{
public
class
TestIterableForEach2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
String
test
(
final
Service
service
)
throws
IOException
{
public
static
String
test
(
final
Service
service
)
throws
IOException
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopCondition.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopCondition.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopCondition
extends
Inte
rnalJadx
Test
{
public
class
TestLoopCondition
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
String
f
;
public
String
f
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopCondition2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopCondition2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopCondition2
extends
Inte
rnalJadx
Test
{
public
class
TestLoopCondition2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopCondition3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopCondition3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopCondition3
extends
Inte
rnalJadx
Test
{
public
class
TestLoopCondition3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopCondition4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopCondition4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopCondition4
extends
Inte
rnalJadx
Test
{
public
class
TestLoopCondition4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
void
test
()
{
public
static
void
test
()
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopConditionInvoke.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopConditionInvoke.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopConditionInvoke
extends
Inte
rnalJadx
Test
{
public
class
TestLoopConditionInvoke
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
final
char
STOP_CHAR
=
0
;
private
static
final
char
STOP_CHAR
=
0
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopDetection.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopDetection.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopDetection
extends
Inte
rnalJadx
Test
{
public
class
TestLoopDetection
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopDetection2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopDetection2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopDetection2
extends
Inte
rnalJadx
Test
{
public
class
TestLoopDetection2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopDetection3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopDetection3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopDetection3
extends
Inte
rnalJadx
Test
{
public
class
TestLoopDetection3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestLoopDetection4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestLoopDetection4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.Iterator
;
import
java.util.Iterator
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopDetection4
extends
Inte
rnalJadx
Test
{
public
class
TestLoopDetection4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
Iterator
<
String
>
iterator
;
private
Iterator
<
String
>
iterator
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestNestedLoops.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestNestedLoops.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestNestedLoops
extends
Inte
rnalJadx
Test
{
public
class
TestNestedLoops
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestNestedLoops2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestNestedLoops2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.util.List
;
import
java.util.List
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestNestedLoops2
extends
Inte
rnalJadx
Test
{
public
class
TestNestedLoops2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/loops/TestSequentialLoops.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/loops/TestSequentialLoops.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
loops
;
package
jadx
.
tests
.
inte
gration
.
loops
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSequentialLoops
extends
Inte
rnalJadx
Test
{
public
class
TestSequentialLoops
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
test7
(
int
a
,
int
b
)
{
public
int
test7
(
int
a
,
int
b
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/names/TestSameMethodsNames.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/names/TestSameMethodsNames.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
names
;
package
jadx
.
tests
.
inte
gration
.
names
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSameMethodsNames
extends
Inte
rnalJadx
Test
{
public
class
TestSameMethodsNames
extends
Inte
gration
Test
{
public
static
class
TestCls
<
V
>
{
public
static
class
TestCls
<
V
>
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestIfInTry.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestIfInTry.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
...
@@ -8,11 +8,11 @@ import java.io.IOException;
...
@@ -8,11 +8,11 @@ import java.io.IOException;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIfInTry
extends
Inte
rnalJadx
Test
{
public
class
TestIfInTry
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
File
dir
;
private
File
dir
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestIfTryInCatch.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestIfTryInCatch.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIfTryInCatch
extends
Inte
rnalJadx
Test
{
public
class
TestIfTryInCatch
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
final
String
TAG
=
"TAG"
;
private
static
final
String
TAG
=
"TAG"
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestIssue13a.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestIssue13a.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.lang.reflect.Field
;
import
java.lang.reflect.Field
;
...
@@ -8,10 +8,10 @@ import java.util.HashMap;
...
@@ -8,10 +8,10 @@ import java.util.HashMap;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIssue13a
extends
Inte
rnalJadx
Test
{
public
class
TestIssue13a
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
final
String
TAG
=
"Parcel"
;
private
static
final
String
TAG
=
"Parcel"
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestIssue13b.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestIssue13b.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
...
@@ -11,11 +11,11 @@ import java.util.concurrent.CountDownLatch;
...
@@ -11,11 +11,11 @@ import java.util.concurrent.CountDownLatch;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
containsOne
;
import
static
jadx
.
tests
.
utils
.
JadxMatchers
.
countString
;
import
static
jadx
.
tests
.
api
.
utils
.
JadxMatchers
.
countString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestIssue13b
extends
Inte
rnalJadx
Test
{
public
class
TestIssue13b
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestLoopInTry.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestLoopInTry.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopInTry
extends
Inte
rnalJadx
Test
{
public
class
TestLoopInTry
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
boolean
b
=
true
;
private
static
boolean
b
=
true
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/others/TestLoopInTry2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/others/TestLoopInTry2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
others
;
package
jadx
.
tests
.
inte
gration
.
others
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.DexNode
;
import
jadx.core.dex.nodes.DexNode
;
import
jadx.core.dex.nodes.MethodNode
;
import
jadx.core.dex.nodes.MethodNode
;
...
@@ -14,10 +14,10 @@ import com.android.dex.Code;
...
@@ -14,10 +14,10 @@ import com.android.dex.Code;
import
com.android.dx.io.instructions.DecodedInstruction
;
import
com.android.dx.io.instructions.DecodedInstruction
;
import
com.android.dx.io.instructions.ShortArrayCodeInput
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestLoopInTry2
extends
Inte
rnalJadx
Test
{
public
class
TestLoopInTry2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
MethodNode
method
;
private
MethodNode
method
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/switches/TestSwitch.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/switches/TestSwitch.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
switches
;
package
jadx
.
tests
.
inte
gration
.
switches
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSwitch
extends
Inte
rnalJadx
Test
{
public
class
TestSwitch
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
String
escape
(
String
str
)
{
public
String
escape
(
String
str
)
{
int
len
=
str
.
length
();
int
len
=
str
.
length
();
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/switches/TestSwitchLabels.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/switches/TestSwitchLabels.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
switches
;
package
jadx
.
tests
.
inte
gration
.
switches
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSwitchLabels
extends
Inte
rnalJadx
Test
{
public
class
TestSwitchLabels
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
static
final
int
CONST_ABC
=
0xABC
;
public
static
final
int
CONST_ABC
=
0xABC
;
public
static
final
int
CONST_CDE
=
0xCDE
;
public
static
final
int
CONST_CDE
=
0xCDE
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/switches/TestSwitchNoDefault.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/switches/TestSwitchNoDefault.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
switches
;
package
jadx
.
tests
.
inte
gration
.
switches
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
public
class
TestSwitchNoDefault
extends
Inte
rnalJadx
Test
{
public
class
TestSwitchNoDefault
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
test
(
int
a
)
{
public
void
test
(
int
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/switches/TestSwitchSimple.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/switches/TestSwitchSimple.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
switches
;
package
jadx
.
tests
.
inte
gration
.
switches
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
...
@@ -10,7 +10,7 @@ import static org.hamcrest.CoreMatchers.not;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertEquals
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSwitchSimple
extends
Inte
rnalJadx
Test
{
public
class
TestSwitchSimple
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
void
test
(
int
a
)
{
public
void
test
(
int
a
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/synchronize/TestSynchronized.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/synchronize/TestSynchronized.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
synchronize
;
package
jadx
.
tests
.
inte
gration
.
synchronize
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSynchronized
extends
Inte
rnalJadx
Test
{
public
class
TestSynchronized
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
boolean
f
=
false
;
public
boolean
f
=
false
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/synchronize/TestSynchronized2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/synchronize/TestSynchronized2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
synchronize
;
package
jadx
.
tests
.
inte
gration
.
synchronize
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestSynchronized2
extends
Inte
rnalJadx
Test
{
public
class
TestSynchronized2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
synchronized
boolean
test
(
Object
obj
)
{
private
static
synchronized
boolean
test
(
Object
obj
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestInlineInCatch.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestInlineInCatch.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
import
org.junit.Test
;
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
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInlineInCatch
extends
Inte
rnalJadx
Test
{
public
class
TestInlineInCatch
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
File
dir
;
private
File
dir
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestNestedTryCatch.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestNestedTryCatch.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestNestedTryCatch
extends
Inte
rnalJadx
Test
{
public
class
TestNestedTryCatch
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
void
f
()
{
private
void
f
()
{
...
@@ -21,7 +21,7 @@ public class TestNestedTryCatch extends InternalJadxTest {
...
@@ -21,7 +21,7 @@ public class TestNestedTryCatch extends InternalJadxTest {
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
}
}
return
;
return
;
}
}
}
}
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestTryCatch.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestTryCatch.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTryCatch
extends
Inte
rnalJadx
Test
{
public
class
TestTryCatch
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
void
f
()
{
private
void
f
()
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestTryCatch2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestTryCatch2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTryCatch2
extends
Inte
rnalJadx
Test
{
public
class
TestTryCatch2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
final
static
Object
obj
=
new
Object
();
private
final
static
Object
obj
=
new
Object
();
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestTryCatch3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestTryCatch3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTryCatch3
extends
Inte
rnalJadx
Test
{
public
class
TestTryCatch3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
final
static
Object
obj
=
new
Object
();
private
final
static
Object
obj
=
new
Object
();
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestTryCatch4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestTryCatch4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
...
@@ -13,7 +13,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -13,7 +13,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTryCatch4
extends
Inte
rnalJadx
Test
{
public
class
TestTryCatch4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
Object
test
(
Object
obj
)
{
private
Object
test
(
Object
obj
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/trycatch/TestTryCatch5.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/trycatch/TestTryCatch5.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
trycatch
;
package
jadx
.
tests
.
inte
gration
.
trycatch
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.io.File
;
import
java.io.File
;
...
@@ -12,7 +12,7 @@ import org.junit.Test;
...
@@ -12,7 +12,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTryCatch5
extends
Inte
rnalJadx
Test
{
public
class
TestTryCatch5
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
Object
test
(
Object
obj
)
{
private
Object
test
(
Object
obj
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/types/TestTypeResolver.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/types/TestTypeResolver.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
types
;
package
jadx
.
tests
.
inte
gration
.
types
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
...
@@ -9,7 +9,7 @@ import static org.hamcrest.CoreMatchers.containsString;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestTypeResolver
extends
Inte
rnalJadx
Test
{
public
class
TestTypeResolver
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
TestCls
(
int
b1
,
int
b2
)
{
public
TestCls
(
int
b1
,
int
b2
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/usethis/TestInlineThis.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/usethis/TestInlineThis.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
usethis
;
package
jadx
.
tests
.
inte
gration
.
usethis
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestInlineThis
extends
Inte
rnalJadx
Test
{
public
class
TestInlineThis
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
field
;
public
int
field
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/usethis/TestRedundantThis.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/usethis/TestRedundantThis.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
usethis
;
package
jadx
.
tests
.
inte
gration
.
usethis
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestRedundantThis
extends
Inte
rnalJadx
Test
{
public
class
TestRedundantThis
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
public
int
field1
=
1
;
public
int
field1
=
1
;
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/variables/TestVariables2.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/variables/TestVariables2.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
variables
;
package
jadx
.
tests
.
inte
gration
.
variables
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestVariables2
extends
Inte
rnalJadx
Test
{
public
class
TestVariables2
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
Object
test
(
Object
s
)
{
Object
test
(
Object
s
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/variables/TestVariables3.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/variables/TestVariables3.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
variables
;
package
jadx
.
tests
.
inte
gration
.
variables
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
import
org.junit.Test
;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
...
@@ -8,7 +8,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestVariables3
extends
Inte
rnalJadx
Test
{
public
class
TestVariables3
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
String
test
(
Object
s
)
{
String
test
(
Object
s
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/variables/TestVariables4.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/variables/TestVariables4.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
variables
;
package
jadx
.
tests
.
inte
gration
.
variables
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
java.lang.reflect.InvocationTargetException
;
import
java.lang.reflect.InvocationTargetException
;
...
@@ -11,7 +11,7 @@ import org.junit.Test;
...
@@ -11,7 +11,7 @@ import org.junit.Test;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
containsString
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestVariables4
extends
Inte
rnalJadx
Test
{
public
class
TestVariables4
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
boolean
runTest
(
String
clsName
)
{
private
static
boolean
runTest
(
String
clsName
)
{
...
...
jadx-core/src/test/java/jadx/tests/inte
rnal
/variables/TestVariablesDefinitions.java
→
jadx-core/src/test/java/jadx/tests/inte
gration
/variables/TestVariablesDefinitions.java
View file @
d55cd5fb
package
jadx
.
tests
.
inte
rnal
.
variables
;
package
jadx
.
tests
.
inte
gration
.
variables
;
import
jadx.
api.InternalJadx
Test
;
import
jadx.
tests.api.Integration
Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.visitors.DepthTraversal
;
import
jadx.core.dex.visitors.DepthTraversal
;
import
jadx.core.dex.visitors.IDexTreeVisitor
;
import
jadx.core.dex.visitors.IDexTreeVisitor
;
...
@@ -10,12 +10,12 @@ import java.util.List;
...
@@ -10,12 +10,12 @@ import java.util.List;
import
org.junit.Test
;
import
org.junit.Test
;
import
org.slf4j.Logger
;
import
org.slf4j.Logger
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
public
class
TestVariablesDefinitions
extends
Inte
rnalJadx
Test
{
public
class
TestVariablesDefinitions
extends
Inte
gration
Test
{
public
static
class
TestCls
{
public
static
class
TestCls
{
private
static
Logger
LOG
;
private
static
Logger
LOG
;
...
...
jadx-core/src/test/java/jadx/tests/smali/TestConstructor.java
View file @
d55cd5fb
package
jadx
.
tests
.
smali
;
package
jadx
.
tests
.
smali
;
import
jadx.api.SmaliTest
;
import
jadx.
tests.
api.SmaliTest
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.core.dex.nodes.ClassNode
;
import
org.junit.Test
;
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
.
containsString
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
hamcrest
.
CoreMatchers
.
not
;
import
static
org
.
junit
.
Assert
.
assertThat
;
import
static
org
.
junit
.
Assert
.
assertThat
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment