mirror of
https://github.com/revanced/Apktool.git
synced 2024-12-05 02:22:55 +01:00
First Pass of BCP47 tests
- variant test - script test - 3 char packed test - alone LTR test
This commit is contained in:
parent
db38c217ae
commit
505790fcfe
@ -183,10 +183,35 @@ public class BuildAndDecodeTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
public void bcp47tagTest() throws BrutException, IOException {
|
||||
public void packed3CharsTest() throws BrutException, IOException {
|
||||
compareValuesFiles("values-ast-rES/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void rightToLeftTest() throws BrutException, IOException {
|
||||
compareValuesFiles("values-ldrtl/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void scriptBcp47Test() throws BrutException, IOException {
|
||||
compareValuesFiles("values-b+en+Latn+US/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void threeLetterLangBcp47Test() throws BrutException, IOException {
|
||||
compareValuesFiles("values-b+ast/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void variantBcp47Test() throws BrutException, IOException {
|
||||
compareValuesFiles("values-b+en+US+POSIX/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void numericalRegionBcp47Test() throws BrutException, IOException {
|
||||
compareValuesFiles("values-b+eng+419/strings.xml");
|
||||
}
|
||||
|
||||
@Test
|
||||
public void drawableNoDpiTest() throws BrutException, IOException {
|
||||
compareResFolder("drawable-nodpi");
|
||||
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="test1">test1</string>
|
||||
</resources>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="test1">test1</string>
|
||||
</resources>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="test1">test1</string>
|
||||
</resources>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="test1">test1</string>
|
||||
</resources>
|
@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<string name="test1">test1</string>
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user