2012-05-29 08:52:43 -07:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
2011-08-22 14:27:25 -07:00
|
|
|
|
2011-09-01 16:57:31 -07:00
|
|
|
Components.utils.import('resource://tps/sync.jsm');
|
2011-08-22 14:27:25 -07:00
|
|
|
|
|
|
|
var setupModule = function(module) {
|
|
|
|
controller = mozmill.getBrowserController();
|
2011-09-01 16:57:31 -07:00
|
|
|
assert.ok(true, "SetupModule passes");
|
2011-08-22 14:27:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var setupTest = function(module) {
|
2011-09-01 16:57:31 -07:00
|
|
|
assert.ok(true, "SetupTest passes");
|
2011-08-22 14:27:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var testTestStep = function() {
|
2011-09-01 16:57:31 -07:00
|
|
|
assert.ok(true, "test Passes");
|
2011-08-22 14:27:25 -07:00
|
|
|
controller.open("http://www.mozilla.org");
|
2011-09-01 16:57:31 -07:00
|
|
|
TPS.SetupSyncAccount();
|
|
|
|
assert.equal(TPS.Sync(SYNC_WIPE_SERVER), 0, "sync succeeded");
|
2011-08-22 14:27:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var teardownTest = function () {
|
2011-09-01 16:57:31 -07:00
|
|
|
assert.ok(true, "teardownTest passes");
|
2011-08-22 14:27:25 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
var teardownModule = function() {
|
2011-09-01 16:57:31 -07:00
|
|
|
assert.ok(true, "teardownModule passes");
|
2011-08-22 14:27:25 -07:00
|
|
|
}
|