mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-13 14:27:46 +01:00
test: use correct "new" variable for tests
This commit is contained in:
parent
564b285126
commit
4bda4674f9
@ -88,7 +88,7 @@ public class UnknownCompressionTest extends BaseTest {
|
|||||||
@Test
|
@Test
|
||||||
public void confirmJsonFileIsDeflatedTest() throws BrutException, IOException {
|
public void confirmJsonFileIsDeflatedTest() throws BrutException, IOException {
|
||||||
Integer control = sTestOrigDir.getDirectory().getCompressionLevel("test.json");
|
Integer control = sTestOrigDir.getDirectory().getCompressionLevel("test.json");
|
||||||
Integer rebuilt = sTestOrigDir.getDirectory().getCompressionLevel("test.json");
|
Integer rebuilt = sTestNewDir.getDirectory().getCompressionLevel("test.json");
|
||||||
|
|
||||||
assertEquals(control, rebuilt);
|
assertEquals(control, rebuilt);
|
||||||
assertEquals(new Integer(8), rebuilt);
|
assertEquals(new Integer(8), rebuilt);
|
||||||
@ -97,7 +97,7 @@ public class UnknownCompressionTest extends BaseTest {
|
|||||||
@Test
|
@Test
|
||||||
public void confirmPngFileIsCorrectlyDeflatedTest() throws BrutException, IOException {
|
public void confirmPngFileIsCorrectlyDeflatedTest() throws BrutException, IOException {
|
||||||
Integer control = sTestOrigDir.getDirectory().getCompressionLevel("950x150.png");
|
Integer control = sTestOrigDir.getDirectory().getCompressionLevel("950x150.png");
|
||||||
Integer rebuilt = sTestOrigDir.getDirectory().getCompressionLevel("950x150.png");
|
Integer rebuilt = sTestNewDir.getDirectory().getCompressionLevel("950x150.png");
|
||||||
|
|
||||||
assertEquals(control, rebuilt);
|
assertEquals(control, rebuilt);
|
||||||
assertEquals(new Integer(8), rebuilt);
|
assertEquals(new Integer(8), rebuilt);
|
||||||
|
Loading…
Reference in New Issue
Block a user