Clone Tools
  • last updated a few minutes ago
Constraints
Constraints: committers
 
Constraints: files
Constraints: dates
Add unit tests for org.drools.core.util.bitmask.LongBitMask (#2434)

These tests were written using Diffblue Cover

    • -0
    • +126
    ./util/bitmask/LongBitMaskTest.java
[DROOLS-4388] make drools agenda-filters serializable (#2491)

* [DROOLS-4388] make drools agenda-filters serializable

* [DROOLS-4388] make drools agenda-filters serializable

  1. … 10 more files in changeset.
[DROOLS-4343] Change fact handle id type to long

    • -13
    • +17
    ./reteoo/test/ReteDslTestEngine.java
  1. … 33 more files in changeset.
DROOLS-4278 Applying PMML model using kie-server fails (#2430) (#2453)

* Changed the ApplyPmmlModelCommand execute method so that it uses a

RegistryContext, instead of a RequestContextImpl.

* Added more tests for ApplyPmmlModelCommand

* Changed how the ApplyPmmlModelCommand applied

results to the ExecutionResultImpl.

    • -0
    • +64
    ./command/runtime/pmml/ApplyPmmlModelCommandTest.java
  1. … 2 more files in changeset.
DROOLS-4278 Applying PMML model using kie-server fails (#2430)

* Changed the ApplyPmmlModelCommand execute method so that it uses a

RegistryContext, instead of a RequestContextImpl.

* Added more tests for ApplyPmmlModelCommand

* Changed how the ApplyPmmlModelCommand applied

results to the ExecutionResultImpl.

    • -0
    • +64
    ./command/runtime/pmml/ApplyPmmlModelCommandTest.java
  1. … 2 more files in changeset.
[DROOLS-3177] Moved RegistryContext to kie-internal (#2174)

  1. … 93 more files in changeset.
DROOLS-3183 Create unit tests for classes in org.drools.core.ruleunit package (#2134)

* Add unit tests for Guard and RuleUnitDescr classes

* Add unit tests for Guard and RuleUnitDescr classes

* Add RuleUnitRegostry test class

* Some renaming in rule units

* Add unit test for RuleUnitFactory

* Add unit test for RuleUnitGuardSystem

* Fix failing tests

    • -0
    • +83
    ./ruleunit/GuardTest.java
    • -0
    • +95
    ./ruleunit/RuleUnitDescriptionLoaderTest.java
    • -0
    • +109
    ./ruleunit/RuleUnitDescriptionRegistryTest.java
    • -0
    • +246
    ./ruleunit/RuleUnitDescriptionTest.java
    • -0
    • +105
    ./ruleunit/RuleUnitFactoryTest.java
    • -0
    • +81
    ./ruleunit/RuleUnitGuardSystemTest.java
    • -0
    • +35
    ./ruleunit/RuleUnitTestUtil.java
    • -0
    • +33
    ./ruleunit/RuleUnitWithDataSource.java
    • -0
    • +30
    ./ruleunit/SimpleFact.java
    • -0
    • +105
    ./ruleunit/TestRuleUnit.java
    • -0
    • +30
    ./ruleunit/TestRuleUnit2.java
  1. … 4 more files in changeset.
JBPM-7880 - ElasticSearch event emitter for runtime events (#2120)

[DROOLS-3076] test and fix ScalablePool

    • -0
    • +116
    ./util/ScalablePoolTest.java
  1. … 2 more files in changeset.
[DROOLS-2892] fix PathMemory reset

  1. … 2 more files in changeset.
[DROOLS-2871] remove manners example

    • -1216
    • +0
    ./examples/manners/BaseMannersTest.java
    • -103
    • +0
    ./examples/manners/ReteooMannersTest.java
  1. … 36 more files in changeset.
[DROOLS-2740] Move ExecutableCommand to public API (#1985)

* [DROOLS-2740] Split ExecutableCommand to internal TransactionalCommand and public ExecutableCommand

* [DROOLS-2740] Small cast fixes

* [DROOLS-2740] Fix regression

* Revert "[DROOLS-2740] Split ExecutableCommand to internal TransactionalCommand and public ExecutableCommand"

This reverts commit b8eff68

* Created NotTransactionalCommand interface as marker interface and migrated to public ExecutableCommand interface

* Added test for InternalExecutable.canRunInTransaction

* Restored a deprecated internal ExecutableCommand for backward compatibility

    • -0
    • +88
    ./command/runtime/rule/InternalExecutableTest.java
  1. … 108 more files in changeset.
[FINDBUGS] First bunch of fixes for problems reported by FindBugs in drools-core (#1971)

* [findbugs] Create classloaders only inside doPrivileged block

* [findbugs] Use correct map for accumulate imports initialization

* [findbugs] Uncallable method defined in anonymous class

* [findbugs] Impossible cast

* [findbugs] Code checks for specific values returned by compareTo

* [findbugs] Bad attempt to compute abs. value of signed 32-bit hashcode

* [findbugs] Nullcheck of value previously dereferenced

* [findbugs] Uninit. read of field method called from constr. of superclass

* [findbugs] equals overrides equals in superclass and may not be symmetric

* [findbugs] Possible null pointer dereference

* [findbugs] Fix failing tests

* [findbugs] Should be a static inner class

* [findbugs] Private method is never called

* [findbugs] Inefficient use of keySet iterator instead of entrySet iterator

* [findbugs] Private method is never called

* [findbugs] Method concatenates strings using + in a loop

* [findbugs] Method invokes inefficient Number constructor

* [findbugs] Boxing/unboxing to parse a primitive

* [findbugs] Boxed value is unboxed and then immediately reboxed

* [findbugs] Other boxing/unboxing issues

* [findbugs] Method allocates a boxed primitive just to call toString

* [findbugs] Fix test

* [findbugs] Sequence of calls to concurrent abstraction may not be atomic

* [findbugs] Possible double check of field (double-checked locking)

* [findbugs] Method does not release lock on all exception paths

* [findbugs] Class is Serializable, but doesn't define serialVersionUID

* [findbugs] Method ignores exceptional return value

* [findbugs] Method uses the same code for two branches

* [findbugs] Write to static field from instance method

* Revert to instanceOf comparison

  1. … 65 more files in changeset.
[DROOLS-2695] make beta node indexes to support type coercion (#1973)

* [DROOLS-2695] make beta node indexes to support type coercion

* [DROOLS-2695] make beta node indexes to support type coercion

(cherry picked from commit 09d3c3ab1b687f3ad16bad9a874e233f1836302e)

  1. … 2 more files in changeset.
[DROOLS-2695] make beta node indexes to support type coercion (#1973)

* [DROOLS-2695] make beta node indexes to support type coercion

* [DROOLS-2695] make beta node indexes to support type coercion

  1. … 2 more files in changeset.
DROOLS-2554 allow variance accumulate to survive NaN on reverse (#1902)

* allow variance accumulate to survive a reverse when only one fact has been added

* Update VarianceNaNTest.java

    • -0
    • +32
    ./base/accumulators/VarianceNaNTest.java
  1. … 1 more file in changeset.
DROOLS-2554 allow variance accumulate to survive NaN on reverse (#1902)

* allow variance accumulate to survive a reverse when only one fact has been added

* Update VarianceNaNTest.java

(cherry picked from commit d82eeb897bddc6bec37ae8a7cbeec18043e6286b)

    • -0
    • +32
    ./base/accumulators/VarianceNaNTest.java
  1. … 1 more file in changeset.
DROOLS-2520 Fix executors and threads handling in drools-compiler tests (#1887)

  1. … 36 more files in changeset.
RHPAM-795 RHPAM-55 Register project classloaders as parallel capable (#1874)

* Add test for a classloader deadlock

* RHPAM-795 Register project classloaders as parallel capable

(cherry picked from commit 6b7840d98b0175b8efc83acf1e7b8cb1babf97d2)

    • -0
    • +72
    ./common/ClassLoaderTest.java
  1. … 1 more file in changeset.
RHPAM-795 RHPAM-55 Register project classloaders as parallel capable (#1874)

* Add test for a classloader deadlock

* RHPAM-795 Register project classloaders as parallel capable

    • -0
    • +72
    ./common/ClassLoaderTest.java
  1. … 1 more file in changeset.
RHPAM-795 RHPAM-55 Register project classloaders as parallel capable (#1874)

* Add test for a classloader deadlock

* RHPAM-795 Register project classloaders as parallel capable

(cherry picked from commit 6b7840d98b0175b8efc83acf1e7b8cb1babf97d2)

    • -0
    • +77
    ./common/ClassLoaderTest.java
  1. … 1 more file in changeset.
[DROOLS-2468] put stateful session under control of kbase coordinatio… (#1864)

[DROOLS-2468] put stateful session under control of kbase coordination for incremental update even when wrapped by a stateless session

    • -3
    • +8
    ./reteoo/CompositeObjectSinkAdapterTest.java
  1. … 25 more files in changeset.
[DROOLS-2468] put stateful session under control of kbase coordinatio… (#1864)

[DROOLS-2468] put stateful session under control of kbase coordination for incremental update even when wrapped by a stateless session

(cherry picked from commit 4f52eec101ae9f5755bd2f1b7c376269973d0245)

    • -3
    • +8
    ./reteoo/CompositeObjectSinkAdapterTest.java
  1. … 25 more files in changeset.
[DROOLS-2449] fix merging of jbpm processes into KieBase generated from executable model + share nodes in different packages + fix generation of property rectivity mask in consequence

(cherry picked from commit 0e4ac1d91487dfdacb46a11d702299f6e7583c34)

  1. … 9 more files in changeset.
[DROOLS-2449] fix merging of jbpm processes into KieBase generated from executable model + share nodes in different packages + fix generation of property rectivity mask in consequence

  1. … 9 more files in changeset.
[DROOLS-2354] simplify NetworkNodes equality and index nodes in CompositeSink

  1. … 29 more files in changeset.
DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

(cherry picked from commit 4daacae3eac66718102411d8e1bf823c82604b8a)

    • -0
    • +42
    ./marshalling/common/MarshallerTest.java
  1. … 1 more file in changeset.
DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

(cherry picked from commit 4daacae3eac66718102411d8e1bf823c82604b8a)

    • -0
    • +42
    ./marshalling/common/MarshallerTest.java
  1. … 1 more file in changeset.
DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException (#1786)

* DROOLS-2346: ProtobufOutputMarshaller.orderFacts should use Integer.compare to avoid IllegalArgumentException

* DROOLS-2346: Test case

    • -0
    • +42
    ./marshalling/common/MarshallerTest.java
  1. … 1 more file in changeset.
Fix test failing on IBM JDK (#1647) (#1691)

(cherry picked from commit 48b6925)

  1. … 1 more file in changeset.