Package org.pentaho.platform.util.beans

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


  @Test( expected = IllegalAccessException.class )
  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";
      }
    };

    harness1.setValue( "THISWILLGETCLOBBERED", "test message action1", new EagerFailingCallback(), f );
  }
View Full Code Here

TOP

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

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.