DescriptionInterfaceify ClientPlugin in preparation for mocking it.
Various browser tests currently have to make a connection to a host in order to test
features that only make sense in that context (eg, bump-scroll). These tests would
be more robust if the we could mock the client plugin so that a real connection isn't
needed.
For the most part, I've changed only what I had to to make it possible to mock these
classes; there's a lot more clean-up that could be done, but I don't want to make it
hard to merge things back into trunk.
Committed: https://crrev.com/611d14ec5320ddee23aff092bafa9536ec6f2b83
Cr-Commit-Position: refs/heads/master@{#296001}
Patch Set 1 #Patch Set 2 : Made plugin factory a static member of ClientSession so it can be overridden before an instance is … #Patch Set 3 : Interfaceify more classes. #
Total comments: 10
Patch Set 4 : Reviewer feedback. #Patch Set 5 : Renamed interfaces. #
Total comments: 11
Messages
Total messages: 16 (4 generated)
|