Examples of PPDiagnosticsSetup


Examples of com.puppetlabs.geppetto.validation.runner.PPDiagnosticsSetup

    if(importedModuleLocations == null)
      importedModuleLocations = Collections.emptyList();

    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions(moduleLocations, importedModuleLocations);
    new PPDiagnosticsSetup(complianceLevel, options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();

    getValidationService().validate(
      result, getModulesDir(), options,
      importedModuleLocations.toArray(new File[importedModuleLocations.size()]), new NullProgressMonitor());
  }
View Full Code Here

Examples of com.puppetlabs.geppetto.validation.runner.PPDiagnosticsSetup

  @Before
  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = Guice.createInjector(GsonModule.INSTANCE, new ForgeModule(), new ValidationModule());
  }
View Full Code Here

Examples of com.puppetlabs.geppetto.validation.runner.PPDiagnosticsSetup

  @Before
  public void setUp() {
    RubyHelper.setRubyServicesFactory(JRubyServices.FACTORY);
    ValidationOptions options = getValidationOptions();
    injector = new PPDiagnosticsSetup(options.getComplianceLevel(), options.getProblemsAdvisor()).createInjectorAndDoEMFRegistration();
    injector = injector.createChildInjector(
      GsonModule.INSTANCE, new ForgeModule(), new ValidationModule(), new DependencyGraphModule(
        JavascriptHrefProducer.class, ""));
  }
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.