This is an automated email from the ASF dual-hosted git repository.
garydgregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-collections.git
The following commit(s) were added to refs/heads/master by this push:
new 6a19a47e4 Enable missing tests and fix singleton predicate mock calls
6a19a47e4 is described below
commit 6a19a47e4e28ef4c85aefa8483e9e1968e347591
Author: Gary Gregory <[email protected]>
AuthorDate: Fri Oct 30 08:22:54 2026 -0400
Enable missing tests and fix singleton predicate mock calls
---
.../collections4/functors/AbstractAnyAllOnePredicateTest.java | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git
a/src/test/java/org/apache/commons/collections4/functors/AbstractAnyAllOnePredicateTest.java
b/src/test/java/org/apache/commons/collections4/functors/AbstractAnyAllOnePredicateTest.java
index ea674e9cb..c5e4c4205 100644
---
a/src/test/java/org/apache/commons/collections4/functors/AbstractAnyAllOnePredicateTest.java
+++
b/src/test/java/org/apache/commons/collections4/functors/AbstractAnyAllOnePredicateTest.java
@@ -69,9 +69,10 @@ public abstract class AbstractAnyAllOnePredicateTest<T>
extends AbstractComposit
* the same value as the single predicate does.
*/
@SuppressWarnings("boxing")
+ @Test
public final void singleValues() {
- assertTrue(getPredicateInstance(true).evaluate(null));
- assertFalse(getPredicateInstance(false).evaluate(null));
+ assertTrue(getPredicateInstance(true).test(getTestValue()));
+ assertFalse(getPredicateInstance(false).test(getTestValue()));
}
}