DescriptionCleanup: Remove redundant MockGetAuthTokenFunction, add missing cases
In a previous change, an improved test subclass of
GetAuthTokenFunction was created for multi-login tests. All
chrome.identity.getAuthToken browser tests now use this class, and the
original test class has been removed.
The new class does not have any mock methods since the originals were
not testing anything interesting anyway, and does not need to be a
friend of its base class.
This change also adds some coverage for error cases in getAuthToken,
for requests specifying a non-primary account ID.
BUG=364203
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=285020
Patch Set 1 #Patch Set 2 : remove MockGetAuthTokenFunction references from GetAuthTokenFunction #Patch Set 3 : add negative cases for secondary accounts #
Messages
Total messages: 10 (0 generated)
|