Package | Description |
---|---|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Method and Description |
---|---|
static NullPointerTester.Visibility |
NullPointerTester.Visibility.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NullPointerTester.Visibility[] |
NullPointerTester.Visibility.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
NullPointerTester.testConstructors(Class<?> c,
NullPointerTester.Visibility minimalVisibility)
Runs
NullPointerTester.testConstructor(java.lang.reflect.Constructor<?>) on every constructor in class c that
has at least minimalVisibility . |
void |
NullPointerTester.testInstanceMethods(Object instance,
NullPointerTester.Visibility minimalVisibility)
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method) on every instance method of the class of
instance with at least minimalVisibility , including those
inherited from superclasses of the same package. |
void |
NullPointerTester.testStaticMethods(Class<?> c,
NullPointerTester.Visibility minimalVisibility)
Runs
NullPointerTester.testMethod(java.lang.Object, java.lang.reflect.Method) on every static method of class c that has
at least minimalVisibility , including those "inherited" from
superclasses of the same package. |
Copyright © 2010-2017. All Rights Reserved.