public void test_ValidateStackhammerDemoFiltered() throws Exception {
{
File root = new File("/Users/henrik/gitrepos/stackhammer-demo");
// TestDataProvider.getTestFile(new Path(
// "testData/test-modules/"));
ValidationService vs = getValidationService();
Diagnostic chain = new Diagnostic();
ValidationOptions options = getValidationOptions();
options.setCheckLayout(true);
options.setCheckModuleSemantics(true);
options.setCheckReferences(true);
options.setFileType(FileType.PUPPET_ROOT);
BuildResult br = vs.validate(chain, root, options, new File[] { new File(
"/Users/henrik/gitrepos/stackhammer-demo/nodes/foo/") }, SubMonitor.convert(null));
// System.err.println(errorsToString(chain));
StringBuilder builder = new StringBuilder();
builder.append("Diagnostic: A version should be specified.\n");