Examples of verify()


Examples of aQute.bnd.osgi.Verifier.verify()

        Jar jar = new Jar(file.getName(), file);
        try {
            if ((options & VERIFY) != 0) {
                Verifier verifier = new Verifier(jar);
                verifier.setPedantic(isPedantic());
                verifier.verify();
                getInfo(verifier);
            }
            if ((options & MANIFEST) != 0) {
                Manifest manifest = jar.getManifest();
                if (manifest == null)
View Full Code Here

Examples of aQute.lib.osgi.Verifier.verify()

                    File mf = locations[i].getLocation().toFile();
                    try {
                        Jar jar = new Jar(mf.getName(), mf);
                        Verifier verifier = new Verifier(jar);
                        try {
                            verifier.verify();
                            if (verifier.getErrors().size()
                                    + verifier.getWarnings().size() > 0) {
                                List<String> info = new ArrayList<String>(verifier.getErrors());
                                info.addAll(verifier.getWarnings());
                                Activator.getDefault().error(info);
View Full Code Here

Examples of au.edu.qut.yawl.elements.data.YParameter.verify()

    public List verify() {
        List messages = new Vector();
        messages.addAll(super.verify());
        for (Iterator iterator = _enablementParameters.values().iterator(); iterator.hasNext();) {
            YParameter parameter = (YParameter) iterator.next();
            messages.addAll(parameter.verify());
        }
        Collection yawlServices = _yawlServices.values();
        for (Iterator iterator = yawlServices.iterator(); iterator.hasNext();) {
            YAWLServiceReference yawlService = (YAWLServiceReference) iterator.next();
            List verificationResult = yawlService.verify();
View Full Code Here

Examples of au.edu.qut.yawl.elements.data.YVariable.verify()

            }
            messages.addAll(nextElement.verify());
        }
        for (Iterator iterator = _localVariables.values().iterator(); iterator.hasNext();) {
            YVariable var = (YVariable) iterator.next();
            messages.addAll(var.verify());
        }
        //check that all elements in the net are on a directed path from 'i' to 'o'.
        messages.addAll(verifyDirectedPath());
        return messages;
    }
View Full Code Here

Examples of au.org.intersect.samifier.domain.Genome.verify()

        } finally {
            if (reader != null) {
                reader.close();
            }
        }
        genome.verify();
        return genome;
    }

    private void throwParsingException(String message)
            throws GenomeFileParsingException {
View Full Code Here

Examples of be.c4j.ee.security.custom.AbstractGenericVoter.verify()

        boolean permitted = true;

        for (String voter : voters) {
            AbstractGenericVoter voterObj = CDIUtil.getContextualReferenceByName(bm, voter, AbstractGenericVoter.class);
            if (!voterObj.verify(ic)) {
                permitted = false;
                break;
            }
        }
        return permitted;
View Full Code Here

Examples of ch.ethz.iks.slp.ServiceURL.verify()

   *             in case of IO errors.
   */
  boolean verify() throws ServiceLocationException {
    for (Iterator urlIter = urlList.iterator(); urlIter.hasNext();) {
      ServiceURL url = (ServiceURL) urlIter.next();
      if (!url.verify()) {
        return false;
      }
    }
    return true;
  }
View Full Code Here

Examples of com.asakusafw.dmdl.spi.AttributeDriver.verify()

            if (driver == null) {
                // may not occur
                continue;
            }
            LOG.debug("Verifying attribute: {} -> {}", name, driver); //$NON-NLS-1$
            driver.verify(context.getWorld(), declaration, attribute);
        }
    }

    private <T extends AstTerm<T>> List<T> extract(AstExpression<T> expression) {
        if (expression instanceof AstTerm<?>) {
View Full Code Here

Examples of com.asakusafw.testdriver.core.Verifier.verify()

                final Verifier delegate = verifierFactory.createVerifier(definition, context);
                return new Verifier() {
                    @Override
                    public List<Difference> verify(DataModelSource results) throws IOException {
                        DataModelSource filtered = sourceFilter.apply(results);
                        return delegate.verify(filtered);
                    }
                    @Override
                    public void close() throws IOException {
                        delegate.close();
                    }
View Full Code Here

Examples of com.asakusafw.testdriver.core.VerifyRule.verify()

        assertThat(rule, not(nullValue()));

        assertThat(rule.getKey(obj(100, "a")), equalTo(rule.getKey(obj(100, "b"))));
        assertThat(rule.getKey(obj(100, "a")), not(equalTo(rule.getKey(obj(200, "a")))));

        assertThat(rule.verify(obj(1, "a"), obj(2, "a")), is(nullValue()));
        assertThat(rule.verify(obj(1, "a"), obj(1, "b")), not(nullValue()));
    }

    /**
     * integration test with test-data-generator.
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.