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 classFoois tested forObject.equals(java.lang.Object)andObject.hashCode(), and its construction requires a parameter oftype, the distinct values oftypecan be passed as parameters to createFooinstances that are unequal.