Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: chrome/content/tests/synchronizer.js

Issue 6247099146436608: Issue 2270 - First run of the synchronizer unit test fails (Closed)
Patch Set: Created April 2, 2015, 8:40 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/content/tests/synchronizer.js
===================================================================
--- a/chrome/content/tests/synchronizer.js
+++ b/chrome/content/tests/synchronizer.js
@@ -6,16 +6,19 @@
module("Synchronizer", {
setup: function()
{
testRunner = this;
prepareFilterComponents.call(this);
preparePrefs.call(this);
+
+ Synchronizer.init();
+
setupVirtualTime.call(this, function(wrapTimer)
{
let SynchronizerModule = getModuleGlobal("synchronizer");
SynchronizerModule.downloader._timer = wrapTimer(SynchronizerModule.downloader._timer);
}, "synchronizer", "downloader");
setupVirtualXMLHttp.call(this, "synchronizer", "downloader");
// Replace Math.random() function
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld