Merge "VintfObjectTest: fix test with respect to deprecation schedule changes" into pi-dev
am: 34d5ae5e74
Change-Id: I65f6bd930af0df7fe6af0f050dbe7f0784ce00f1
This commit is contained in:
@@ -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\""));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user