Examples of validate()


Examples of org.jclouds.filesystem.predicates.validators.FilesystemBlobKeyValidator.validate()

    @Test
    public void testNamesValidity() {
        FilesystemBlobKeyValidator validator = new FilesystemBlobKeyValidatorImpl();

        validator.validate("all.img");
    }

    @Test
    public void testInvalidNames() {
        FilesystemBlobKeyValidator validator = new FilesystemBlobKeyValidatorImpl();
View Full Code Here

Examples of org.jetbrains.osgi.jps.model.LibraryBundlificationRule.validate()

  }

  @Test
  public void testValidation() throws Exception {
    LibraryBundlificationRule rule = new LibraryBundlificationRule();
    rule.validate();

    rule.setRuleRegex("lib[Jj");
    try {
      rule.validate();
      fail();
View Full Code Here

Examples of org.jibx.schema.codegen.custom.SchemaCustom.validate()

            ISchemaResolver resolver = schema.getResolver();
            s_logger.debug("Assigning customization for schema " + ++count + ": " + resolver.getName());
            SchemasetCustom owner = findSchemaset(schema, m_global);
            SchemaCustom custom = owner.forceCustomization(resolver.getName(), resolver.getId(), schema,
                m_validationContext);
            custom.validate(m_validationContext);
            custom.extend(null, m_validationContext);
        }
       
        // check all the customizations
        m_global.checkSchemas(m_validationContext);
View Full Code Here

Examples of org.jitterbit.integration.client.ui.deploy.validation.DeployItemValidator.validate()

        }
        if (!preProcessDependencies(toDeploy, selected, callback)) {
            return;
        }
        DeployItemValidator validator = DeployItemValidatorFactory.newPromptOnWarningValidator();
        if (validator.validate(toDeploy)) {
            submitForDeploy(toDeploy, callback);
        } else {
            callback.caught(new Exception("Could not deploy due to invalid items."));
        }
    }
View Full Code Here

Examples of org.jitterbit.integration.client.ui.structure.editor.db.rels.RelationsValidator.validate()

    public void testEverythingOk() {
        rels.add(orderToOrderDetails());
        rels.add(orderDetailsToProducts());
        rels.add(orderToOrderLog());
        RelationsValidator validator = validatorFor(ordersTab, orderDetailsTab, productsTab, orderLogTab);
        validator.validate(rels);
    }

    @Test(expected=IllegalRelationException.class)
    public void testEmpty() {
        RelationsValidator validator = validatorFor(ordersTab, orderDetailsTab);
View Full Code Here

Examples of org.jitterbit.integration.data.entity.operation.pipeline.OperationPipelineValidator.validate()

     *
     */
    public void validatePipeline() {
        OperationPipelineValidator validator = operation.getOperationType().getPipelineValidator(
                        operation, operation.getPipeline(), collector);
        validator.validate();
    }

    /**
     * Validates the success and failure operation chains.
     *
 
View Full Code Here

Examples of org.jitterbit.integration.data.location.file.FileFilter.validate()

            throw new InputFieldException(field, sb.toString());
        }

        private Set<ValidationIssue> getValidationIssues(InputField field) {
            FileFilter filter = new FileFilter(((TextInputField) field).getValue().trim());
            return filter.validate();
        }
    }
   
}
View Full Code Here

Examples of org.jitterbit.integration.data.location.file.IgnoredLines.validate()

        return errors;
    }
   
    private void validateIgnoredLines() {
        IgnoredLines lines = location.getLinesToIgnore();
        errors.addAll(lines.validate());
    }
   
    private void validateRenameFileTo() {
        errors.addAll(location.getRenameFileTo().validate());
    }
View Full Code Here

Examples of org.jitterbit.integration.data.location.ftp.FtpLocationValidator.validate()

    @Override
    public void collectValidationMessages(ValidationMessageCollector collector) {
        super.collectValidationMessages(collector);
        FtpLocationValidator validator = new FtpLocationValidator(this, collector);
        validator.validate();
    }

    @Override
    public ExportableProperty[] getExportableProperties() {
        return new ExportableProperty[] {
View Full Code Here

Examples of org.jitterbit.integration.data.location.jms.JmsLocationValidator.validate()

    @Override
    public void collectValidationMessages(ValidationMessageCollector collector) {
        super.collectValidationMessages(collector);
        JmsLocationValidator validator = new JmsLocationValidator(this, collector);
        validator.validate();
    }

    private static final boolean equals(Object o1, Object o2) {
        return (o1 == null) ? (o2 == null) : o1.equals(o2);
    }
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.