| android.appsecurity.cts.PermissionsHostTest#testRevokeAffectsWholeGroup23 |
fail
|
java.lang.AssertionError:
Expected: (an instance of java.lang.AssertionError and has message that a string containing "Process crashed")
but: has message that a string containing "Process crashed" was <java.lang.AssertionError: on-device tests failed:
com.android.cts.usepermission.UsePermissionTest23#testRevokeAffectsWholeGroup_part1:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at com.android.cts.usepermission.UsePermissionTest23.testRevokeAffectsWholeGroup_part1(UsePermissionTest23.java:321)
at java.lang.reflect.Method.invoke(Native Method)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:148)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:142)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:919)
>
at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:18)
at org.junit.Assert.assertThat(Assert.java:956)
at org.junit.Assert.assertThat(Assert.java:923)
at android.appsecurity.cts.MatcherUtils.assertOrRethrow(MatcherUtils.java:117)
at android.appsecurity.cts.MatcherUtils.assertThrows(MatcherUtils.java:107)
at android.appsecurity.cts.PermissionsHostTest.runThrowingTest(PermissionsHostTest.java:560)
at android.appsecurity.cts.PermissionsHostTest.testRevokeAffectsWholeGroup23(PermissionsHostTest.java:261)
at sun.reflect.NativeMethodAccessorImpl.invoke0(java.base@9-internal/Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(java.base@9-internal/NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(java.base@9-internal/DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(java.base@9-internal/Method.java:531)
at junit.framework.TestCase.runTest(TestCase.java:176)
at junit.framework.TestCase.runBare(TestCase.java:141)
at com.android.tradefed.testtype.DeviceTestResult$1.protect(DeviceTestResult.java:90)
at com.android.tradefed.testtype.DeviceTestResult.runProtected(DeviceTestResult.java:65)
at com.android.tradefed.testtype.DeviceTestResult.run(DeviceTestResult.java:94)
at junit.framework.TestCase.run(TestCase.java:129)
at com.android.tradefed.testtype.DeviceTestCase.run(DeviceTestCase.java:181)
at com.android.tradefed.testtype.JUnitRunUtil.runTest(JUnitRunUtil.java:53)
at com.android.tradefed.testtype.JUnitRunUtil.runTest(JUnitRunUtil.java:37)
at com.android.tradefed.testtype.DeviceTestCase.run(DeviceTestCase.java:146)
at com.android.tradefed.testtype.HostTest.runRemoteTest(HostTest.java:608)
at com.android.tradefed.testtype.HostTest.runTestClasses(HostTest.java:535)
at com.android.tradefed.testtype.HostTest.run(HostTest.java:525)
at com.android.compatibility.common.tradefed.testtype.JarHostTest.run(JarHostTest.java:53)
at com.android.tradefed.testtype.suite.GranularRetriableTestWrapper.intraModuleRun(GranularRetriableTestWrapper.java:413)
at com.android.tradefed.testtype.suite.GranularRetriableTestWrapper.run(GranularRetriableTestWrapper.java:229)
at com.android.tradefed.testtype.suite.ModuleDefinition.run(ModuleDefinition.java:466)
at com.android.tradefed.testtype.suite.ITestSuite.runSingleModule(ITestSuite.java:691)
at com.android.tradefed.testtype.suite.ITestSuite.run(ITestSuite.java:592)
at com.android.tradefed.invoker.InvocationExecution.runTests(InvocationExecution.java:480)
at com.android.tradefed.invoker.TestInvocation.prepareAndRun(TestInvocation.java:380)
at com.android.tradefed.invoker.TestInvocation.performInvocation(TestInvocation.java:230)
at com.android.tradefed.invoker.TestInvocation.invoke(TestInvocation.java:754)
at com.android.tradefed.command.CommandScheduler$InvocationThread.run(CommandScheduler.java:594)
Caused by: java.lang.AssertionError: on-device tests failed:
com.android.cts.usepermission.UsePermissionTest23#testRevokeAffectsWholeGroup_part1:
junit.framework.AssertionFailedError: expected:<0> but was:<-1>
at junit.framework.Assert.fail(Assert.java:50)
at junit.framework.Assert.failNotEquals(Assert.java:287)
at junit.framework.Assert.assertEquals(Assert.java:67)
at junit.framework.Assert.assertEquals(Assert.java:199)
at junit.framework.Assert.assertEquals(Assert.java:205)
at com.android.cts.usepermission.UsePermissionTest23.testRevokeAffectsWholeGroup_part1(UsePermissionTest23.java:321)
at java.lang.reflect.Method.invoke(Native Method)
at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:52)
at org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:148)
at org.junit.internal.runners.statements.FailOnTimeout$CallableStatement.call(FailOnTimeout.java:142)
at java.util.concurrent.FutureTask.run(FutureTask.java:266)
at java.lang.Thread.run(Thread.java:919)
at android.appsecurity.cts.Utils.runDeviceTests(Utils.java:122)
at android.appsecurity.cts.Utils.runDeviceTests(Utils.java:73)
at android.appsecurity.cts.Utils.runDeviceTestsAsCurrentUser(Utils.java:42)
at android.appsecurity.cts.PermissionsHostTest.runDeviceTests(PermissionsHostTest.java:556)
at android.appsecurity.cts.PermissionsHostTest.lambda$runThrowingTest$1(PermissionsHostTest.java:562)
at android.appsecurity.cts.MatcherUtils.assertThrows(MatcherUtils.java:102)
... 30 more
|