Make FakeChromeIdentityService ready to be used in integration tests. |
||
Issue descriptionFakeChromeIdentityService is currently used in unit tests. We also want to use it in integration tests instead of the current solution (which mocks the internal of our shared login library and can't be upstreamed). There is two changes necessary: * Upstreamable code should always use method existing in ChromeIdentityService instead of its downstream implementation. This means upstreaming new methods in ChromeIdentityService. * Allow FakeChromeIdentityService to be used with the real ChromeBrowserProvider. The TestChromeBrowserProvider is useful for unit tests but fakes too many services for integration tests. This means the ChromeBrowserProvider should always own its ChromeIdentityService, and also allow it to be overridden.
,
Aug 29 2016
The following revision refers to this bug: https://chrome-internal.googlesource.com/chrome/ios_internal.git/+/68abe9dd88227f36a795ba1ebe037dcd6f7360a4 commit 68abe9dd88227f36a795ba1ebe037dcd6f7360a4 Author: bzanotti <bzanotti@google.com> Date: Mon Aug 29 18:16:47 2016
,
Aug 30 2016
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/353e119c15e6ee7edf5fe4f5645bf3d2255d0cc3 commit 353e119c15e6ee7edf5fe4f5645bf3d2255d0cc3 Author: bzanotti <bzanotti@chromium.org> Date: Tue Aug 30 16:24:47 2016 Add setup for integration tests in FakeChromeIdentityService. BUG= 640623 Review-Url: https://codereview.chromium.org/2287383002 Cr-Commit-Position: refs/heads/master@{#415315} [modify] https://crrev.com/353e119c15e6ee7edf5fe4f5645bf3d2255d0cc3/ios/public/provider/chrome/browser/DEPS [modify] https://crrev.com/353e119c15e6ee7edf5fe4f5645bf3d2255d0cc3/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.h [modify] https://crrev.com/353e119c15e6ee7edf5fe4f5645bf3d2255d0cc3/ios/public/provider/chrome/browser/signin/fake_chrome_identity_service.mm
,
Aug 30 2016
|
||
►
Sign in to add a comment |
||
Comment 1 by bugdroid1@chromium.org
, Aug 29 2016