Examples of submit()


Examples of bg.smoc.model.manager.ContestManager.submit()

            // for debug only
            postFileParser.upFile[0].save("./ioidebugsubmit", userId
                    + "_"
                    + String.valueOf(postFileParser.upFile[0].hashCode()));

            boolean bResult = contestManager.submit(contest,
                    userId,
                    task,
                    language,
                    srcFile,
                    absoluteSrcFile);
View Full Code Here

Examples of br.com.caelum.seleniumdsl.Form.submit()

        .type("myLogin");
    form.field("password")
        .type("myPassword");
    form.check("remember");

    form.submit();

    // logged successfuly
    Assert.assertEquals("Main Page", browser.currentPage()
        .title());
  }
View Full Code Here

Examples of co.edu.eafit.day2.selenium.RegisterBuyerPage.submit()

  }

  @Test
  public void testEmpty() {
    RegisterBuyerPage page = new RegisterBuyerPage();
    page.submit();
    String message = page.getErrorMessage();
    Assert.assertEquals("El Nombre no puede estar vacio", message);
    page.close();
  }
View Full Code Here

Examples of co.edu.eafit.day2.selenium.RegisterSalesPoint.submit()

public class RegisterSalesPointTest {
  @Test
  public void testEmpty() {
    RegisterSalesPoint page = new RegisterSalesPoint();
    page.submit();
    String message = page.getErrorMessage();
    Assert.assertEquals("la direcci�n no puede ser vacia", message);
    page.close();
  }
View Full Code Here

Examples of co.edu.eafit.day2.selenium.RegisterStore.submit()

public class RegisterStoreTest {
  @Test
  public void testEmpty() {
    RegisterStore page = new RegisterStore();
    page.submit();
    String message = page.getErrorMessage();
    Assert.assertEquals("El nombre no puede estar vacio", message);
    page.close();
  }
View Full Code Here

Examples of com.activequant.trading.IOrderTracker.submit()

  public void handle(StreamEvent streamEvent){
    if(Math.random()<0.05)
    {
      try {
        IOrderTracker orderTracker = exchange.prepareOrder(new LimitOrder());
        orderTracker.submit();
      } catch (UnsupportedOrderType e) {
        e.printStackTrace();
      } catch (IncompleteOrderInstructions e) {
        e.printStackTrace();
      }
View Full Code Here

Examples of com.alibaba.otter.shared.common.utils.thread.ExecutorTemplate.submit()

            executorTemplate.start();
            // 重新设置下poolSize
            executorTemplate.adjustPoolSize(pipeline.getParameters().getFileLoadPoolSize());
            for (final FileData fileData : fileDatas) {
                // 提交进行多线程处理
                executorTemplate.submit(new Runnable() {

                    public void run() {
                        boolean isAranda = StringUtils.isNotEmpty(fileData.getNameSpace());
                        int count = 0;
                        Throwable exception = null;
View Full Code Here

Examples of com.alibaba.otter.shared.communication.core.impl.DefaultCommunicationClientImpl.submit()

     * </pre>
     */
    public void callManager(final Event event, final Callback callback) {
        if (delegate instanceof DefaultCommunicationClientImpl) {
            DefaultCommunicationClientImpl defaultClient = (DefaultCommunicationClientImpl) delegate;
            defaultClient.submit(new Runnable() {

                @Override
                public void run() {
                    Object result = callManager(event);
                    callback.call(result);
View Full Code Here

Examples of com.cloudera.flume.util.AdminRPC.submit()

    server.serve();

    AdminRPC client = new AdminRPCThrift("localhost", 56789);
    LOG.info("Connected to test master");

    long submit = client.submit(new Command(""));
    Assert.assertEquals("Expected response was 42, got " + submit, submit, 42);

    boolean succ = client.isSuccess(42);
    Assert.assertEquals("Expected response was false, got " + succ, succ, false);
View Full Code Here

Examples of com.cloudera.flume.util.AdminRPCAvro.submit()

    MyAvroServer server = new MyAvroServer();
    server.serve();
    AdminRPC client = new AdminRPCAvro("localhost", 56789);
    LOG.info("Connected to test master");

    long submit = client.submit(new Command(""));
    Assert.assertEquals("Expected response was 42, got " + submit, submit, 42);

    boolean succ = client.isSuccess(42);
    Assert
        .assertEquals("Expected response was false, got " + succ, succ, false);
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.