Skip to content

Commit

Permalink
add small test for iBotPeaches#1157
Browse files Browse the repository at this point in the history
  • Loading branch information
iBotPeaches committed Dec 13, 2017
1 parent b9ddfc8 commit d46ba2f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,11 @@ public void xmlFillParentBecomesMatchTest() throws BrutException {
compareXmlFiles("res/layout/issue1274.xml");
}

@Test
public void xmlCustomAttrsNotAndroidTest() throws BrutException {
compareXmlFiles("res/layout/issue1157.xml");
}

@Test
public void qualifiersTest() throws BrutException {
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen android:title="test" app:min_value="0.2" app:max_value="5.0" app:default_value="1.0"
xmlns:android="https://schemas.android.com/apk/res/android"
xmlns:app="https://schemas.android.com/apk/res/brut.apktool.testapp" />
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,7 @@
<enum name="TEST_ZERO" value="0" />
<enum name="TEST_ONE" value="1" />
</attr>
<attr name="min_value" format="float" />
<attr name="max_value" format="float" />
<attr name="default_value" format="float" />
</resources>

0 comments on commit d46ba2f

Please sign in to comment.