[WIP] Upgrade javalite #6277
Open
[WIP] Upgrade javalite #6277
GitHub Actions / Unit Test Results
failed
Sep 19, 2024 in 0s
2 fail, 21 skipped, 5 096 pass in 33m 48s
Annotations
Check warning on line 0 in com.google.firebase.remoteconfig.internal.ConfigCacheClientTest
github-actions / Unit Test Results
getBlocking_hasNoCachedValueAndFileReadTimesOut_returnsNull (com.google.firebase.remoteconfig.internal.ConfigCacheClientTest) failed
artifacts/unit-test-result-/firebase-config/build/test-results/testDebugUnitTest/TEST-com.google.firebase.remoteconfig.internal.ConfigCacheClientTest.xml
Raw output
value of: getBlocking(...)
expected: null
but was : {"configs_key":{"long_param":"1L","string_param":"string_value"},"fetch_time_key":1000,"abt_experiments_key":[],"personalization_metadata_key":{},"template_version_number_key":0,"rollout_metadata_key":[]}
at com.google.firebase.remoteconfig.internal.ConfigCacheClientTest.getBlocking_hasNoCachedValueAndFileReadTimesOut_returnsNull(ConfigCacheClientTest.java:227)
Check warning on line 0 in com.google.firebase.remoteconfig.RemoteConfigComponentTest
github-actions / Unit Test Results
registerRolloutsStateSubscriber_firebaseNamespace_callsSubscriptionHandler (com.google.firebase.remoteconfig.RemoteConfigComponentTest) failed
artifacts/unit-test-result-/firebase-config/build/test-results/testDebugUnitTest/TEST-com.google.firebase.remoteconfig.RemoteConfigComponentTest.xml
Raw output
org.mockito.exceptions.misusing.NotAMockException:
Argument passed to verify() is of type RolloutsStateSubscriptionsHandler and is not a mock!
Make sure you place the parenthesis correctly!
See the examples of correct verifications:
verify(mock).someMethod();
verify(mock, times(10)).someMethod();
verify(mock, atLeastOnce()).someMethod();
at com.google.firebase.remoteconfig.RemoteConfigComponentTest.registerRolloutsStateSubscriber_firebaseNamespace_callsSubscriptionHandler(RemoteConfigComponentTest.java:193)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at [email protected]/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at [email protected]/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at [email protected]/java.lang.reflect.Method.invoke(Method.java:569)
at app//org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:59)
at app//org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
at app//org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:56)
at app//org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
at app//org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:26)
at app//org.junit.runners.ParentRunner$3.evaluate(ParentRunner.java:306)
at app//org.robolectric.RobolectricTestRunner$HelperTestRunner$1.evaluate(RobolectricTestRunner.java:489)
at app//org.robolectric.internal.SandboxTestRunner$2.lambda$evaluate$2(SandboxTestRunner.java:290)
at app//org.robolectric.internal.bytecode.Sandbox.lambda$runOnMainThread$0(Sandbox.java:104)
at [email protected]/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at [email protected]/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
at [email protected]/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
at [email protected]/java.lang.Thread.run(Thread.java:840)
Loading