Package | Description |
---|---|
com.google.common.testing |
This package contains testing utilities.
|
Modifier and Type | Field and Description |
---|---|
private ClassSanityTester |
ClassSanityTester.SerializableDummyProxy.tester |
private ClassSanityTester |
AbstractPackageSanityTests.tester |
Modifier and Type | Method and Description |
---|---|
<T> ClassSanityTester |
ClassSanityTester.setDefault(java.lang.Class<T> type,
T value)
Sets the default value for
type . |
<T> ClassSanityTester |
ClassSanityTester.setDistinctValues(java.lang.Class<T> type,
T value1,
T value2)
Sets distinct values for
type , so that when a class Foo is tested for Object.equals(java.lang.Object) and Object.hashCode() , and its construction requires a parameter of type , the distinct values of type can be passed as parameters to create Foo
instances that are unequal. |
Constructor and Description |
---|
SerializableDummyProxy(ClassSanityTester tester) |