mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-06 01:55:53 +01:00
parent
5e1a47a827
commit
0a3adab84c
@ -308,7 +308,12 @@ public class BuildAndDecodeTest {
|
|||||||
File fontXml = new File((sTestNewDir + "/res/font"), "lobster.xml");
|
File fontXml = new File((sTestNewDir + "/res/font"), "lobster.xml");
|
||||||
File fontFile = new File((sTestNewDir + "/res/font"), "lobster_regular.otf");
|
File fontFile = new File((sTestNewDir + "/res/font"), "lobster_regular.otf");
|
||||||
|
|
||||||
|
// Per #1662, ensure font file is not encoded.
|
||||||
assertTrue(fontXml.isFile());
|
assertTrue(fontXml.isFile());
|
||||||
|
compareXmlFiles("/res/font/lobster.xml");
|
||||||
|
|
||||||
|
// If we properly skipped decoding the font (otf) file, this file should not exist
|
||||||
|
assertFalse((new File((sTestNewDir + "/res/values"), "fonts.xml")).isFile());
|
||||||
assertTrue(fontFile.isFile());
|
assertTrue(fontFile.isFile());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user