Package org.pentaho.platform.engine.core.audit

Examples of org.pentaho.platform.engine.core.audit.AuditEntry


    assertEquals( null, entry.messageNumValue );
    assertEquals( messageTxtValue, entry.messageTxtValue );

    new MessageTypes();
    new AuditHelper();
    new AuditEntry();
  }
View Full Code Here


    // this should not fail, even with all nulls as inputs
    auditEntry.auditAll( null, null, null, null, null, null, null, null, null, 0.0 );
  }

  public void testClearCounts() {
    AuditEntry auditEntry = new AuditEntry();
    long counterResetDateTime = auditEntry.getCounterResetDateTime().getTime();
    auditEntry.auditJobTxtValue( null, null, null, null, null, null, null, "messageTxtValue" );
    assertTrue( !auditEntry.getCounts().isEmpty() );
    auditEntry.clearCounts();
    assertTrue( auditEntry.getCounts().isEmpty() );
    assertTrue( counterResetDateTime < auditEntry.getCounterResetDateTime().getTime() );
  }
View Full Code Here

TOP

Related Classes of org.pentaho.platform.engine.core.audit.AuditEntry

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.