Lines Matching refs:param

65     public void backupUserLayer(TestParameters param, XMultiServiceFactory msf)  in backupUserLayer()  argument
70 debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE); in backupUserLayer()
74 param.put("userLayer", userLayer); in backupUserLayer()
79 param.put("copyLayer", copyLayer); in backupUserLayer()
84 …OfficeWatcherPing owp = new OfficeWatcherPing((OfficeWatcher) param.get(PropertyName.OFFICE_WATCHE… in backupUserLayer()
114 public boolean disposeManager(lib.TestParameters param) in disposeManager() argument
117 XMultiServiceFactory msf = (XMultiServiceFactory) param.getMSF(); in disposeManager()
156 public Object getManager(lib.TestParameters param) in getManager() argument
160 debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE); in getManager()
162 String additionalArgs = (String) param.get( in getManager()
174 final String cncstr = "uno:" + param.get("ConnectionString") + ";urp" + in getManager()
186 if ((param.getBool(util.PropertyName.AUTO_RESTART)) && (msf != null)) in getManager()
188 makeAppExecCommand(msf, param); in getManager()
197 isAppKnown &= !((String) param.get("AppExecutionCommand")).equals(""); in getManager()
205 final OfficeWatcher ow_old = (OfficeWatcher) param.get("Watcher"); in getManager()
212 final String cmd = (String) param.get("AppExecutionCommand"); in getManager()
217 … util.utils.validateAppExecutionCommand(cmd, (String) param.get("OperatingSystem")); in getManager()
227 (String) param.get("LogWriter")); in getManager()
239 Entry.UserDefinedParams = param; in getManager()
248 param.put("AppProvider", ph); in getManager()
249 final OfficeWatcher ow = new OfficeWatcher(param); in getManager()
250 param.put("Watcher", ow); in getManager()
301 if (!param.getBool(util.PropertyName.DONT_BACKUP_USERLAYER)) in getManager()
303 backupUserLayer(param, msf); in getManager()
310 … concat("\nsoffice -accept=").concat((String) param.get("ConnectionString")).concat(";urp;\n")); in getManager()
369 public boolean closeExistingOffice(lib.TestParameters param, boolean closeIfPossible) in closeExistingOffice() argument
372 XMultiServiceFactory msf = (XMultiServiceFactory) param.getMSF(); in closeExistingOffice()
374 debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE); in closeExistingOffice()
380 final ProcessHandler ph = (ProcessHandler) param.get("AppProvider"); in closeExistingOffice()
386 disposeOffice(msf, param); in closeExistingOffice()
391 final OfficeWatcher ow = (OfficeWatcher) param.get("Watcher"); in closeExistingOffice()
409 return disposeOffice(msf, param); in closeExistingOffice()
415 final String cncstr = "uno:" + param.get("ConnectionString") + in closeExistingOffice()
422 return disposeOffice(msf, param); in closeExistingOffice()
463 TestParameters param) in disposeOffice() argument
467 debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE); in disposeOffice()
507 final int closeTime = param.getInt(util.PropertyName.OFFICE_CLOSE_TIME_OUT); in disposeOffice()
526 final String AppKillCommand = (String) param.get(util.PropertyName.APP_KILL_COMMAND); in disposeOffice()
543 final ProcessHandler ph = (ProcessHandler) param.get("AppProvider"); in disposeOffice()
548 final OfficeWatcher ow = (OfficeWatcher) param.get("Watcher"); in disposeOffice()
558 param.remove("AppProvider"); in disposeOffice()
559 param.remove("ServiceFactory"); in disposeOffice()
561 if (!param.getBool(util.PropertyName.DONT_BACKUP_USERLAYER)) in disposeOffice()
566 final String userLayer = (String) param.get("userLayer"); in disposeOffice()
567 final String copyLayer = (String) param.get("copyLayer"); in disposeOffice()
715 private static void makeAppExecCommand(XMultiServiceFactory msf, TestParameters param) in makeAppExecCommand() argument
717 debug = param.getBool(PropertyName.DEBUG_IS_ACTIVE); in makeAppExecCommand()
720 String command = (String) param.get(util.PropertyName.APP_EXECUTION_COMMAND); in makeAppExecCommand()
723 if (param.getBool(util.PropertyName.USE_PIPE_CONNECTION) == true) in makeAppExecCommand()
726 connectionString = (String) param.get(util.PropertyName.PIPE_CONNECTION_STRING); in makeAppExecCommand()
731 connectionString = (String) param.get(util.PropertyName.CONNECTION_STRING); in makeAppExecCommand()
755 param.put(util.PropertyName.APP_EXECUTION_COMMAND, command); in makeAppExecCommand()