Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6bf3d0b authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "VintfObjectTest: fix test with respect to deprecation schedule changes"...

Merge "VintfObjectTest: fix test with respect to deprecation schedule changes" into pi-dev am: 34d5ae5e
am: 2ca3f248

Change-Id: Idafb6edc0095dddf5bf6f3988642c6bee3e88122
parents 39d51f7b 2ca3f248
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -20,6 +20,9 @@ import junit.framework.Assert;
import junit.framework.TestCase;

public class VintfObjectTest extends TestCase {
    /**
     * Sanity check for {@link VintfObject#report VintfObject.report()}.
     */
    public void testReport() {
        String[] xmls = VintfObject.report();
        assertTrue(xmls.length > 0);
@@ -28,6 +31,6 @@ public class VintfObjectTest extends TestCase {
                "<manifest version=\"1.0\" type=\"framework\">"));
        // From /system/compatibility-matrix.xml
        assertTrue(String.join("", xmls).contains(
                "<compatibility-matrix version=\"1.0\" type=\"framework\">"));
                "<compatibility-matrix version=\"1.0\" type=\"framework\""));
    }
}