Merge PlaybackInfoProvider
and PlayerHelper
into PlayerDecorator
#43
Annotations
2 errors
ConvivaAnalyticsIntegrationTest.does not report bitrate, if not available:
conviva/src/test/kotlin/com/bitmovin/analytics/conviva/ConvivaAnalyticsIntegrationTest.kt#L155
java.lang.AssertionError: Verification failed: call 1 of 2: ConvivaAdAnalytics(#45).reportAdMetric(eq(Conviva.playback_bitrate), [any()])) should not be called
Calls:
1) ConvivaAdAnalytics(#45).reportAdMetric(Conviva.playback_bitrate, [0])
2) ConvivaAdAnalytics(#45).reportAdMetric(Conviva.playback_resolution, [400, 300])
3) ConvivaAdAnalytics(#45).reportAdMetric(Conviva.playback_frame_rate, [10])
Stack traces:
1) io.mockk.impl.InternalPlatform.captureStackTrace (InternalPlatform.kt:124)
io.mockk.impl.stub.MockKStub.handleInvocation (MockKStub.kt:250)
io.mockk.impl.instantiation.JvmMockFactoryHelper$mockHandler$1.invocation (JvmMockFactoryHelper.kt:23)
io.mockk.proxy.jvm.advice.Interceptor.call (Interceptor.kt:21)
com.conviva.sdk.ConvivaAdAnalytics.reportAdMetric (ConvivaAdAnalytics.java:300)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updatePlaybackVideoData (ConvivaAnalyticsIntegration.java:357)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updateSession (ConvivaAnalyticsIntegration.java:344)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.lambda$new$16 (ConvivaAnalyticsIntegration.java:813)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegrationTest.does not report bitrate, if not available (ConvivaAnalyticsIntegrationTest.kt:152)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall (FrameworkMethod.java:50)
org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively (FrameworkMethod.java:47)
org.junit.internal.runners.statements.InvokeMethod.evaluate (InvokeMethod.java:17)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.runLeaf (ParentRunner.java:325)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:78)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:57)
org.junit.runners.ParentRunner$3.run (ParentRunner.java:290)
org.junit.runners.ParentRunner$1.schedule (ParentRunner.java:71)
org.junit.runners.ParentRunner.runChildren (ParentRunner.java:288)
org.junit.runners.ParentRunner.access$000 (ParentRunner.java:58)
org.junit.runners.ParentRunner$2.evaluate (ParentRunner.java:268)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.run (ParentRunner.java:363)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass (JUnitTestClassExecutor.java:108)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:58)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:40)
org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass (AbstractJUnitTestClassProcessor.java:60)
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass (SuiteTestClassProcessor.java:52)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:36)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:24)
org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch (ContextClassLoaderDispatch.java:33)
org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke (ProxyDispatchAdapter.java:94)
jdk.proxy1.$Proxy2.processTestClass (-:-1)
org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run (TestWorker.java:176)
org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName (TestWorker.java:129)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:100)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:60)
org.gradle.process.internal.worker.child.ActionExecutionWorker.execute (ActionExecutionWorker.java:56)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:113)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:65)
worker.org.gradle.process.internal.worker.GradleWorkerMain.run (GradleWorkerMain.java:69)
worker.org.gradle.process.internal.worker.GradleWorkerMain.main (GradleWorkerMain.java:74)
2) io.mockk.impl.InternalPlatform.captureStackTrace (InternalPlatform.kt:124)
io.mockk.impl.stub.MockKStub.handleInvocation (MockKStub.kt:250)
io.mockk.impl.instantiation.JvmMockFactoryHelper$mockHandler$1.invocation (JvmMockFactoryHelper.kt:23)
io.mockk.proxy.jvm.advice.Interceptor.call (Interceptor.kt:21)
com.conviva.sdk.ConvivaAdAnalytics.reportAdMetric (ConvivaAdAnalytics.java:300)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updatePlaybackVideoData (ConvivaAnalyticsIntegration.java:357)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updateSession (ConvivaAnalyticsIntegration.java:344)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.lambda$new$16 (ConvivaAnalyticsIntegration.java:813)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegrationTest.does not report bitrate, if not available (ConvivaAnalyticsIntegrationTest.kt:152)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall (FrameworkMethod.java:50)
org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively (FrameworkMethod.java:47)
org.junit.internal.runners.statements.InvokeMethod.evaluate (InvokeMethod.java:17)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.runLeaf (ParentRunner.java:325)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:78)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:57)
org.junit.runners.ParentRunner$3.run (ParentRunner.java:290)
org.junit.runners.ParentRunner$1.schedule (ParentRunner.java:71)
org.junit.runners.ParentRunner.runChildren (ParentRunner.java:288)
org.junit.runners.ParentRunner.access$000 (ParentRunner.java:58)
org.junit.runners.ParentRunner$2.evaluate (ParentRunner.java:268)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.run (ParentRunner.java:363)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass (JUnitTestClassExecutor.java:108)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:58)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:40)
org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass (AbstractJUnitTestClassProcessor.java:60)
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass (SuiteTestClassProcessor.java:52)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:36)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:24)
org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch (ContextClassLoaderDispatch.java:33)
org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke (ProxyDispatchAdapter.java:94)
jdk.proxy1.$Proxy2.processTestClass (-:-1)
org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run (TestWorker.java:176)
org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName (TestWorker.java:129)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:100)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:60)
org.gradle.process.internal.worker.child.ActionExecutionWorker.execute (ActionExecutionWorker.java:56)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:113)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:65)
worker.org.gradle.process.internal.worker.GradleWorkerMain.run (GradleWorkerMain.java:69)
worker.org.gradle.process.internal.worker.GradleWorkerMain.main (GradleWorkerMain.java:74)
3) io.mockk.impl.InternalPlatform.captureStackTrace (InternalPlatform.kt:124)
io.mockk.impl.stub.MockKStub.handleInvocation (MockKStub.kt:250)
io.mockk.impl.instantiation.JvmMockFactoryHelper$mockHandler$1.invocation (JvmMockFactoryHelper.kt:23)
io.mockk.proxy.jvm.advice.Interceptor.call (Interceptor.kt:21)
com.conviva.sdk.ConvivaAdAnalytics.reportAdMetric (ConvivaAdAnalytics.java:300)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updatePlaybackVideoData (ConvivaAnalyticsIntegration.java:357)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.updateSession (ConvivaAnalyticsIntegration.java:344)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegration.lambda$new$16 (ConvivaAnalyticsIntegration.java:813)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.MockPlayer$on$1.invoke (ConvivaAnalyticsIntegrationTest.kt:202)
com.bitmovin.analytics.conviva.ConvivaAnalyticsIntegrationTest.does not report bitrate, if not available (ConvivaAnalyticsIntegrationTest.kt:152)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall (FrameworkMethod.java:50)
org.junit.internal.runners.model.ReflectiveCallable.run (ReflectiveCallable.java:12)
org.junit.runners.model.FrameworkMethod.invokeExplosively (FrameworkMethod.java:47)
org.junit.internal.runners.statements.InvokeMethod.evaluate (InvokeMethod.java:17)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.runLeaf (ParentRunner.java:325)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:78)
org.junit.runners.BlockJUnit4ClassRunner.runChild (BlockJUnit4ClassRunner.java:57)
org.junit.runners.ParentRunner$3.run (ParentRunner.java:290)
org.junit.runners.ParentRunner$1.schedule (ParentRunner.java:71)
org.junit.runners.ParentRunner.runChildren (ParentRunner.java:288)
org.junit.runners.ParentRunner.access$000 (ParentRunner.java:58)
org.junit.runners.ParentRunner$2.evaluate (ParentRunner.java:268)
org.junit.internal.runners.statements.RunBefores.evaluate (RunBefores.java:26)
org.junit.internal.runners.statements.RunAfters.evaluate (RunAfters.java:27)
org.junit.runners.ParentRunner.run (ParentRunner.java:363)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.runTestClass (JUnitTestClassExecutor.java:108)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:58)
org.gradle.api.internal.tasks.testing.junit.JUnitTestClassExecutor.execute (JUnitTestClassExecutor.java:40)
org.gradle.api.internal.tasks.testing.junit.AbstractJUnitTestClassProcessor.processTestClass (AbstractJUnitTestClassProcessor.java:60)
org.gradle.api.internal.tasks.testing.SuiteTestClassProcessor.processTestClass (SuiteTestClassProcessor.java:52)
jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (NativeMethodAccessorImpl.java:-2)N
jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:77)
jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke (Method.java:569)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:36)
org.gradle.internal.dispatch.ReflectionDispatch.dispatch (ReflectionDispatch.java:24)
org.gradle.internal.dispatch.ContextClassLoaderDispatch.dispatch (ContextClassLoaderDispatch.java:33)
org.gradle.internal.dispatch.ProxyDispatchAdapter$DispatchingInvocationHandler.invoke (ProxyDispatchAdapter.java:94)
jdk.proxy1.$Proxy2.processTestClass (-:-1)
org.gradle.api.internal.tasks.testing.worker.TestWorker$2.run (TestWorker.java:176)
org.gradle.api.internal.tasks.testing.worker.TestWorker.executeAndMaintainThreadName (TestWorker.java:129)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:100)
org.gradle.api.internal.tasks.testing.worker.TestWorker.execute (TestWorker.java:60)
org.gradle.process.internal.worker.child.ActionExecutionWorker.execute (ActionExecutionWorker.java:56)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:113)
org.gradle.process.internal.worker.child.SystemApplicationClassLoaderWorker.call (SystemApplicationClassLoaderWorker.java:65)
worker.org.gradle.process.internal.worker.GradleWorkerMain.run (GradleWorkerMain.java:69)
worker.org.gradle.process.internal.worker.GradleWorkerMain.main (GradleWorkerMain.java:74)
|
Run tests
Process completed with exit code 1.
|