Back to build
Raw log | Switch to full mode | Login

I 0.000s Main command: src/out/Release/bin/../../../build/android/test_runner.py junit --output-directory src/out/Release/bin/../. --test-suite media_router_junit_tests --resource-apk src/out/Release/bin/../gen/chrome/android/features/media_router/media_router_junit_tests.ap_ --robolectric-runtime-deps-dir src/out/Release/bin/../lib.java/third_party/robolectric --verbose --release --json-results-file /b/swarming/w/ir/tmp/t/tmpyMcSN4.json I 0.005s Main ['/b/swarming/w/ir/cache/builder/src/out/Release/bin/helper/media_router_junit_tests', '--jar-args', '"-test-jars media_router_junit_tests.jar -json-results-file /b/swarming/w/ir/tmp/t/tmpNQu_kW/results.json"', '--jvm-args', '"-Drobolectric.dependency.dir=src/out/Release/bin/../lib.java/third_party/robolectric -Ddir.source.root=/b/swarming/w/ir/cache/builder/src -Drobolectric.resourcesMode=binary -Dchromium.robolectric.resource.ap_=src/out/Release/bin/../gen/chrome/android/features/media_router/media_router_junit_tests.ap_ -Drobolectric.logging=stdout"'] [==========] Running 144 tests. [----------] Global test environment set-up. [----------] Run 7 test cases from org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateTwoRoutes [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateTwoRoutes: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' IMPORTANT NOTE FROM MOCKITO: You included the 'mockito-android' dependency in a non-Android environment. The Android mock maker was disabled. You should only include the latter in your 'androidTestCompile' configuration If disabling was a mistake, you can set the 'org.mockito.mock.android' property to 'true' to override this detection. Visit https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.1 for more information [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateTwoRoutes (4383 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRoute [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRoute (36 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testDetachRoute [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testDetachRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testDetachRoute (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCloseRoute [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCloseRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCloseRoute (30 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateOneRoute [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateOneRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateOneRoute (34 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateRouteFails [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateRouteFails: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testCreateRouteFails (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRouteFails [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRouteFails: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest.testJoinRouteFails (27 ms) [----------] Run 7 test cases from org.chromium.chrome.browser.media.router.ChromeMediaRouterRouteTest (4567 ms) [----------] Run 5 test cases from org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testIsLowRamDevice [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testIsLowRamDevice: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' D/cr_MediaRouter: [ChromeMediaRouter.java:213] startObservingMediaSinks: cast:CCCCCCCC?clientId=11111111111111111&autoJoinPolicy=origin_scoped&launchTimeout=10000 [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testIsLowRamDevice (33 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedForTwoSources [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedForTwoSources: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedForTwoSources (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testNotLowRamDevice [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testNotLowRamDevice: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' D/cr_MediaRouter: [ChromeMediaRouter.java:213] startObservingMediaSinks: cast:CCCCCCCC?clientId=11111111111111111&autoJoinPolicy=origin_scoped&launchTimeout=10000 [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testNotLowRamDevice (29 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceived [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceived: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceived (30 ms) [ RUN ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedTwiceForOneSource [Robolectric] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedTwiceForOneSource: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest.testRouterOnSinksReceivedTwiceForOneSource (31 ms) [----------] Run 5 test cases from org.chromium.chrome.browser.media.router.ChromeMediaRouterSinkObservationTest (148 ms) [----------] Run 13 test cases from org.chromium.chrome.browser.media.router.DiscoveryCallbackTest [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackChangeRouteAddsOneSink [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackChangeRouteAddsOneSink: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackChangeRouteAddsOneSink (169 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSinkAfterRouteChanged [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSinkAfterRouteChanged: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSinkAfterRouteChanged (31 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddTwoSinks [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddTwoSinks: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddTwoSinks (29 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSink [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSink: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSink (32 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSourceUrn [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSourceUrn: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSourceUrn (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddOneSink [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddOneSink: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddOneSink (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSink [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSink: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSink (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithNonemptyKnownSinks [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithNonemptyKnownSinks: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithNonemptyKnownSinks (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithEmptyKnownSinks [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithEmptyKnownSinks: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testInitCallbackWithEmptyKnownSinks (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddSourceUrn [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddSourceUrn: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddSourceUrn (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSourceUrn [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSourceUrn: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveSourceUrn (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSink [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSink: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackAddDuplicateSink (47 ms) [ RUN ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSourceUrn [Robolectric] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSourceUrn: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.DiscoveryCallbackTest.testCallbackRemoveNonexistingSourceUrn (26 ms) [----------] Run 13 test cases from org.chromium.chrome.browser.media.router.DiscoveryCallbackTest (492 ms) [----------] Run 8 test cases from org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnStatusChangeUpdatesNotificationController [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnStatusChangeUpdatesNotificationController: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' IMPORTANT NOTE FROM MOCKITO: You included the 'mockito-android' dependency in a non-Android environment. The Android mock maker was disabled. You should only include the latter in your 'androidTestCompile' configuration If disabling was a mistake, you can set the 'org.mockito.mock.android' property to 'true' to override this detection. Visit https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.1 for more information [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnStatusChangeUpdatesNotificationController (3135 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testSessionAttachment [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testSessionAttachment: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testSessionAttachment (36 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnSessionStarted [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnSessionStarted: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnSessionStarted (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testGetCapabilities [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testGetCapabilities: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testGetCapabilities (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnMessageReceived [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnMessageReceived: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' D/cr_BaseSessionCtrl: [BaseSessionController.java:226] Received message from Cast device: namespace="namespace" message="message" D/cr_BaseSessionCtrl: [BaseSessionController.java:226] Received message from Cast device: namespace="urn:x-cast:com.google.cast.media" message="message" [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testOnMessageReceived (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testInitialState [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testInitialState: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testInitialState (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testEndSession [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testEndSession: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testEndSession (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testRequestSessionLaunch [Robolectric] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testRequestSessionLaunch: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@75798d03' [ OK ] org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest.testRequestSessionLaunch (22 ms) [----------] Run 8 test cases from org.chromium.chrome.browser.media.router.caf.BaseSessionControllerTest (3313 ms) [----------] Run 26 test cases from org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_unsupportedSource [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_unsupportedSource: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' IMPORTANT NOTE FROM MOCKITO: You included the 'mockito-android' dependency in a non-Android environment. The Android mock maker was disabled. You should only include the latter in your 'androidTestCompile' configuration If disabling was a mistake, you can set the 'org.mockito.mock.android' property to 'true' to override this detection. Visit https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.1 for more information D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_unsupportedSource (2711 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionResumed [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionResumed: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionResumed (32 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_hasMatchingRouteOnStart [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_hasMatchingRouteOnStart: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 1 sinks for sourceId: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 1 sinks for source: source-id [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_hasMatchingRouteOnStart (55 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_nonCurrentSession [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_nonCurrentSession: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:231] onSessionStarted [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_nonCurrentSession (28 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoSameAppIds [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoSameAppIds: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 1 sinks for sourceId: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 1 sinks for source: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 1 sinks for sourceId: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 1 sinks for source: source-id-1 [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoSameAppIds (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding_hasPendingRequest [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding_hasPendingRequest: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding_hasPendingRequest (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveRoute (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute_invalidRequest [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute_invalidRequest: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCreateRoute_invalidRequest (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testAddRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testAddRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testAddRoute (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:231] onSessionStarted [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStartFailed [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStartFailed: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStartFailed (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSinksReceived [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSinksReceived: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 2 sinks for sourceId: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 2 sinks for source: source-id [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSinksReceived (33 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:265] Session ended with error code 0 [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnding (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded_hasPendingRequest [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded_hasPendingRequest: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:265] Session ended with error code 0 [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionEnded_hasPendingRequest (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoDifferentAppIds [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoDifferentAppIds: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 1 sinks for sourceId: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 1 sinks for source: source-id-1 [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_twoDifferentAppIds (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_invalidSelector [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_invalidSelector: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStartObservingMediaSinks_invalidSelector (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testSupportsSource [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testSupportsSource: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testSupportsSource (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testDetachRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testDetachRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testDetachRoute (16 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStopObservingMediaSinks [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStopObservingMediaSinks: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:89] startObservingMediaSinks: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:78] Received 0 sinks for sourceId: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:69] Reporting 0 sinks for source: source-id-2 D/cr_CafMR: [CafBaseMediaRouteProvider.java:129] startObservingMediaSinks: source-id-1 D/cr_CafMR: [CafBaseMediaRouteProvider.java:129] startObservingMediaSinks: source-id-2 [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testStopObservingMediaSinks (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_twiceForSameSession [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_twiceForSameSession: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:231] onSessionStarted D/cr_CafMR: [CafBaseMediaRouteProvider.java:231] onSessionStarted [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionStarted_twiceForSameSession (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveAllRoutes [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveAllRoutes: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testRemoveAllRoutes (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCloseRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCloseRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testCloseRoute (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionSuspended [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionSuspended: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testOnSessionSuspended (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testTerminateAllRoutes [Robolectric] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testTerminateAllRoutes: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@44fd7ba4' [ OK ] org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest.testTerminateAllRoutes (18 ms) [----------] Run 26 test cases from org.chromium.chrome.browser.media.router.caf.CafBaseMediaRouteProviderTest (3301 ms) [----------] Run 11 test cases from org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendMessageToClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendMessageToClient: sdk=28; resources=binary Called loadFromPath(/system/framework/framework-res.apk, true); mode=binary sdk=28 I/AssetManager: no overlays.list file found I/PackageBackwardCompatibility: Could not find android.content.pm.OrgApacheHttpLegacyUpdater, ignoring I/PackageBackwardCompatibility: Could not find android.content.pm.AndroidTestBaseUpdater, ignoring I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' IMPORTANT NOTE FROM MOCKITO: You included the 'mockito-android' dependency in a non-Android environment. The Android mock maker was disabled. You should only include the latter in your 'androidTestCompile' configuration If disabling was a mistake, you can set the 'org.mockito.mock.android' property to 'true' to override this detection. Visit https://javadoc.io/page/org.mockito/mockito-core/latest/org/mockito/Mockito.html#0.1 for more information D/cr_CafMRP: [CafMediaRouteProvider.java:132] Sending message to client client-id-1: message D/cr_CafMRP: [CafMediaRouteProvider.java:127] Queueing message to client client-id-1: message D/cr_CafMRP: [CafMediaRouteProvider.java:139] Deqeueing message for client client-id-1: message [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendMessageToClient (2945 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCanJoin_matchingSessionId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCanJoin_matchingSessionId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCanJoin_matchingSessionId (30 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_mismatchingSources [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_mismatchingSources: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_mismatchingSources (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testOnSessionStarted [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testOnSessionStarted: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' D/cr_CafMR: [CafBaseMediaRouteProvider.java:150] createRoute D/cr_CafMR: [CafBaseMediaRouteProvider.java:231] onSessionStarted [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testOnSessionStarted (32 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendStringMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendStringMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' D/cr_CafMRP: [CafMediaRouteProvider.java:103] Received message from client: message D/cr_CafMRP: [CafMediaRouteProvider.java:103] Received message from client: message [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testSendStringMessage (28 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_originScoped [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_originScoped: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_originScoped (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testJoinRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testJoinRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testJoinRoute (29 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testRouteManagement [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testRouteManagement: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testRouteManagement (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_tabAndOriginScoped [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_tabAndOriginScoped: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_tabAndOriginScoped (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_usingLastRemovedRouteRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_usingLastRemovedRouteRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testAutoJoin_usingLastRemovedRouteRecord (25 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCloseRoute [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCloseRoute: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@30cb223b' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest.testCloseRoute (28 ms) [----------] Run 11 test cases from org.chromium.chrome.browser.media.router.caf.CafMediaRouteProviderTest (3217 ms) [----------] Run 69 test cases from org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullAppMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullAppMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for message [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullAppMessage (321 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_tabAndOriginScoped [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_tabAndOriginScoped: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_tabAndOriginScoped (27 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleStopMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleStopMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleStopMessage (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChanged [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChanged: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChanged (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfAppMessageType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfAppMessageType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfAppMessageType (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWhileDisconnected [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWhileDisconnected: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWhileDisconnected (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithNonexistingRequestId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithNonexistingRequestId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithNonexistingRequestId (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfUnsupportedType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfUnsupportedType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: Unsupported message: {"type":"unsupported"} [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfUnsupportedType (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedOfMediaNamespace [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedOfMediaNamespace: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedOfMediaNamespace (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendReceiverActionToClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendReceiverActionToClient: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendReceiverActionToClient (28 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfDisconnectSessionType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfDisconnectSessionType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfDisconnectSessionType (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongTypeAppMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongTypeAppMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: Value wrong type app message at message of type java.lang.String cannot be converted to JSONObject [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongTypeAppMessage (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithStringMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithStringMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithStringMessage (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithNullRequestId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithNullRequestId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithNullRequestId (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithExistingNamespace [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithExistingNamespace: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithExistingNamespace (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noSequenceNumber [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noSequenceNumber: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noSequenceNumber (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithWrongTypeVolumeMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithWrongTypeVolumeMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: Value wrong type volume message at volume of type java.lang.String cannot be converted to JSONObject [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithWrongTypeVolumeMessage (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithNullRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithNullRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithNullRequestRecord (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullClient: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for clientId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullClient (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullActualMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullActualMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for message [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullActualMessage (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithInvalidSequenceNumber [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithInvalidSequenceNumber: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessageWithInvalidSequenceNumber (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongSessionId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongSessionId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithWrongSessionId (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithNullMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithNullMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithNullMessage (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionNotConnected [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionNotConnected: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionNotConnected (25 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for clientId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientId (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithoutSequenceNumber [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithoutSequenceNumber: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithoutSequenceNumber (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithNullSequenceNumber [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithNullSequenceNumber: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithNullSequenceNumber (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionStarted [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionStarted: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: Failed to build the reply: org.json.JSONException: Value session_message of type java.lang.String cannot be converted to JSONObject [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionStarted (16 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullSessionId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullSessionId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for sessionId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNullSessionId (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage (75 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithExistingRequestId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithExistingRequestId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithExistingRequestId (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfStopType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfStopType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfStopType (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientRecord (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage_sessionDisconnected [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage_sessionDisconnected: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildSessionMessage_sessionDisconnected (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientRecord (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithWrongTypeInnerMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithWrongTypeInnerMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: Value wrong type inner message at message of type java.lang.String cannot be converted to JSONObject [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageWithWrongTypeInnerMessage (55 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionEnded [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionEnded: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnSessionEnded (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldNotWait [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldNotWait: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldNotWait (35 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithRequestRecord (23 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for clientId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_noClientId (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithRequestRecord (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithNullRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithNullRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageWithNullRequestRecord (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfMediaStatusTypeWithRequestRecord (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithInnerMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithInnerMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageWithInnerMessage (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfV2MessageType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfV2MessageType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleSessionMessageOfV2MessageType (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBroadcastClientMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBroadcastClientMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBroadcastClientMessage (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithNullVolumeMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithNullVolumeMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for volume [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeWithNullVolumeMessage (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionConnected [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionConnected: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: Failed to build the reply: org.json.JSONException: Value session_message of type java.lang.String cannot be converted to JSONObject [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_sessionConnected (25 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedWithEmptyVolumeRequests [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedWithEmptyVolumeRequests: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedWithEmptyVolumeRequests (16 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldWait [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldWait: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageofSetVolumeTypeShouldWait (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendEnclosedMessageToClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendEnclosedMessageToClient: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendEnclosedMessageToClient (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_wrongSessionId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_wrongSessionId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_wrongSessionId (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithNullRequestRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithNullRequestRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMediaMessageOfNonMediaStatusTypeWithNullRequestRecord (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingNamespace [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingNamespace: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingNamespace (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithoutRequestId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithoutRequestId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnMessageReceivedWithoutRequestId (17 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_sessionNotConnected [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_sessionNotConnected: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_sessionNotConnected (22 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfMediaMessageType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfMediaMessageType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testCastV2MessageOfMediaMessageType (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testSendJsonCastMessage (16 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithEmptyAppMessage [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithEmptyAppMessage: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for sessionId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithEmptyAppMessage (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_otherScoped [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_otherScoped: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_otherScoped (19 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_originScoped [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_originScoped: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientLeaveSessionMessage_removeRoutes_originScoped (20 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientId [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientId: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' E/cr_CafMR: JSONException while handling internal message: org.json.JSONException: No value for clientId [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientConnectMessage_noClientId (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfRemoveSessionType [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfRemoveSessionType: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testBuildEnclosedClientMessageOfRemoveSessionType (21 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageSent [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageSent: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnAppMessageSent (55 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedForClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedForClient: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testOnVolumeChangedForClient (18 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientRecord [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientRecord: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testHandleClientDisconnectMessage_noClientRecord (26 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingClient [Robolectric] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingClient: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest.testAppMessageWithNonexistingClient (18 ms) [----------] Run 69 test cases from org.chromium.chrome.browser.media.router.caf.CafMessageHandlerTest (1866 ms) [----------] Run 5 test cases from org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest [ RUN ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testSessionAttachment [Robolectric] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testSessionAttachment: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testSessionAttachment (161 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testCastListener [Robolectric] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testCastListener: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testCastListener (25 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnSessionEnded [Robolectric] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnSessionEnded: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnSessionEnded (118 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnMessageReceived [Robolectric] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnMessageReceived: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' D/cr_BaseSessionCtrl: [BaseSessionController.java:226] Received message from Cast device: namespace="namespace" message="message" D/cr_BaseSessionCtrl: [BaseSessionController.java:226] Received message from Cast device: namespace="urn:x-cast:com.google.cast.media" message="message" [ OK ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testOnMessageReceived (24 ms) [ RUN ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testUpdateNamespaces [Robolectric] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testUpdateNamespaces: sdk=28; resources=binary I/MonitoringInstr: Instrumentation started! I/MonitoringInstr: Setting context classloader to 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5', Original: 'org.robolectric.internal.bytecode.SandboxClassLoader@6fd02e5' [ OK ] org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest.testUpdateNamespaces (19 ms) [----------] Run 5 test cases from org.chromium.chrome.browser.media.router.caf.CastSessionControllerTest (349 ms) [----------] Global test environment tear-down. [==========] 144 tests ran. (17257 ms total) [ PASSED ] 144 tests. C 18.192s Main ******************************************************************************** C 18.192s Main Summary C 18.192s Main ******************************************************************************** C 18.193s Main [==========] 144 tests ran. C 18.193s Main [ PASSED ] 144 tests. C 18.193s Main ******************************************************************************** I 18.197s Main Generated json results file at /b/swarming/w/ir/tmp/t/tmpec5wcr I 18.197s Main Finishing archiving output.