Examples of test()


Examples of ca.uhn.hl7v2.validation.impl.ConformanceProfileRule.test()

        ediParser.setValidationContext(new NoValidation());
        String xmlDoc = null;
        try {
            Message message = ediParser.parse(rowHL7);
            ConformanceProfileRule rule = new ConformanceProfileRule();
        ValidationException[] exs = rule.test(message);
        if (exs != null && exs.length > 0) {
          throw new HL7Exception(exs[0].getMessage());
       
            if(log.isDebugEnabled()){
                log.debug("HL7 parsing completed." + message);
View Full Code Here

Examples of cc.mallet.grmm.learning.ACRFEvaluator.test()

  public void test (InstanceList gold, List returned, String description)
  {
    for (Iterator it = evals.iterator (); it.hasNext ();) {
      ACRFEvaluator eval =  (ACRFEvaluator) it.next ();
      eval.test (gold, returned, description);
    }
  }
 
}
View Full Code Here

Examples of collections.sets.Boo.test()

   */
  public static void main(String[] args) {
    Set<Boo> l = new LinkedHashSet<Boo>();
    Boo f = new Boo("qwerty");
    Boo f2 = new Boo2();
    f2.test(new B());
   
  }

}

View Full Code Here

Examples of collections.sets.Boo2.test()

   */
  public static void main(String[] args) {
    Set<Boo> l = new LinkedHashSet<Boo>();
    Boo f = new Boo("qwerty");
    Boo f2 = new Boo2();
    f2.test(new B());
   
  }

}

View Full Code Here

Examples of com.aelitis.azureus.core.networkmanager.admin.NetworkAdminProtocol.test()

            }else{
             
              printMessage(MessageText.getString("configureWizard.nat.testing") + " UDP " + udp_port + " ... ");

              try{
                selected.test(
                    null,
                    true,
                    new NetworkAdminProgressListener()
                    {
                      public void
View Full Code Here

Examples of com.antimatterstudios.esftp.Transfer.test()

      System.out.println("TI::test(), Transfer class = "+transfer.getClass().getName());
      transfer.init(details);
     
      try{
        System.out.println("TI::test(), calling test");
        m_userInterface.setVerified(transfer.test());
      }catch(NullPointerException e){
        System.out.println("NPE detected whilst testing and verifying the esftp details");
        System.out.println("TI::test(), NPE caught");
      }
      System.out.println("TI::test(), outputting everything");
View Full Code Here

Examples of com.bramosystems.oss.player.util.client.RegExp.test()

    public static String resolveMediaURL(String mediaURL) {
        RegExp.RegexResult rr = null;
        RegExp re = null;
        try {
            re = RegExp.getRegExp(GWT_HOST_URL_ID, "i");
            if (re.test(mediaURL)) {
                rr = re.exec(mediaURL);
                mediaURL = mediaURL.replaceAll(rr.getMatch(1), GWT.getHostPageBaseURL());
            }
           
            re = RegExp.getRegExp(GWT_MODULE_URL_ID, "i");
View Full Code Here

Examples of com.cloudbees.plugins.credentials.domains.HostnameSpecification.test()

                                    if (s instanceof HostnameSpecification) {
                                        spec = (HostnameSpecification) s;
                                        break;
                                    }
                                }
                                if (spec != null && spec.test(hostnameRequirement).isMatch() && d.test(requirements)) {
                                    domain = d;
                                    break;
                                }
                            }
                        }
View Full Code Here

Examples of com.cognifide.securecq.AbstractTest.test()

  private boolean doTest(TestLoader testLoader, CommandLine cmdLine) throws Exception {
    XmlConfigurationReader xmlConfigReader = new XmlConfigurationReader(testLoader.getComponentName());
    Configuration config = new CliConfiguration(xmlConfigReader, cmdLine);
    AbstractTest test = testLoader.getTest(config);
    test.test();
    if (test.getResult() == TestResult.DISABLED) {
      return true;
    }

    printf("### %s ###", xmlConfigReader.getMetadataValue("jcr:title"));
View Full Code Here

Examples of com.google.gwt.query.client.js.JsRegexp.test()

                addElm = false;
                JsRegexp attributeRegexp = regExpAttributes[s];
                String currentAttr = getAttr(current, regExpAttributesStr[s]);
                if (JsUtils.truth(currentAttr)
                    && currentAttr.length() != 0) {
                  if (attributeRegexp == null || attributeRegexp
                      .test(currentAttr)) {
                    addElm = true;
                  }
                }
                if (!addElm) {
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.