Package org.pentaho.platform.util.beans

Examples of org.pentaho.platform.util.beans.PropertyNameFormatter


  public void testSetValueWithFormatter() throws Exception {

    TestAction action1 = new TestAction();
    ActionHarness harness1 = new ActionHarness( action1 );

    PropertyNameFormatter f = new PropertyNameFormatter() {

      public String format( String name ) {
        return "message";
      }
    };
View Full Code Here


  public void testSetValueWithFormatterNonExistentProperty() throws Exception {

    TestAction action1 = new TestAction();
    ActionHarness harness1 = new ActionHarness( action1 );

    PropertyNameFormatter f = new PropertyNameFormatter() {

      public String format( String name ) {
        return "THISPROPERTYDOESNOTEXIST";
      }
    };
View Full Code Here

TOP

Related Classes of org.pentaho.platform.util.beans.PropertyNameFormatter

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.