diff options
author | Richard Uhler <ruhler@google.com> | 2019-04-23 15:58:33 +0100 |
---|---|---|
committer | Richard Uhler <ruhler@google.com> | 2019-04-23 15:58:33 +0100 |
commit | e846376e622d068866262a6588f0e66d77be1c6d (patch) | |
tree | 83c01677234145f69725011d13bf4ff5bbb8305b /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 6243f0aa27ee1c0f589489ab386d375afacfe2c3 (diff) |
Add test for rollback of same version apk.
The test is marked @Ignore because of a bug in RollbackManager that
fails to expire a rollback when there is a new update of an apk to its
same version code:
STACKTRACE:
java.lang.AssertionError: expected null, but was:<android.content.rollback.RollbackInfo@28c0495>
at org.junit.Assert.fail(Assert.java:88)
at org.junit.Assert.failNotNull(Assert.java:755)
at org.junit.Assert.assertNull(Assert.java:737)
at org.junit.Assert.assertNull(Assert.java:747)
at com.android.tests.rollback.RollbackTestUtils.getUniqueRollbackInfoForPackage(RollbackTestUtils.java:321)
at com.android.tests.rollback.RollbackTest.testSameVersionUpdate(RollbackTest.java:795)
Bug: 120200473
Test: atest RollbackTest
Change-Id: Ib03692c170ee689fcf667689dad25647e55f984f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions