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

Unified Diff: chrome/browser/resources/google_now/background_unittest.gtestjs

Issue 25114002: Finishing API error processing, and cleanup (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 7 years, 2 months 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
Index: chrome/browser/resources/google_now/background_unittest.gtestjs
diff --git a/chrome/browser/resources/google_now/background_unittest.gtestjs b/chrome/browser/resources/google_now/background_unittest.gtestjs
index 48e67862bef23622e7d22f1b59937268025325cb..8e330dfc68ad6e97d4177d59108f5d1396e99e34 100644
--- a/chrome/browser/resources/google_now/background_unittest.gtestjs
+++ b/chrome/browser/resources/google_now/background_unittest.gtestjs
@@ -395,13 +395,8 @@ function expectStateMachineCalls(
storageGetSavedArgs.match(ANYTHING)).
will(invokeCallback(storageGetSavedArgs, 1, testUserRespondedToToast));
- var setBackgroundEnableSavedArgs = new SaveMockArguments();
fixture.mockGlobals.expects(once()).
- setBackgroundEnable(
- setBackgroundEnableSavedArgs.match(ANYTHING),
- setBackgroundEnableSavedArgs.match(ANYTHING)).
- will(invokeCallback(
- setBackgroundEnableSavedArgs, 1, {}));
+ setBackgroundEnable(ANYTHING);
}
/**
« no previous file with comments | « chrome/browser/resources/google_now/background_test_util.js ('k') | chrome/browser/resources/google_now/cards.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698