| Package | Description |
|---|---|
| com.google.common.testing |
This package contains testing utilities.
|
| Modifier and Type | Method and Description |
|---|---|
<T> ClassSanityTester |
ClassSanityTester.setDefault(Class<T> type,
T value)
Sets the default value for
type. |
<T> ClassSanityTester |
ClassSanityTester.setSampleInstances(Class<T> type,
Iterable<? extends T> instances)
Sets sample instances for
type for purpose of equals testing, where different
values are needed to test inequality. |
Copyright © 2010-2014. All Rights Reserved.