mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-04 18:12:54 +01:00
test: add more tests for #2386
This commit is contained in:
parent
c501952c69
commit
231ce72483
@ -104,6 +104,10 @@ public class BuildAndDecodeTest extends BaseTest {
|
||||
@Test
|
||||
public void leadingDollarSignResourceNameTest() throws BrutException {
|
||||
compareXmlFiles("res/drawable/$avd_hide_password__0.xml");
|
||||
compareXmlFiles("res/drawable/$avd_show_password__0.xml");
|
||||
compareXmlFiles("res/drawable/$avd_show_password__1.xml");
|
||||
compareXmlFiles("res/drawable/$avd_show_password__2.xml");
|
||||
compareXmlFiles("res/drawable/avd_show_password.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<vector android:height="24.0dip" android:width="24.0dip" android:viewportWidth="24.0" android:viewportHeight="24.0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
</vector>
|
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/fast_out_linear_in" android:valueType="pathType" android:propertyName="pathData"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />
|
@ -0,0 +1,3 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<objectAnimator android:interpolator="@android:interpolator/fast_out_linear_in" android:valueFrom="1" android:valueTo="0" android:propertyName="trimPathEnd"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt" />
|
@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<animated-vector android:drawable="@drawable/$avd_show_password__0"
|
||||
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:aapt="http://schemas.android.com/aapt">
|
||||
<target android:name="eye_mask" android:animation="@drawable/$avd_show_password__1" />
|
||||
<target android:name="strike_through" android:animation="@drawable/$avd_show_password__2" />
|
||||
</animated-vector>
|
Loading…
Reference in New Issue
Block a user