use of com.google.common.testing.NullPointerTester in project guava by google.
the class EnumsTest method testNullPointerExceptions.
// NullPointerTester
@GwtIncompatible
public void testNullPointerExceptions() {
NullPointerTester tester = new NullPointerTester();
tester.testAllPublicStaticMethods(Enums.class);
}
use of com.google.common.testing.NullPointerTester in project guava by google.
the class PredicatesTest method testNullPointerExceptions.
// NullPointerTester
@GwtIncompatible
public void testNullPointerExceptions() {
NullPointerTester tester = new NullPointerTester();
tester.testAllPublicStaticMethods(Predicates.class);
}
use of com.google.common.testing.NullPointerTester in project guava by google.
the class PredicatesTest method testContains_nulls.
// NullPointerTester
@GwtIncompatible
public void testContains_nulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
Predicate<CharSequence> isWooPattern = Predicates.contains(Pattern.compile("Woo"));
tester.testAllPublicInstanceMethods(isWooPattern);
}
use of com.google.common.testing.NullPointerTester in project guava by google.
the class PredicatesTest method testContainsPattern_nulls.
// NullPointerTester
@GwtIncompatible
public void testContainsPattern_nulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
Predicate<CharSequence> isWooString = Predicates.containsPattern("Woo");
tester.testAllPublicInstanceMethods(isWooString);
}
use of com.google.common.testing.NullPointerTester in project guava by google.
the class FunctionsTest method testNullPointerExceptions.
// NullPointerTester
@GwtIncompatible
public void testNullPointerExceptions() {
NullPointerTester tester = new NullPointerTester();
tester.testAllPublicStaticMethods(Functions.class);
}
Aggregations