Uses of Class
com.google.common.testing.ClassSanityTester.ParameterNotInstantiableException
-
Packages that use ClassSanityTester.ParameterNotInstantiableException Package Description com.google.common.testing This package contains testing utilities. -
-
Uses of ClassSanityTester.ParameterNotInstantiableException in com.google.common.testing
Methods in com.google.common.testing that throw ClassSanityTester.ParameterNotInstantiableException Modifier and Type Method Description (package private) void
ClassSanityTester. doTestEquals(java.lang.Class<?> cls)
(package private) void
ClassSanityTester. doTestNulls(java.lang.Class<?> cls, NullPointerTester.Visibility visibility)
private static java.lang.Object
ClassSanityTester. generateDummyArg(Parameter param, FreshValueGenerator generator)
private java.util.List<java.lang.Object>
ClassSanityTester. generateEqualFactoryArguments(Invokable<?,?> factory, java.util.List<Parameter> params, java.util.List<java.lang.Object> args)
Returns dummy factory arguments that are equal toargs
but may be different instances, to be used to construct a second instance of the same equality group.private java.util.List<java.lang.Object>
ClassSanityTester. getDummyArguments(Invokable<?,?> invokable)
private <T> T
ClassSanityTester. instantiate(Invokable<?,? extends T> factory)
Instantiates usingfactory
.(package private) <T> T
ClassSanityTester. instantiate(java.lang.Class<T> cls)
Instantiatescls
by invoking one of its non-private constructors or non-private static factory methods with the parameters automatically provided using dummy values.private void
ClassSanityTester. testEqualsUsing(Invokable<?,?> factory)
-