mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-07 01:04:26 +02:00
add font test
This commit is contained in:
parent
fa966d2d66
commit
67b2325136
@ -303,6 +303,15 @@ public class BuildAndDecodeTest {
|
|||||||
compareValuesFiles("values-vrheadset-v26/strings.xml");
|
compareValuesFiles("values-vrheadset-v26/strings.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void fontTest() throws BrutException, IOException {
|
||||||
|
File fontXml = new File((sTestNewDir + "/res/font"), "lobster.xml");
|
||||||
|
File fontFile = new File((sTestNewDir + "/res/font"), "lobster_regular.otf");
|
||||||
|
|
||||||
|
assertTrue(fontXml.isFile());
|
||||||
|
assertTrue(fontFile.isFile());
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void drawableNoDpiTest() throws BrutException, IOException {
|
public void drawableNoDpiTest() throws BrutException, IOException {
|
||||||
compareResFolder("drawable-nodpi");
|
compareResFolder("drawable-nodpi");
|
||||||
|
@ -0,0 +1,7 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<font-family xmlns:android="http://schemas.android.com/apk/res/android">
|
||||||
|
<font
|
||||||
|
android:fontStyle="normal"
|
||||||
|
android:fontWeight="400"
|
||||||
|
android:font="@font/lobster_regular" />
|
||||||
|
</font-family>
|
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user