mirror of
https://github.com/revanced/Apktool.git
synced 2025-05-01 06:34:25 +02:00
add failing test (skipped) for #1274
This commit is contained in:
parent
a684bae43a
commit
3c41d44d8c
@ -30,6 +30,8 @@ import java.util.logging.Logger;
|
|||||||
import org.custommonkey.xmlunit.*;
|
import org.custommonkey.xmlunit.*;
|
||||||
import org.junit.*;
|
import org.junit.*;
|
||||||
import static org.junit.Assert.*;
|
import static org.junit.Assert.*;
|
||||||
|
|
||||||
|
import org.junit.rules.ExpectedException;
|
||||||
import org.xml.sax.SAXException;
|
import org.xml.sax.SAXException;
|
||||||
|
|
||||||
import javax.imageio.ImageIO;
|
import javax.imageio.ImageIO;
|
||||||
@ -192,6 +194,11 @@ public class BuildAndDecodeTest {
|
|||||||
compareXmlFiles("res/layout/issue1130.xml");
|
compareXmlFiles("res/layout/issue1130.xml");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Test(expected = AssertionError.class)
|
||||||
|
public void xmlFillParentBecomesMatchTest() throws BrutException {
|
||||||
|
compareXmlFiles("res/layout/issue1274.xml");
|
||||||
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void qualifiersTest() throws BrutException {
|
public void qualifiersTest() throws BrutException {
|
||||||
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
compareValuesFiles("values-mcc004-mnc4-en-rUS-ldrtl-sw100dp-w200dp-h300dp"
|
||||||
|
@ -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>
|
Loading…
x
Reference in New Issue
Block a user