Package com.puppetlabs.geppetto.graph.dependency

Examples of com.puppetlabs.geppetto.graph.dependency.DependencyGraphModule


  }

  @Test
  public void githubHrefProducer() {
    Injector injector = Guice.createInjector(new DependencyGraphModule(
      GraphHrefType.GITHUB.getHrefProducerClass(), "https://github.com/puppetlabs/geppetto/master"));
    IHrefProducer producer = injector.getInstance(IHrefProducer.class);

    Export fakeExport = new Export() {
View Full Code Here


  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

Related Classes of com.puppetlabs.geppetto.graph.dependency.DependencyGraphModule

Copyright © 2018 www.massapicom. 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.