Search in sources :

Example 1 with AuditQueryCriteriaUtil

use of org.jbpm.process.audit.AuditQueryCriteriaUtil in project jbpm by kiegroup.

the class AuditQueryCriteriaUtilTest method configure.

@BeforeClass
public static void configure() {
    AbstractBaseTest.hackTheDatabaseMetadataLoggerBecauseTheresALogbackXmlInTheClasspath();
    context = setupWithPoolingDataSource(JBPM_PERSISTENCE_UNIT_NAME);
    emf = (EntityManagerFactory) context.get(ENTITY_MANAGER_FACTORY);
    auditLogService = new JPAAuditLogService(emf);
    util = new AuditQueryCriteriaUtil(auditLogService);
}
Also used : AuditQueryCriteriaUtil(org.jbpm.process.audit.AuditQueryCriteriaUtil) JPAAuditLogService(org.jbpm.process.audit.JPAAuditLogService) BeforeClass(org.junit.BeforeClass)

Aggregations

AuditQueryCriteriaUtil (org.jbpm.process.audit.AuditQueryCriteriaUtil)1 JPAAuditLogService (org.jbpm.process.audit.JPAAuditLogService)1 BeforeClass (org.junit.BeforeClass)1