Merge "PmPermissionsTest: Update test expectations for getPackageSizeInfo" into rvc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
758aaeda59
@@ -43,8 +43,8 @@ public class PmPermissionsTests extends AndroidTestCase {
|
||||
try {
|
||||
mPm.getPackageSizeInfo(mPkgName, null);
|
||||
fail("PackageManager.getPackageSizeInfo" +
|
||||
"did not throw SecurityException as expected");
|
||||
} catch (SecurityException e) {
|
||||
"did not throw UnsupportedOperationException as expected");
|
||||
} catch (UnsupportedOperationException e) {
|
||||
// expected
|
||||
}
|
||||
}
|
||||
@@ -130,4 +130,4 @@ public class PmPermissionsTests extends AndroidTestCase {
|
||||
// expected
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user