Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4091)

Unified Diff: chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc

Issue 8662002: Revive reverted CL with fix for CrOS build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/net/gaia/oauth2_access_token_fetcher.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc
===================================================================
--- chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc (revision 111280)
+++ chrome/common/net/gaia/oauth2_access_token_fetcher_unittest.cc (working copy)
@@ -125,14 +125,6 @@
fetcher_.OnURLFetchComplete(url_fetcher);
}
-TEST_F(OAuth2AccessTokenFetcherTest, GetAccessTokenResponseNoAccessToken) {
- TestURLFetcher* url_fetcher = SetupGetAccessToken(
- true, RC_REQUEST_OK, kTokenResponseNoAccessToken);
- EXPECT_CALL(consumer_, OnGetTokenFailure(_)).Times(1);
- fetcher_.Start("refresh_token");
- fetcher_.OnURLFetchComplete(url_fetcher);
-}
-
TEST_F(OAuth2AccessTokenFetcherTest, Success) {
TestURLFetcher* url_fetcher = SetupGetAccessToken(
true, RC_REQUEST_OK, kValidTokenResponse);
« no previous file with comments | « chrome/common/net/gaia/oauth2_access_token_fetcher.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698