Uses of Class
com.google.common.testing.ClassSanityTester
Packages that use ClassSanityTester
-
Uses of ClassSanityTester in com.google.common.testing
Methods in com.google.common.testing that return ClassSanityTesterModifier and TypeMethodDescriptionClassSanityTester.setDefault
(Class<T> type, T value) Sets the default value fortype
.ClassSanityTester.setDistinctValues
(Class<T> type, T value1, T value2) Sets distinct values fortype
, so that when a classFoo
is tested forObject.equals(java.lang.Object)
andObject.hashCode()
, and its construction requires a parameter oftype
, the distinct values oftype
can be passed as parameters to createFoo
instances that are unequal.