[Fuchsia] Cleanup cast_runner integration tests.
Removed test-only methods from CastRunner, WebContentRunner and CastComponent that were previously used in cast_runner_integration_tests. 1. Removed CastRunner and WebContentRunner constructors that take web.Context. Now context is always created in WebContentRunner. 2. Removed test-only methods. 3. Updated TestComponentContext to allow initialization with all services cloned from /svc. The tests now inject a script into the frame in order to test functionality that was previously tested with the test-only methods. Bug: 1062351 Change-Id: I169651b68e0e9344d3450371db1485d9046c5c16 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2135154 Commit-Queue: Sergey Ulanov <sergeyu@chromium.org> Reviewed-by:Wez <wez@chromium.org> Cr-Commit-Position: refs/heads/master@{#757571}
Showing
This diff is collapsed.
Please register or sign in to comment