Examples of run()


Examples of ar.com.dgarcia.javaspec.impl.model.impl.SpecExecutionBlock.run()

    @Test
    public void itShouldExecuteTestCode(){
        SpecExecutionBlock specBlock = SpecExecutionBlock.create(noBefores, mockedTestCode, noAfters, mockedParentContext, sharedContext);

        specBlock.run();

        verify(mockedTestCode).run();
    }

    @Test
View Full Code Here

Examples of artofillusion.util.ThreadManager.run()

    for (int repeat = 0; repeat < 50; repeat++)
    {
      for (int i = 0; i < flags.length; i++)
        flags[i].set(false);
      error.set(false);
      tm.run();
      assertFalse(error.get());
      for (int i = 0; i < flags.length; i++)
        assertTrue(flags[i].get());
    }
  }
View Full Code Here

Examples of at.tuwien.minimee.migration.runners.IRunner.run()

        try {
            String command = prepareCommand(config, params, inputFile, outputFile, time);
           
            IRunner runner = makeRunner(command, config);
            RunInfo r = runner.run();   
           
            result.setSuccessful(r.isSuccess());
            result.setReport(r.getReport());
           
            byte[] migratedFile = new byte[]{};
View Full Code Here

Examples of au.edu.mq.comp.junitGrading.commandLineUI.JavaGraderDriver.run()

   
    public String run() throws Exception
    {
        Log.setLogToFile(this.workDir.getAbsolutePath() + File.separator + "run.log");
        JavaGraderDriver agm = new JavaGraderDriver();
        String CSVString = agm.run(new File(this.workDir.getAbsolutePath() + File.separator + "config.txt"));
        return CSVString;
    }
   
}
View Full Code Here

Examples of au.edu.mq.comp.junitGrading.webUI.AutomarkHTTPServer.run()

            if(true == args[0].equalsIgnoreCase("server"))
            {
                int port = Integer.parseInt(args[1]);
                String workingDir = args[2];
                AutomarkHTTPServer sparkServe = new AutomarkHTTPServer(port, workingDir);
                sparkServe.run();
            }
            else
            {
                Log.error("dont know option -->" + args[0]);
            }
View Full Code Here

Examples of au.edu.mq.comp.junitGrading.webUI.AutomarkWebApplication.run()

            if(true == args[0].equalsIgnoreCase("server"))
            {
                int port = Integer.parseInt(args[1]);
                String workingDir = args[2];
                AutomarkWebApplication sparkServe = new AutomarkWebApplication(port, workingDir);
                sparkServe.run();
            }
            else
            {
                Log.error("dont know option -->" + args[0]);
                AutomarkCommandLineEntryPoint.printOptions();
View Full Code Here

Examples of au.org.intersect.samifier.parser.mzidentml.MzidReader.run()

    public List<PeptideSearchResult> parseMascotPeptideSearchResultsMzidentMLFormat(
            File resultsFile) throws MascotParsingException {
        MzidReader reader = new MzidReader(resultsFile);
        MzIdentMLHandler mzIdentMLHandler = new MzIdentMLHandler(reader);
        reader.pushHandler(mzIdentMLHandler);
        return reader.run();
    }

    public List<PeptideSearchResult> sortResultsByChromosome(
            List<PeptideSearchResult> searchResult,
            ProteinToOLNMap proteinToOLNMap, Genome genome) {
View Full Code Here

Examples of au.org.intersect.samifier.runner.ProteinGeneratorRunner.run()

            }
            ProteinGeneratorRunner runner = new ProteinGeneratorRunner(
                    glimmerFilePath, genomeFile, interval, databaseName,
                    outputWriter, translationTableFile, gffWriter,
                    accessionWriter);
            runner.run();
        } catch (ParseException pe) {
            System.err.println("Version = " + VERSION);
            HelpFormatter formatter = new HelpFormatter();
            formatter.printHelp("protein_generator", options, true);
        } catch (Exception e) {
View Full Code Here

Examples of au.org.intersect.samifier.runner.ResultAnalyserRunner.run()

                File translationTableFile = new File(line.getOptionValue("t"));
                ResultAnalyserRunner analyser = new ResultAnalyserRunner(
                        searchResultsPaths, genomeFile, mapFile, outfile,
                        chromosomeDir, translationTableFile);
                if (sqlQuery == null && repId == null) {
                    analyser.run();
                } else if (sqlQuery != null
                        && (repId != null || repListFile != null)) {
                    System.err.println("Only use either reportId or sqlQuery.");
                } else if (sqlQuery != null) {
                    mainWithQuery(analyser, sqlQuery);
View Full Code Here

Examples of au.org.intersect.samifier.runner.SamifierRunner.run()

                File translationTableFile = new File(line.getOptionValue("t"));
                SamifierRunner samifier = new SamifierRunner(
                        searchResultsPaths, genomeFile, mapFile, chromosomeDir,
                        outfile, bedfilePath, confidenScore,
                        translationTableFile);
                samifier.run();
            } else {
                SamifierRunner samifier = new SamifierRunner(
                        searchResultsPaths, genomeFile, mapFile, chromosomeDir,
                        outfile, bedfilePath, confidenScore);
                samifier.run();
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.