Package com.puppetlabs.geppetto.pp

Examples of com.puppetlabs.geppetto.pp.AssignmentExpression


  }

  @Test
  public void test_Validate_Manifest_Ok() {
    PuppetManifest pp = pf.createPuppetManifest();
    AssignmentExpression a = pf.createAssignmentExpression();
    VariableExpression v = pf.createVariableExpression();
    pp.getStatements().add(a);
    v.setVarName("$x");
    a.setLeftExpr(v);
    LiteralNameOrReference value = createNameOrReference("10");
    a.setRightExpr(value);
    tester.validate(pp).assertOK();
  }
View Full Code Here

TOP

Related Classes of com.puppetlabs.geppetto.pp.AssignmentExpression

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.