You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by eb...@apache.org on 2013/11/11 23:06:51 UTC
svn commit: r1540862 -
/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java
Author: ebourg
Date: Mon Nov 11 22:06:50 2013
New Revision: 1540862
URL: http://svn.apache.org/r1540862
Log:
Enabled a test for NullPredicate
Modified:
commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java
Modified: commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java
URL: http://svn.apache.org/viewvc/commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java?rev=1540862&r1=1540861&r2=1540862&view=diff
==============================================================================
--- commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java (original)
+++ commons/proper/collections/trunk/src/test/java/org/apache/commons/collections4/functors/NullPredicateTest.java Mon Nov 11 22:06:50 2013
@@ -29,6 +29,7 @@ public class NullPredicateTest extends A
assertTrue(nullPredicate(), null);
}
+ @Test
public void ensurePredicateCanBeTypedWithoutWarning() throws Exception {
final Predicate<String> predicate = NullPredicate.nullPredicate();
assertFalse(predicate, cString);