mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-12 13:57:46 +01:00
add small test for #1157
This commit is contained in:
parent
b9ddfc8508
commit
d46ba2fb82
@ -218,6 +218,11 @@ public class BuildAndDecodeTest {
|
|||||||
compareXmlFiles("res/layout/issue1274.xml");
|
compareXmlFiles("res/layout/issue1274.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void xmlCustomAttrsNotAndroidTest() throws BrutException {
|
||||||
|
compareXmlFiles("res/layout/issue1157.xml");
|
||||||
|
}
|
||||||
|
|
||||||
@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-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
||||||
|
@ -0,0 +1,4 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<PreferenceScreen android:title="test" app:min_value="0.2" app:max_value="5.0" app:default_value="1.0"
|
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res/brut.apktool.testapp" />
|
@ -17,4 +17,7 @@
|
|||||||
<enum name="TEST_ZERO" value="0" />
|
<enum name="TEST_ZERO" value="0" />
|
||||||
<enum name="TEST_ONE" value="1" />
|
<enum name="TEST_ONE" value="1" />
|
||||||
</attr>
|
</attr>
|
||||||
|
<attr name="min_value" format="float" />
|
||||||
|
<attr name="max_value" format="float" />
|
||||||
|
<attr name="default_value" format="float" />
|
||||||
</resources>
|
</resources>
|
Loading…
Reference in New Issue
Block a user