mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 18:45:58 +01:00
[tests] add tests for lollipop (API 21)
This commit is contained in:
parent
0150835bb0
commit
cd21bd37a8
@ -162,11 +162,16 @@ public class BuildAndDecodeTest {
|
|||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void qualifiersTest() throws BrutException {
|
public void qualifiersTest() throws BrutException {
|
||||||
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
compareValuesFiles("values-mcc004-mnc04-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
||||||
+ "-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key"
|
+ "-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key"
|
||||||
+ "-navhidden-dpad/strings.xml");
|
+ "-navhidden-dpad/strings.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void shortendedMncTest() throws BrutException {
|
||||||
|
compareValuesFiles("values-mcc001-mnc01/strings.xml");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void anyDpiTest() throws BrutException, IOException {
|
public void anyDpiTest() throws BrutException, IOException {
|
||||||
compareValuesFiles("values-watch/strings.xml");
|
compareValuesFiles("values-watch/strings.xml");
|
||||||
@ -177,6 +182,11 @@ public class BuildAndDecodeTest {
|
|||||||
compareResFolder("drawable-nodpi");
|
compareResFolder("drawable-nodpi");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void drawableAnyDpiTest() throws BrutException, IOException {
|
||||||
|
compareResFolder("drawable-anydpi");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void drawableNumberedDpiTest() throws BrutException, IOException {
|
public void drawableNumberedDpiTest() throws BrutException, IOException {
|
||||||
compareResFolder("drawable-534dpi");
|
compareResFolder("drawable-534dpi");
|
||||||
@ -207,6 +217,11 @@ public class BuildAndDecodeTest {
|
|||||||
compareResFolder("drawable-xxhdpi");
|
compareResFolder("drawable-xxhdpi");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void drawableXxxhdpiTest() throws BrutException, IOException {
|
||||||
|
compareResFolder("drawable-xxxhdpi");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void resRawTest() throws BrutException, IOException {
|
public void resRawTest() throws BrutException, IOException {
|
||||||
compareResFolder("raw");
|
compareResFolder("raw");
|
||||||
|
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 9.2 KiB |
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<string name="test1">test1</string>
|
||||||
|
</resources>
|
Loading…
Reference in New Issue
Block a user