mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-05 16:24:29 +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");
|
||||
}
|
||||
|
||||
@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
|
||||
public void drawableNoDpiTest() throws BrutException, IOException {
|
||||
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