Cleanup XR usage of EmbeddedTestServer
Cleans up manual usage of EmbeddedTestServer in XR tests, which was both adding a lot of duplicate code and had the potential to fail to clean up the server if the test failed, which could then affect other tests. This is achieved by making EmbeddedTestServerRule lazy and applying it to all ChromeActivityTestRules, not just WebappActivityTestRule. Bug: 901923 Change-Id: I431dac3ce2488a1a5762a1ab1f5ec68aea16c9f5 Reviewed-on: https://chromium-review.googlesource.com/c/1320024 Commit-Queue: Brian Sheedy <bsheedy@chromium.org> Reviewed-by:Tommy Nyquist <nyquist@chromium.org> Reviewed-by:
Paul Jensen <pauljensen@chromium.org> Cr-Commit-Position: refs/heads/master@{#609556}
Showing
Please register or sign in to comment