Examples of validate()


Examples of org.bouncycastle.tsp.TimeStampResponse.validate()

        TimeStampResponse response;
        try
        {
            response = new TimeStampResponse(tsaResponse);
            response.validate(request);
        }
        catch (TSPException e)
        {
            throw new IOException(e);
        }
View Full Code Here

Examples of org.bouncycastle.tsp.TimeStampToken.validate()

        DefaultDigestAlgorithmIdentifierFinder hashAlgoFinder = new DefaultDigestAlgorithmIdentifierFinder();
        BcDigestCalculatorProvider calculator = new BcDigestCalculatorProvider();
        BcRSASignerInfoVerifierBuilder verifierBuilder = new BcRSASignerInfoVerifierBuilder(nameGen, sigAlgoFinder, hashAlgoFinder, calculator);
        SignerInformationVerifier verifier = verifierBuilder.build(holder);
       
        timeStampToken.validate(verifier);

        // verify TSP signer certificate
        if (signatureConfig.getTspValidator() != null) {
            signatureConfig.getTspValidator().validate(tspCertificateChain, revocationData);
        }
View Full Code Here

Examples of org.broad.igv.ui.util.CancellableProgressDialog.validate()

            dialog.setPermText(permText);

            Dimension dms = new Dimension(600, 150);
            dialog.setPreferredSize(dms);
            dialog.setSize(dms);
            dialog.validate();

            LongRunningTask.submit(urlDownloader);
            return urlDownloader;
        }
    }
View Full Code Here

Examples of org.broadinstitute.gatk.utils.sam.ArtificialSingleSampleReadStreamAnalyzer.validate()

            for ( Map.Entry<String, ArtificialSingleSampleReadStreamAnalyzer> analyzerEntry : perSampleStreamAnalyzers.entrySet() ) {
                ArtificialSingleSampleReadStreamAnalyzer analyzer = analyzerEntry.getValue();
                analyzer.finalizeStats();

                // Validate the downsampled read stream for each sample individually
                analyzer.validate();
            }

            // Allow memory used by this test to be reclaimed:
            mergedReadStream = null;
            perSampleArtificialReadStreams = null;
View Full Code Here

Examples of org.camunda.bpm.container.impl.jboss.config.ManagedProcessEngineMetadata.validate()

   
    // transform configuration
    ManagedProcessEngineMetadata configuration = transformConfiguration(processEngineXml);
   
    // validate the configuration
    configuration.validate();
   
    // create service instance
    MscManagedProcessEngineController service = new MscManagedProcessEngineController(configuration);
   
    // get the service name for the process engine
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.validator.MaxLengthValidator.validate()

  }

  public void testMaxLengthValidator() {
    MaxLengthValidator validator = new MaxLengthValidator();

    assertTrue(validator.validate(null, null));

    assertTrue(validator.validate("test", new TestValidatorContext("5")));
    assertFalse(validator.validate("test", new TestValidatorContext("4")));

    try {
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.validator.MaxValidator.validate()

  }

  public void testMaxValidator() {
    MaxValidator validator = new MaxValidator();

    assertTrue(validator.validate(null, null));

    assertTrue(validator.validate(3, new TestValidatorContext("4")));
    assertFalse(validator.validate(4, new TestValidatorContext("3")));

    try {
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.validator.MinLengthValidator.validate()

  }

  public void testMinLengthValidator() {
    MinLengthValidator validator = new MinLengthValidator();

    assertTrue(validator.validate(null, null));

    assertTrue(validator.validate("test", new TestValidatorContext("4")));
    assertFalse(validator.validate("test", new TestValidatorContext("5")));

    try {
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.validator.MinValidator.validate()

  }

  public void testMinValidator() {
    MinValidator validator = new MinValidator();

    assertTrue(validator.validate(null, null));

    assertTrue(validator.validate(4, new TestValidatorContext("4")));
    assertFalse(validator.validate(4, new TestValidatorContext("5")));

    try {
View Full Code Here

Examples of org.camunda.bpm.engine.impl.form.validator.ReadOnlyValidator.validate()

  }

  public void testReadOnlyValidator() {
    ReadOnlyValidator validator = new ReadOnlyValidator();

    assertFalse(validator.validate("", null));
    assertFalse(validator.validate("aaa", null));
    assertFalse(validator.validate(11, null));
    assertFalse(validator.validate(2d, null));
    assertTrue(validator.validate(null, null));
  }
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.