add failing test (skipped) for #1274

This commit is contained in:
Connor Tumbleson 2016-06-21 07:23:41 -04:00
parent a684bae43a
commit 3c41d44d8c
No known key found for this signature in database
GPG Key ID: C3CC0A201EC7DA75
2 changed files with 10 additions and 0 deletions

View File

@ -30,6 +30,8 @@ import java.util.logging.Logger;
import org.custommonkey.xmlunit.*;
import org.junit.*;
import static org.junit.Assert.*;
import org.junit.rules.ExpectedException;
import org.xml.sax.SAXException;
import javax.imageio.ImageIO;
@ -192,6 +194,11 @@ public class BuildAndDecodeTest {
compareXmlFiles("res/layout/issue1130.xml");
}
@Test(expected = AssertionError.class)
public void xmlFillParentBecomesMatchTest() throws BrutException {
compareXmlFiles("res/layout/issue1274.xml");
}
@Test
public void qualifiersTest() throws BrutException {
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"

View File

@ -0,0 +1,3 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent">
</LinearLayout>