Examples of check()


Examples of org.apache.sling.testing.tools.http.RetryingContentChecker.check()

            final int status = 200;
            final int timeout = TimeoutsProvider.getInstance().getTimeout(30);
            final int intervalMsec = TimeoutsProvider.getInstance().getTimeout(500);
            log.info("Checking that {} returns status {}, timeout={} seconds",
                    new Object[] { path, status, timeout });
            servletChecker.check(path, status, timeout, intervalMsec);
            servletOk = true;
            log.info("{} is ready, returns expected content", path);
        }
    }
}
View Full Code Here

Examples of org.apache.wookie.util.WgtWatcher.check()

             // Not implemented - the .wgt files are removed as part of the deployment process
           }
         });
           try {
              while (true) {
                watcher.check();
                Thread.sleep(interval);
              }
            } catch (InterruptedException iex) {
            }
       } 
View Full Code Here

Examples of org.apache.zookeeper.Transaction.check()

        zk_chroot = createClient(this.hostPort + chRoot);
        String childPath = "/myid";
        Transaction transaction = zk_chroot.transaction();
        transaction.create(childPath, new byte[0], Ids.OPEN_ACL_UNSAFE,
                CreateMode.PERSISTENT);
        transaction.check(childPath, 0);
        transaction.setData(childPath, childPath.getBytes(), 0);
        transaction.commit();

        Assert.assertNotNull("zNode is not created under chroot:" + chRoot, zk
                .exists(chRoot + childPath, false));
View Full Code Here

Examples of org.aspectj.weaver.NewConstructorTypeMunger.check()

    ResolvedMember syntheticInterMember = AjcMemberMaker.interConstructor(declaringTypeX, signature, aspectType);

    NewConstructorTypeMunger myMunger = new NewConstructorTypeMunger(signature, syntheticInterMember, null, null,
        typeVariableAliases);
    setMunger(myMunger);
    myMunger.check(world.getWorld());

    this.selector = binding.selector = NameMangler.postIntroducedConstructor(world.fromBinding(binding.declaringClass),
        declaringTypeX).toCharArray();

    return new EclipseTypeMunger(world, myMunger, aspectType, this);
View Full Code Here

Examples of org.aspectj.weaver.patterns.Pointcut.check()

  private static Pointcut parsePointcut(String pointcutString, AjAttributeStruct struct, boolean allowIf) {
    try {
      PatternParser parser = new PatternParser(pointcutString, struct.context);
      Pointcut pointcut = parser.parsePointcut();
      parser.checkEof();
      pointcut.check(null, struct.enclosingType.getWorld());
      if (!allowIf && pointcutString.indexOf("if()") >= 0 && hasIf(pointcut)) {
        reportError("if() pointcut is not allowed at this pointcut location '" + pointcutString + "'", struct);
        return null;
      }
      pointcut.setLocation(struct.context, -1, -1);// FIXME -1,-1 is not
View Full Code Here

Examples of org.astrogrid.samp.Message.check()

                List<String> strRowList = new ArrayList<String>(rowList.size());
                for(Integer i : rowList) {
                    strRowList.add(i.toString());
                }
                msg.addParam("row-list", strRowList);
                msg.check();
                return msg;
            }
        }
        return null;
    }
View Full Code Here

Examples of org.bitcoinj.crypto.MnemonicCode.check()

        wordsArea.setText(origWords);

        // Validate words as they are being typed.
        MnemonicCode codec = unchecked(MnemonicCode::new);
        TextFieldValidator validator = new TextFieldValidator(wordsArea, text ->
            !didThrow(() -> codec.check(Splitter.on(' ').splitToList(text)))
        );

        // Clear the date picker if the user starts editing the words, if it contained the current wallets date.
        // This forces them to set the birthday field when restoring.
        wordsArea.textProperty().addListener(o -> {
View Full Code Here

Examples of org.boco.seamwebappgen.utils.EntityCheck.check()

        if (!infoReader.ignoreBean(beanName))
        {
          EntityCheck ck = new EntityCheck();

          ck.check(beanName, infoReader.getClass(beanName), infoReader.getRelationships(beanName));

          Bean bean = new Bean();

          bean.setName(beanName, infoReader.getPackage());
          bean.setBasePackage(basePackage);
View Full Code Here

Examples of org.cspoker.server.embedded.gamecontrol.PlayingTableState.check()




      try {
        gameControl.check(kenzo);
        fail("Exception Expected.");
      } catch (IllegalActionException e) {
      }

View Full Code Here

Examples of org.eclipse.jgit.lib.ObjectChecker.check()

      final RevObject o = ow.nextObject();
      if (o == null)
        break;

      final byte[] bin = db.open(o, o.getType()).getCachedBytes();
      oc.check(o.getType(), bin);
      assertHash(o, bin);
    }
  }

  private static void assertHash(RevObject id, byte[] bin) {
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.