Examples of MethodTrackingData


Examples of org.pentaho.test.platform.MethodTrackingData

      assert ( null != securityHelper );
      this.securityHelper = securityHelper;
    }

    public void startup() {
      methodTrackerHistory.add( new MethodTrackingData( "startup" ).addParameter( USER_PARAMETER, securityHelper
          .getCurrentUser() ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
View Full Code Here

Examples of org.pentaho.test.platform.MethodTrackingData

        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }

    public void shutdown() {
      methodTrackerHistory.add( new MethodTrackingData( "shutdown" ).addParameter( USER_PARAMETER, securityHelper
          .getCurrentUser() ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
View Full Code Here

Examples of org.pentaho.test.platform.MethodTrackingData

        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }

    public void newTenant( final ITenant tenant ) {
      methodTrackerHistory.add( new MethodTrackingData( "newTenant" ).addParameter( USER_PARAMETER,
          securityHelper.getCurrentUser() ).addParameter( "tenant", tenant ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
View Full Code Here

Examples of org.pentaho.test.platform.MethodTrackingData

        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }

    public void newTenant() {
      methodTrackerHistory.add( new MethodTrackingData( "newTenant" ).addParameter( USER_PARAMETER, securityHelper
          .getCurrentUser() ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
View Full Code Here

Examples of org.pentaho.test.platform.MethodTrackingData

        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }

    public void newUser( final ITenant tenant, final String username ) {
      methodTrackerHistory.add( new MethodTrackingData( "newUser" ).addParameter( USER_PARAMETER,
          securityHelper.getCurrentUser() ).addParameter( "tenant", tenant ).addParameter( "username", username ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
View Full Code Here

Examples of org.pentaho.test.platform.MethodTrackingData

        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }

    public void newUser() {
      methodTrackerHistory.add( new MethodTrackingData( "newUser" ).addParameter( USER_PARAMETER, securityHelper
          .getCurrentUser() ) );
      if ( throwException ) {
        throw new RuntimeException( UNIT_TEST_EXCEPTION_MESSAGE );
      }
    }
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.