| Package | Description | 
|---|---|
| com.google.common.truth | 
 Truth is an open source, fluent testing framework for Java that is designed to make your test
 assertions and failure messages more readable. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
Expect  | 
| Modifier and Type | Method and Description | 
|---|---|
static TestVerb | 
Truth.assert_()  | 
static TestVerb | 
Truth.assertWithMessage(String messageToPrepend)
Returns a  
TestVerb that will prepend the given message to the failure message in the
 event of a test failure. | 
static TestVerb | 
Truth.assertWithMessage(String format,
                 Object... args)
Returns a  
TestVerb that will prepend the formatted message using the specified
 arguments to the failure message in the event of a test failure. | 
static TestVerb | 
TruthJUnit.assume()  | 
protected TestVerb | 
Subject.check()
A convenience for implementers of  
Subject subclasses to use other truth Subject
 wrappers within their own propositional logic. | 
protected TestVerb | 
Subject.ignoreCheck()
A convenience for implementers of  
Subject subclasses that use other truth Subject wrappers within their own propositional logic and sometimes need to
 short-circuit those subjects because the assertion chain has already failed. | 
TestVerb | 
ExpectFailure.whenTesting()
Returns a test verb that expects the chained assertion to fail, and makes the failure available
 via  
ExpectFailure.getFailure(). | 
TestVerb | 
TestVerb.withFailureMessage(String failureMessage)
Deprecated. 
 
Use  
withMessage, the new name of this method. | 
TestVerb | 
TestVerb.withFailureMessage(String format,
                  Object... args)
Deprecated. 
 
Use  
withMessage, the new name of this method. | 
TestVerb | 
TestVerb.withMessage(String messageToPrepend)  | 
TestVerb | 
TestVerb.withMessage(String format,
           Object... args)
Returns a  
TestVerb that will prepend the formatted message using the specified
 arguments to the failure message in the event of a test failure. | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ExpectFailure.AssertionCallback.invokeAssertion(TestVerb expect)  | 
Copyright © 2017. All rights reserved.