Uses of Class
com.google.common.testing.ClassSanityTester.FactoryMethodReturnsNullException
Packages that use ClassSanityTester.FactoryMethodReturnsNullException
-
Uses of ClassSanityTester.FactoryMethodReturnsNullException in com.google.common.testing
Methods in com.google.common.testing that throw ClassSanityTester.FactoryMethodReturnsNullExceptionModifier and TypeMethodDescriptionprivate static <T> TClassSanityTester.createInstance(Invokable<?, ? extends T> factory, List<?> args) (package private) voidClassSanityTester.doTestEquals(Class<?> cls) (package private) voidClassSanityTester.doTestNulls(Class<?> cls, NullPointerTester.Visibility visibility) ClassSanityTester.generateEqualFactoryArguments(Invokable<?, ?> factory, List<Parameter> params, List<Object> args) Returns dummy factory arguments that are equal toargsbut may be different instances, to be used to construct a second instance of the same equality group.private static booleanClassSanityTester.hashCodeInsensitiveToArgReference(Invokable<?, ?> factory, List<Object> args, int i, Object alternateArg) (package private) <T> TClassSanityTester.instantiate(Class<T> cls) Instantiatesclsby invoking one of its non-private constructors or non-private static factory methods with the parameters automatically provided using dummy values.private voidClassSanityTester.testEqualsUsing(Invokable<?, ?> factory)