Examples of validate()


Examples of com.eviware.soapui.impl.wadl.inference.schema.Particle.validate()

            }
            if( completed )
              ref.setAttribute( "use", "optional" );
            Particle newAttribute = Particle.Factory.newReferenceInstance( schema, ref );
            attributes.put( qname, newAttribute );
            newAttribute.validate( context );
          }
        }
        else
          throw new XmlException( "Illegal attribute!" );
        seen.add( qname );
View Full Code Here

Examples of com.facebook.presto.jdbc.internal.jetty.util.security.CertificateValidator.validate()

                    CertificateValidator validator = new CertificateValidator(trustStore, crls);
                    validator.setMaxCertPathLength(_maxCertPathLength);
                    validator.setEnableCRLDP(_enableCRLDP);
                    validator.setEnableOCSP(_enableOCSP);
                    validator.setOcspResponderURL(_ocspResponderURL);
                    validator.validate(keyStore, cert);
                }

                KeyManager[] keyManagers = getKeyManagers(keyStore);
                TrustManager[] trustManagers = getTrustManagers(trustStore,crls);
View Full Code Here

Examples of com.foundationdb.ais.model.AkibanInformationSchema.validate()

        createTable("schema", "root", "id int not null, primary key(id)");
        createTable("schema", "child", "id int not null, rid int, primary key(id)", akibanFK("rid", "root", "id"));
        ddl().renameTable(session(), tableName("schema", "child"), tableName("schema", "renamed_child"));
        createTable("schema", "child", "id int not null, rid int, primary key(id)", akibanFK("rid", "root", "id"));
        AkibanInformationSchema ais = ddl().getAIS(session());
        AISValidationResults results = ais.validate(Collections.singleton(new StorageKeysUnique()));
        assertEquals(0, results.failures().size());
    }
}
View Full Code Here

Examples of com.fs.pxe.sfwk.deployment.ExplodedSarFile.validate()

        for (Iterator it = resources.keySet().iterator(); it.hasNext();) {
            String name = (String) it.next();
            sf.addResource(name, new URL((String) resources.get(name)));
        }

        sf.validate();
        return sf;

    }

    class BundleEntry {
View Full Code Here

Examples of com.github.couchapptakeout.ui.EmbeddedBrowser.validate()

            Logger.getLogger(App.class.getName()).log(Level.SEVERE, null, ex);
        }

        browser.setUrl(applicationUrl);
        browser.invalidate();
        browser.validate();
        browser.repaint();
    }


    protected void copyDesignDocs(CouchDbConnector src, CouchDbConnector dest) {
View Full Code Here

Examples of com.github.fge.jsonschema.keyword.validator.KeywordValidator.validate()

        final Processor<FullData, FullData> processor =  mock(Processor.class);

        // It is a null node which is ignored by the constructor, so we can
        // do that
        final KeywordValidator validator = constructor.newInstance(schema);
        validator.validate(processor, report, BUNDLE, data);

        if (valid) {
            verify(report, never()).error(anyMessage());
            return;
        }
View Full Code Here

Examples of com.github.fge.jsonschema.main.JsonSchema.validate()

        final JsonSchema schema = factory.getJsonSchema(fstabSchema);

        ProcessingReport report;

        report = schema.validate(good);
        System.out.println(report);

        report = schema.validate(bad);
        System.out.println(report);
View Full Code Here

Examples of com.github.fge.jsonschema.main.JsonValidator.validate()

        final JsonValidator validator = factory.getValidator();
        final MessageBundle bundle
            = MessageBundles.getBundle(JsonSchemaValidationBundle.class);

        try {
            validator.validate(schemaNode,
                JacksonUtils.nodeFactory().nullNode());
            fail("No exception thrown!");
        } catch (ProcessingException e) {
            final URI uri = URI.create("#/oneOf/1");
            final ProcessingMessage message = e.getProcessingMessage();
View Full Code Here

Examples of com.github.sommeri.less4j.core.validators.CssAstValidator.validate()

    }
  }

  private void validateFinalCss(StyleSheet less) {
    CssAstValidator validator = new CssAstValidator(problemsHandler);
    validator.validate(less);
  }

  public Set<LessSource> getImportedsources() {
    return importedSources;
  }
View Full Code Here

Examples of com.github.sommeri.less4j.core.validators.LessAstValidator.validate()

    return (StyleSheet) result;
  }

private void checkForWarnings(ASTCssNode result) {
   LessAstValidator validator = new LessAstValidator(problemsHandler);
   validator.validate(result);
  }

private void solveParentChildRelationShips(ASTCssNode node) {
    for (ASTCssNode kid : node.getChilds()) {
      kid.setParent(node);
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.