michael@0: /* Any copyright is dedicated to the Public Domain. michael@0: http://creativecommons.org/publicdomain/zero/1.0/ */ michael@0: michael@0: package org.mozilla.gecko.background.testhelpers; michael@0: michael@0: import org.json.simple.JSONArray; michael@0: import org.mozilla.gecko.sync.CommandProcessor.Command; michael@0: michael@0: public class CommandHelpers { michael@0: michael@0: @SuppressWarnings("unchecked") michael@0: public static Command getCommand1() { michael@0: JSONArray args = new JSONArray(); michael@0: args.add("argsA"); michael@0: return new Command("displayURI", args); michael@0: } michael@0: michael@0: @SuppressWarnings("unchecked") michael@0: public static Command getCommand2() { michael@0: JSONArray args = new JSONArray(); michael@0: args.add("argsB"); michael@0: return new Command("displayURI", args); michael@0: } michael@0: michael@0: @SuppressWarnings("unchecked") michael@0: public static Command getCommand3() { michael@0: JSONArray args = new JSONArray(); michael@0: args.add("argsC"); michael@0: return new Command("displayURI", args); michael@0: } michael@0: michael@0: @SuppressWarnings("unchecked") michael@0: public static Command getCommand4() { michael@0: JSONArray args = new JSONArray(); michael@0: args.add("URI of Page"); michael@0: args.add("Sender ID"); michael@0: args.add("Title of Page"); michael@0: return new Command("displayURI", args); michael@0: } michael@0: }