Package com.puppetlabs.geppetto.validation.runner

Examples of com.puppetlabs.geppetto.validation.runner.PPDiagnosticsRunner.tearDown()


    result = ((PuppetManifest) result).getStatements().get(0);
    assertTrue(
      "An instance of SingleQuotedString is obtained",
      PPPackage.Literals.SINGLE_QUOTED_STRING.isSuperTypeOf(result.eClass()));

    runner.tearDown(); // bye for now
  }
}
View Full Code Here


        catch(Exception e) {
          addExceptionDiagnostic(
            diagnostics, "Internal error: Exception while setting up/tearing down validation", e);
        }
        finally {
          ppDr.tearDown();
        }

      }
      else if(isRB) {
        RubyHelper rubyHelper = new RubyHelper();
View Full Code Here

      List<Issue> issues = rv.validate(r, CheckMode.ALL, cancelMonitor);
      for(Issue issue : issues) {
        addIssueDiagnostic(diagnostics, issue, f, f.getParentFile());
      }
      worked(ticker, 1);
      ppRunner.tearDown();
    }
    catch(Exception e) {
      addExceptionDiagnostic(diagnostics, "Internal Error, failed to setUp PPDiagnostic.", e);
    }
    return r;
View Full Code Here

    // System.err.printf(
    // "    %s, %s, %s\n", export.getName(), export.getEClass().getName(),
    // export.getParentName());
    // }
    // }
    ppRunner.tearDown();
    boolean rubyServicesAvailable = rubyHelper.isRubyServicesAvailable();
    rubyHelper.tearDown();
    // make sure everything is consumed
    ticker.setWorkRemaining(0);
    BuildResult buildResult = new BuildResult(rubyServicesAvailable);
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.