Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Improve process instance state assertions in JbpmJUnitBaseTestCase

Add assertion methods which rely on AuditService and work with actual process instance state.

Rewrite tests to use these methods instead of the old ones if persistence is enabled.

    • -83
    • +135
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 16 more files in changeset.
Improve process instance state assertions in JbpmJUnitBaseTestCase

Add assertion methods which rely on AuditService and work with actual process instance state.

Rewrite tests to use these methods instead of the old ones if persistence is enabled.

(cherry picked from commit 88e5316c96cbc13ee923fa0b4c23257cfb5fdc20)

    • -83
    • +135
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 16 more files in changeset.
BZ-1169161 - [JBPM-4518] JBossUserGroupCallbackImpl should support "org.jbpm.ht.user.separator" property to customize "Group Id" separator for groups

(cherry picked from commit 0cfaa5e4d301a3b2dcb83cee32cd6c0233137e39)

    • -1
    • +4
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 3 more files in changeset.
BZ-1169161 - [JBPM-4518] JBossUserGroupCallbackImpl should support "org.jbpm.ht.user.separator" property to customize "Group Id" separator for groups

    • -1
    • +4
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 3 more files in changeset.
BZ-1145731 - Ambiguity in audit service classes (RuntimeEngine.getAuditService(), not .getAuditLogService())

(cherry picked from commit 8a5704964722e4ca3e7c2244280b700442127fa8)

    • -2
    • +2
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 9 more files in changeset.
BZ-1145731 - Ambiguity in audit service classes (RuntimeEngine.getAuditService(), not .getAuditLogService())

    • -2
    • +2
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 9 more files in changeset.
adjusted tests to use properly per process instance strategy, enhanced test support to allow to register items

    • -6
    • +135
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 2 more files in changeset.
adjusted tests to use properly per process instance strategy, enhanced test support to allow to register items

(cherry picked from commit a051e3edb4dbcf0293628a43af49f31a62848e86)

    • -6
    • +135
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 2 more files in changeset.
reproduced issue (see 2nd user task in sub + per-process-instance parameter test)

(cherry picked from commit c2639c3ee582ca5a49732d7fa3ccc646c5b754e1)

    • -0
    • +17
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 6 more files in changeset.
reproduced issue (see 2nd user task in sub + per-process-instance parameter test)

    • -0
    • +17
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 6 more files in changeset.
JBPM-4400 - resolve split package problem for human task audit

  1. … 17 more files in changeset.
- jbpm-test does not include (or need) jbpm-kie-services dependency

JBPM-4225 - Provide data base backed storage for deployments

  1. … 59 more files in changeset.
- fix NPE when runtime manager already disposed in test

    • -2
    • +6
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
- fix NPE when runtime manager already disposed in test

    • -2
    • +6
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 1 more file in changeset.
JBPM-4243 - Add getAuditLogService() method to the RuntimeEngine interface

    • -7
    • +6
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 12 more files in changeset.
- updating all other persistence.xml files

  1. … 10 more files in changeset.
removed duplicate references in persistence.xml to

<class>org.jbpm.services.task.impl.model.CommentImpl</class>

<class>org.jbpm.services.task.impl.model.DeadlineImpl</class>

  1. … 12 more files in changeset.
- add missing task audit class in persistence.xml

BZ-1017327 - Deployment descriptor per deployment

    • -1
    • +4
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 50 more files in changeset.
BZ-1017327 - Deployment descriptor per deployment

    • -1
    • +4
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 50 more files in changeset.
BZ-1083268 - Usage of finalize() in product code BRMS / BPM Suite

(cherry picked from commit 8124309f9bb24e6b6a0a4c967240fb12d26d201c)

    • -5
    • +0
    ./java/org/jbpm/test/JbpmJUnitTestCase.java
  1. … 1 more file in changeset.
BZ-1083268 - Usage of finalize() in product code BRMS / BPM Suite

    • -5
    • +0
    ./java/org/jbpm/test/JbpmJUnitTestCase.java
  1. … 1 more file in changeset.
- fixing persistence.xml in other projects

  1. … 9 more files in changeset.
BZ-1056346 - jbpm-test persistence.xml is missing TaskEventImpl

BZ-1056346 - jbpm-test persistence.xml is missing TaskEventImpl(cherry picked from commit f7859a523d6672f9a1ee11d13236df1a796349f3)

BZ-1056346 - jbpm-test persistence.xml is missing TaskEventImpl

BZ-1072370: initial task audit work

  1. … 60 more files in changeset.
BZ-1040198 - Memory leak in a process with timer when run in Java API by using PerProcessInstance session strategy with disabled persistence due to: java.lang.OutOfMemoryError: unable to create new native thread

    • -2
    • +8
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 6 more files in changeset.
BZ-1040198 - Memory leak in a process with timer when run in Java API by using PerProcessInstance session strategy with disabled persistence due to: java.lang.OutOfMemoryError: unable to create new native thread

(cherry picked from commit 0d5e72a6d3559bf7a7fec7417257112d0ec5ccad)

    • -2
    • +8
    ./java/org/jbpm/test/JbpmJUnitBaseTestCase.java
  1. … 6 more files in changeset.