use of com.google.common.testing.NullPointerTester in project guava by hceylan.
the class BooleansTest method testNulls.
@GwtIncompatible("NullPointerTester")
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(boolean[].class, new boolean[0]);
tester.testAllPublicStaticMethods(Booleans.class);
}
use of com.google.common.testing.NullPointerTester in project guava by hceylan.
the class BytesTest method testNulls.
@GwtIncompatible("NullPointerTester")
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(byte[].class, new byte[0]);
tester.testAllPublicStaticMethods(Bytes.class);
}
use of com.google.common.testing.NullPointerTester in project guava by hceylan.
the class CharsTest method testNulls.
@GwtIncompatible("NullPointerTester")
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(char[].class, new char[0]);
tester.testAllPublicStaticMethods(Chars.class);
}
use of com.google.common.testing.NullPointerTester in project guava by hceylan.
the class FloatsTest method testNulls.
@GwtIncompatible("NullPointerTester")
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(float[].class, new float[0]);
tester.testAllPublicStaticMethods(Floats.class);
}
use of com.google.common.testing.NullPointerTester in project guava by hceylan.
the class UnsignedLongTest method testNulls.
@GwtIncompatible("NullPointerTester")
public void testNulls() throws Exception {
NullPointerTester tester = new NullPointerTester();
tester.setDefault(UnsignedLong.class, UnsignedLong.ONE);
tester.testAllPublicStaticMethods(UnsignedLong.class);
}
Aggregations