Skip to content

Commit 6c64123

Browse files
committed
style
1 parent 69ca0d5 commit 6c64123

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

brut.apktool/apktool-lib/src/test/java/brut/androlib/decode/CompactResourceTest.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,11 +44,9 @@ public void checkIfDecodeSucceeds() throws BrutException {
4444
ExtFile testDir = new ExtFile(testApk + ".out");
4545
new ApkDecoder(testApk, sConfig).decode(testDir);
4646

47-
// verify string entry count
4847
Document doc = loadDocument(new File(testDir, "res/values/strings.xml"));
4948
String expression = "/resources/string[@name]";
5049
NodeList nodes = evaluateXPath(doc, expression, NodeList.class);
51-
5250
assertEquals(1002, nodes.getLength());
5351

5452
new ApkBuilder(testDir, sConfig).build(null);

brut.apktool/apktool-lib/src/test/java/brut/androlib/decode/LargeCompactResourceTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void checkIfDecodeSucceeds() throws BrutException {
4747
Document doc = loadDocument(new File(testDir, "res/values/strings.xml"));
4848
String expression = "/resources/string[contains(@name, 'APKTOOL')]";
4949
NodeList nodes = evaluateXPath(doc, expression, NodeList.class);
50-
assertFalse(nodes.getLength() > 0);
50+
assertEquals(0, nodes.getLength());
5151

5252
new ApkBuilder(testDir, sConfig).build(null);
5353
}

0 commit comments

Comments
 (0)