Examples of run()


Examples of org.jnode.net.ipv4.tftp.TFTPClient.run()

            if (host != null) {
                if (!client.executeCommand(new String[] {TFTPClient.CONNECT_CMD, host})) {
                    exit(2);
                }
            }
            client.run(getInput().getReader());
        }
    }
}
View Full Code Here

Examples of org.jnode.shell.CommandRunner.run()

            NativeProcessEnvironment.setIsolateInitialEnv(binEnv);
        } catch (Exception e) {
            Unsafe.debugStackTrace(e.getMessage(), e);
            return;
        }
        cr.run();
    }
}
View Full Code Here

Examples of org.jrebirth.af.core.command.Command.run()

            if (JRebirthParameters.DEVELOPER_MODE.get()) {
                this.unprocessedWaveHandler.manageUnprocessedWave(COMMAND_NOT_FOUND_MESSAGE.getText(), wave);
            }
        } else {
            // Run the command into the predefined thread
            command.run(wave);
        }
    }

    /**
     * Call a service method by using a task worker.
View Full Code Here

Examples of org.jrebirth.af.core.concurrent.JRebirthRunnable.run()

            // Launch the wave handling into JRebirth Thread Pool
        } else if (runType != null && runType == RunType.JTP) {
            JRebirth.runIntoJTP(waveHandlerRunnable);
        } else {
            // Otherwise we can perform it right now into the current thread (JRebirthThread - JIT)
            waveHandlerRunnable.run();
        }

    }

    /**
 
View Full Code Here

Examples of org.jruby.Main.run()

        config.processArguments(context.getArgs());
        config.setCurrentDirectory(context.getWorkingDirectory());
        config.setEnvironment(context.getEnv());

        Main main = new Main(config);
        return main.run();
    }
}
View Full Code Here

Examples of org.jruby.embed.EmbedEvalUnit.run()

    public void testConstantCompilation(){
        ScriptingContainer c = new ScriptingContainer(LocalContextScope.SINGLETHREAD, LocalVariableBehavior.PERSISTENT);
        c.setCompatVersion(CompatVersion.RUBY1_8);
        c.setCompileMode(CompileMode.FORCE);
        EmbedEvalUnit unit = c.parse("RUBY_VERSION", 0);
        assertEquals("1.8.7", unit.run().toString());
    }
}
View Full Code Here

Examples of org.jruby.javasupport.JavaEmbedUtils.EvalUnit.run()

            unit = container.parse((PathType)scriptUnit, fileinfo, line);
        }
        if (unit == null) {
            return null;
        }
        IRubyObject ret = unit.run();
        return JavaEmbedUtils.rubyToJava(ret);
    }

    public Object eval(String file, int line, int col, Object expr) throws BSFException {
        try {
View Full Code Here

Examples of org.jscsi.scsi.tasks.Task.run()

      InquiryDataRegistry inqreg = new StaticInquiryDataRegistry();

      _logger.debug("Creating ModeSenseTask from MODE SENSE (6) command");
      Task task = new ModeSenseTask(port, command, registry, inqreg);
      _logger.debug("Running mode sense task");
      task.run();

      if (port.getLastStatus() != Status.GOOD)
      {
         throw new ModeSenseException(port.getLastStatus(), port.getSenseData());
      }
View Full Code Here

Examples of org.junit.experimental.max.MaxCore.run()

    @Test
    public void rememberOldRuns() {
        fMax.run(TwoUnEqualTests.class);

        MaxCore reincarnation = MaxCore.storedLocally(fMaxFile);
        List<Failure> failures = reincarnation.run(TwoUnEqualTests.class)
                .getFailures();
        assertEquals("fast", failures.get(0).getDescription().getMethodName());
        assertEquals("slow", failures.get(1).getDescription().getMethodName());
    }
View Full Code Here

Examples of org.junit.internal.runners.model.ReflectiveCallable.run()

          @Override
          protected Object runReflectiveCall() throws Throwable {
            return createTest();
          }
        };
        testObject = reflectiveCallable.run();
        testObjectMap.put(getTestClass(), testObject);
      } catch (Throwable e) {
        return new Fail(e);
      }
    }
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.