mirror of
https://github.com/revanced/Apktool.git
synced 2025-01-07 10:35:52 +01:00
parent
5734c68156
commit
23486830a9
@ -165,6 +165,17 @@ public class BuildAndDecodeTest {
|
|||||||
compareValuesFiles("values-en/strings.xml");
|
compareValuesFiles("values-en/strings.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test
|
||||||
|
public void valuesExtraLongExactLengthTest() throws BrutException {
|
||||||
|
Map<String, String> strs = TestUtils.parseStringsXml(new File(sTestNewDir, "res/values-en/strings.xml"));
|
||||||
|
|
||||||
|
// long_string6 should be exactly 0x8888 chars of "a"
|
||||||
|
// the valuesExtraLongTest() should handle this
|
||||||
|
// but such an edge case, want a specific test
|
||||||
|
String aaaa = strs.get("long_string6");
|
||||||
|
assertEquals(0x8888, aaaa.length());
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void crossTypeTest() throws BrutException {
|
public void crossTypeTest() throws BrutException {
|
||||||
compareValuesFiles("values-mcc003/strings.xml");
|
compareValuesFiles("values-mcc003/strings.xml");
|
||||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user