Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
b7109b1b
Commit
b7109b1b
authored
Mar 26, 2019
by
Ahmed Ashour
Committed by
skylot
Mar 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test: remove commented code and style fixes (PR #520)
parent
3537f849
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
8 deletions
+3
-8
TestConditions.java
...ava/jadx/tests/integration/conditions/TestConditions.java
+1
-1
TestConditions15.java
...a/jadx/tests/integration/conditions/TestConditions15.java
+1
-1
TestConditions2.java
...va/jadx/tests/integration/conditions/TestConditions2.java
+1
-6
No files found.
jadx-core/src/test/java/jadx/tests/integration/conditions/TestConditions.java
View file @
b7109b1b
...
@@ -12,7 +12,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
...
@@ -12,7 +12,7 @@ import static org.hamcrest.MatcherAssert.assertThat;
public
class
TestConditions
extends
IntegrationTest
{
public
class
TestConditions
extends
IntegrationTest
{
public
static
class
TestCls
{
public
static
class
TestCls
{
p
rivate
boolean
test
(
boolean
a
,
boolean
b
,
boolean
c
)
{
p
ublic
boolean
test
(
boolean
a
,
boolean
b
,
boolean
c
)
{
return
(
a
&&
b
)
||
c
;
return
(
a
&&
b
)
||
c
;
}
}
}
}
...
...
jadx-core/src/test/java/jadx/tests/integration/conditions/TestConditions15.java
View file @
b7109b1b
...
@@ -12,7 +12,7 @@ public class TestConditions15 extends IntegrationTest {
...
@@ -12,7 +12,7 @@ public class TestConditions15 extends IntegrationTest {
public
static
class
TestCls
{
public
static
class
TestCls
{
p
rivate
static
boolean
test
(
final
String
name
)
{
p
ublic
static
boolean
test
(
final
String
name
)
{
if
(
isEmpty
(
name
))
{
if
(
isEmpty
(
name
))
{
return
false
;
return
false
;
}
}
...
...
jadx-core/src/test/java/jadx/tests/integration/conditions/TestConditions2.java
View file @
b7109b1b
...
@@ -2,7 +2,6 @@ package jadx.tests.integration.conditions;
...
@@ -2,7 +2,6 @@ package jadx.tests.integration.conditions;
import
org.junit.jupiter.api.Test
;
import
org.junit.jupiter.api.Test
;
import
jadx.core.dex.nodes.ClassNode
;
import
jadx.tests.api.IntegrationTest
;
import
jadx.tests.api.IntegrationTest
;
public
class
TestConditions2
extends
IntegrationTest
{
public
class
TestConditions2
extends
IntegrationTest
{
...
@@ -25,10 +24,6 @@ public class TestConditions2 extends IntegrationTest {
...
@@ -25,10 +24,6 @@ public class TestConditions2 extends IntegrationTest {
@Test
@Test
public
void
test
()
{
public
void
test
()
{
ClassNode
cls
=
getClassNode
(
TestCls
.
class
);
getClassNode
(
TestCls
.
class
);
String
code
=
cls
.
getCode
().
toString
();
// assertThat(code, containsString("return;"));
// assertThat(code, not(containsString("else")));
}
}
}
}
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