test: add 32,767 byte string for aapt2

- https://issuetracker.google.com/issues/73456167
This commit is contained in:
Connor Tumbleson 2019-04-26 14:11:41 -04:00
parent 5199c98a71
commit 3037024022
3 changed files with 10 additions and 0 deletions

View File

@ -74,6 +74,11 @@ public class BuildAndDecodeTest extends BaseTest {
compareValuesFiles("values/strings.xml");
}
@Test
public void valuesMaxLengthTest() throws BrutException {
compareValuesFiles("values-es/strings.xml");
}
@Test
public void confirmZeroByteFileIsNotStored() throws BrutException {
MetaInfo metaInfo = new Androlib().readMetaFile(sTestNewDir);

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">testapp</string>
<string name="long_string_32767" />
</resources>