Deprecated API


Contents
Deprecated Classes
org.truth0.FailureStrategy
          use FailureStrategy. 
org.truth0.subjects.Subject
          use Subject. 
org.truth0.subjects.SubjectFactory
          use SubjectFactory. 
org.truth0.TestVerb
          use TestVerb. 
org.truth0.Truth
          please use Truth.assert_() and TruthJUnit.assume() to access these capabilities. 
 

Deprecated Fields
org.truth0.Truth.THROW_ASSERTION_ERROR
           
org.truth0.Truth.THROW_ASSUMPTION_ERROR
           
 

Deprecated Methods
com.google.common.truth.Subject.equals(Object)
          This method is not a proposition, but the default Object equality method. Testing code should use "is" or "isEqualTo" propositions for equality tests. 
com.google.common.truth.Subject.hashCode()
          Equals/Hashcode is not supported on Subjects. Their only use is as a holder of propositions. Use of equals() is deprecated and forwards to isEqualTo() and hashCode() is disallowed. 
com.google.common.truth.PrimitiveFloatArraySubject.isEqualTo(Object)
          use #isEqualTo(Object, double) 
com.google.common.truth.PrimitiveDoubleArraySubject.isEqualTo(Object)
          use PrimitiveDoubleArraySubject.isEqualTo(Object, double) 
com.google.common.truth.PrimitiveFloatArraySubject.isNotEqualTo(Object)
          use #isNotEqualTo(Object, double) 
com.google.common.truth.PrimitiveDoubleArraySubject.isNotEqualTo(Object)
          use PrimitiveDoubleArraySubject.isNotEqualTo(Object, double) 
com.google.common.truth.IterableSubject.iteratesOverSequence(Object...)
          use #iteratesAs(T...) 
 



Copyright © 2014. All rights reserved.