Port engine browser tests to use the public client API |
|||||||||
Issue descriptionInstead of depending on implementation details from //blimp/client/core, the engine browser tests should use the public API. We can then remove all the visibility hacks for the engine browser tests within //blimp/client/core.
,
Nov 15 2016
Tommy, what is the remaining work towards this?
,
Nov 15 2016
,
Nov 15 2016
There are still includes of //blimp/client/core in //blimp/engine/browser_tests. It seems specifically that the feature-code used in the input_browsertest.cc is the main part that's left. bgoldman: Is this something you could look into?
,
Nov 15 2016
bgoldman@ did you finish this out already? Do we have any tests not hitting blimp/client/public?
,
Nov 16 2016
,
Nov 16 2016
Right now the public API isn't fully testable in the browser test framework for all features, and that's blocking progress here. For example, the existing InputBrowserTest calls the BlimpClientSession#GetImeFeature() and attaches a mock delegate to it. BlimpClientContext doesn't expose ImeFeature at all, so it's not possible to do something similar. The same goes for geolocation. Like, do a code search for "geo" under blimp/client/public. Anyway, this is all fixable, but I haven't personally been doing any of the necessary refactoring because you (dtrainor@) said that you and your team would handle it :) I'd be happy to work on it if people think it's a priority. Just keep in mind that it involves tearing apart big chunks of BlimpClientContextImpl, which means at the very least a lot of code review.
,
Nov 16 2016
Oh also, this can be a wontfix if we use the state-oriented testing strategy for engine browser tests, since there wouldn't be any dependency on the client codebase. But the dependencies aren't in place for that right now, either.
,
Nov 16 2016
Ahh thanks for reminding me! I remember the IME test is blocked on needing a Linux implementation, which haven't gotten to yet. I'll take a look at what this would entail. +nyquist@ let's talk about how we might expose this tomorrow. I wonder if there's an easy way to give the Linux platform a way to respond to web form requests through blimp/client/public.
,
Nov 16 2016
,
Nov 16 2016
,
Nov 29 2016
Obsolete, WontFix.
,
Dec 9 2016
|
|||||||||
►
Sign in to add a comment |
|||||||||
Comment 1 by bugdroid1@chromium.org
, Oct 7 2016