Updated unit-tests to include API 23 tests

This commit is contained in:
Connor Tumbleson 2015-10-08 06:58:32 -05:00
parent a29839bab2
commit 26b883ac3b
4 changed files with 15 additions and 1 deletions

View File

@ -178,7 +178,7 @@ public class BuildAndDecodeTest {
@Test @Test
public void qualifiersTest() throws BrutException { public void qualifiersTest() throws BrutException {
compareValuesFiles("values-mcc004-mnc04-en-rUS-ldrtl-sw100dp-w200dp-h300dp" compareValuesFiles("values-mcc004-mnc04-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
+ "-xlarge-long-land-desk-night-xhdpi-finger-keyssoft-12key" + "-xlarge-long-round-land-desk-night-xhdpi-finger-keyssoft-12key"
+ "-navhidden-dpad/strings.xml"); + "-navhidden-dpad/strings.xml");
} }
@ -242,6 +242,12 @@ public class BuildAndDecodeTest {
compareValuesFiles("values-b+eng+419/strings.xml"); compareValuesFiles("values-b+eng+419/strings.xml");
} }
@Test
public void api23ConfigurationsTest() throws BrutException, IOException {
compareValuesFiles("values-round/strings.xml");
compareValuesFiles("values-notround/strings.xml");
}
@Test @Test
public void drawableNoDpiTest() throws BrutException, IOException { public void drawableNoDpiTest() throws BrutException, IOException {
compareResFolder("drawable-nodpi"); compareResFolder("drawable-nodpi");

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello_world">Hello World</string>
</resources>

View File

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="hello_world">Hello World</string>
</resources>