Examples of execute()


Examples of uk.ac.bbsrc.tgac.miso.analysis.tgac.test.process.LocalGunzipProcess.execute()

    Map<String, String> inputParams = new HashMap<String, String>();
    inputParams.put("file", file.getAbsolutePath());
    ProcessUtils.extractConanParameters(processParams, inputParams, process);

    try {
      process.execute(processParams);
    }
    catch (ProcessExecutionException e) {
      e.printStackTrace();
      fail();
    }
View Full Code Here

Examples of uk.ac.bbsrc.tgac.miso.analysis.tgac.test.process.LocalGzipProcess.execute()

    inputParams.put("compression", "9");
    inputParams.put("file", testFile.getAbsolutePath());
    ProcessUtils.extractConanParameters(processParams, inputParams, process);

    try {
      process.execute(processParams);
    }
    catch (ProcessExecutionException e) {
      e.printStackTrace();
      fail();
    }
View Full Code Here

Examples of uk.ac.ebi.fgpt.conan.model.ConanProcess.execute()

    inputParams.put("compression", "9");
    inputParams.put("file", testFile.getAbsolutePath());
    ProcessUtils.extractConanParameters(processParams, inputParams, process);

    try {
      process.execute(processParams);
    }
    catch (ProcessExecutionException e) {
      e.printStackTrace();
      fail();
    }
View Full Code Here

Examples of uk.ac.starlink.vo.DalQuery.execute()

            StarTable starTable = null;
            if (RegCapabilityInterface.SIA_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing SIAP query: " + _url);
                // convert raSize and decSize to degrees for query
                DalQuery sq = new DalQuery(_url.toString(), ra, dec, radius / 60.);
                starTable = sq.execute(factory);
            } else if (RegCapabilityInterface.CONE_STDID.equals(_standardId)) {
                _progressPanel.setText("Performing cone search: " + _url);
                ConeSearch cs = new ConeSearch(_url.toString());
                // convert radius to degrees for query
                starTable = cs.performSearch(ra, dec, radius / 60., 0, factory);
View Full Code Here

Examples of uk.ac.ucl.panda.applications.evaluation.trec.QualityBenchmark.execute()

      qrun.setMaxResults(maxResults);
      SubmissionReport submitLog = null;
     
     
     
      QualityStats stats[] = qrun.execute(judge, submitLog, logger, scorelogger);

      // print an avarage sum of the results
      QualityStats avg = QualityStats.average(stats);
      avg.log("SUMMARY", 2, logger, "  ");
 
View Full Code Here

Examples of uk.ac.uea.threadr.Threadr.execute()

        threadr.addTasks(test);
        for (ThreadrTest t : test) {
          Threadr.logger.finer(t.toString());
        }
        startTime = System.currentTimeMillis();
        ThreadrResult results = threadr.execute();
        endTime = System.currentTimeMillis();
        diff2 = endTime - startTime;
        pars.add(diff2);
        double totalMem = threadr.getMemoryMonitor().getMaxUsedMemory(MemoryUnits.MEGABYTE);
        /* Get all the MemoryMonitors out from the results. */
 
View Full Code Here

Examples of uk.co.nimp.scard.SmartCardTask.execute()

            } else {
                cl.addArgDefs(task.getArgDefs());
            }
            task.setnRun(nRun);
            Main.checkTaskPreferences(terminal, task);
            status = task.execute(terminal);
            if (SmartCardTask.ERROR == status) {
                throw new RuntimeException("Task \"" + className + "\" terminated with error.");
            }
        } catch (StopRequestFromUserException e) {
            throw e;
View Full Code Here

Examples of uk.gov.nationalarchives.droid.command.FilterFieldCommand.execute()

    public void testFilterFieldOutput() {
       
        PrintWriter printWriter = mock(PrintWriter.class);
       
        FilterFieldCommand command = new FilterFieldCommand(printWriter);
        command.execute();
       
        ArgumentCaptor<String> helpCaptor = ArgumentCaptor.forClass(String.class);
       
        verify(printWriter, times(11)).println(helpCaptor.capture());
        verify(printWriter, atLeastOnce()).flush();
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.action.LoadProfileWorker.execute()

            if (!droidContext.selectProfileWithSource(selectedFile)) {
                // Give the tab with this profile the focus...
                LoadProfileWorker worker = new LoadProfileWorker(profileManager, droidContext, jProfilesTabbedPane);
                worker.setProfileFile(selectedFile);
                worker.init(new ProfileForm(this, droidContext, buttonManager));
                worker.execute();
            }
        }
    }

    private void saveProfileAction(ActionEvent event) {
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.action.NewProfileAction.execute()

        });
        exitListeners.add(newProfileAction);
        final ProfileForm profileForm = new ProfileForm(this, droidContext, buttonManager);
        try {
            newProfileAction.init(profileForm);
            newProfileAction.execute();
        } catch (ProfileManagerException e) {
            DialogUtils.showGeneralErrorDialog(this, ERROR_TITLE, e.getMessage());
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.