Examples of PPPatternHelper


Examples of com.puppetlabs.geppetto.pp.dsl.validation.PPPatternHelper

    resourceWarningDiagnostics(r).assertOK();
  }

  @Test
  public void test_numericVariableDetection() throws Exception {
    PPPatternHelper patternHelper = new PPPatternHelper();
    for(int i = 0; i < 21; i++) {
      assertTrue("Should accept $" + i, patternHelper.isDECIMALVAR("$" + i));
      assertTrue("Should accept " + i, patternHelper.isDECIMALVAR("" + i));
    }
  }
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.