1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/services/sync/tests/tps/mozmill_sanity.js Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,30 @@ 1.4 +/* This Source Code Form is subject to the terms of the Mozilla Public 1.5 + * License, v. 2.0. If a copy of the MPL was not distributed with this 1.6 + * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 1.7 + 1.8 +Components.utils.import('resource://tps/tps.jsm'); 1.9 + 1.10 +var setupModule = function(module) { 1.11 + module.controller = mozmill.getBrowserController(); 1.12 + assert.ok(true, "SetupModule passes"); 1.13 +} 1.14 + 1.15 +var setupTest = function(module) { 1.16 + assert.ok(true, "SetupTest passes"); 1.17 +} 1.18 + 1.19 +var testTestStep = function() { 1.20 + assert.ok(true, "test Passes"); 1.21 + controller.open("http://www.mozilla.org"); 1.22 + 1.23 + TPS.Login(); 1.24 + TPS.Sync(ACTIONS.ACTION_SYNC_WIPE_CLIENT); 1.25 +} 1.26 + 1.27 +var teardownTest = function () { 1.28 + assert.ok(true, "teardownTest passes"); 1.29 +} 1.30 + 1.31 +var teardownModule = function() { 1.32 + assert.ok(true, "teardownModule passes"); 1.33 +}