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

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

Issue 31033004: Processing groups with nextPollSeconds === undefined (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Retry... 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
« no previous file with comments | « chrome/browser/resources/google_now/background.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 ff8fdcb79987943b008aa69738812ad856a2c5a6..e179d075e7ce37a1048d0c9dff0afa2e8ccae68a 100644
--- a/chrome/browser/resources/google_now/background_unittest.gtestjs
+++ b/chrome/browser/resources/google_now/background_unittest.gtestjs
@@ -381,8 +381,6 @@ TEST_F(
// the new group from the server.
// Setup and expectations.
- Date.now = function() { return 500; };
-
var serverResponse = {
groups: {
GROUP1: {},
@@ -407,8 +405,7 @@ TEST_F(
var expectedUpdatedGroups = {
GROUP1: {
- cards: [],
- nextPollTime: Date.now()
robliao 2013/10/23 17:15:29 Is this not critical to the test? Seems like nextP
vadimt 2013/10/23 17:19:28 I started developing tests for parseAndShowNotific
+ cards: []
},
GROUP2: {
cards: ['c2'],
« no previous file with comments | « chrome/browser/resources/google_now/background.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698