public void testGoodNulls() throws Exception { tester.testNulls(GoodNulls.class); }
public void testNulls_parameterOptionalNotInstantiable() throws Exception { tester.testNulls(ConstructorParameterWithOptionalNotInstantiable.class); }
public void testNoNullChecksOnInterface() throws Exception { tester.testNulls(Runnable.class); }
public void testStreamParameterSkippedForNullTesting() throws Exception { tester.testNulls(WithStreamParameter.class); }
public void testNulls_abstractClass() { tester.testNulls(AnAbstractClass.class); }
public void testNoNullChecksOnAnnotation() throws Exception { tester.testNulls(MyAnnotation.class); }
public void testNulls_interface() { tester.testNulls(AnInterface.class); }
public void testBadNulls() throws Exception { try { tester.testNulls(BadNulls.class); } catch (AssertionFailedError expected) { return; } fail("should have failed"); }
public void testEnumFailsToCheckNull() throws Exception { try { tester.testNulls(EnumFailsToCheckNull.class); } catch (AssertionFailedError expected) { return; } fail("should have failed"); }
public void testNulls() throws Exception { new ClassSanityTester() .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls")) .testNulls(FreshValueGenerator.class); }
public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter()) .testNulls(RelationshipTester.class); } }
public void testEnumFailsToCheckNull() throws Exception { try { tester.testNulls(EnumFailsToCheckNull.class); } catch (AssertionFailedError expected) { return; } fail("should have failed"); }
public void testBadNulls() throws Exception { try { tester.testNulls(BadNulls.class); } catch (AssertionFailedError expected) { return; } fail("should have failed"); }
public void testEnumFailsToCheckNull() throws Exception { try { tester.testNulls(EnumFailsToCheckNull.class); } catch (AssertionFailedError expected) { return; } fail("should have failed"); }
public void testNulls() throws Exception { new ClassSanityTester() .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls")) .testNulls(FreshValueGenerator.class); }
public void testNulls() throws Exception { new ClassSanityTester() .setDefault(Method.class, FreshValueGeneratorTest.class.getDeclaredMethod("testNulls")) .testNulls(FreshValueGenerator.class); }
public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter()) .testNulls(RelationshipTester.class); } }
public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, new ItemReporter()) .testNulls(RelationshipTester.class); } }