Condition.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Failures | |
| private static final Conditions |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public < the type of the actual value and the type of values that given T> voidCondition takes. | assertDoesNotHave(AssertionInfo
contains information about the assertion. info, T the actual value. actual, Condition<? super T> the given condition)Condition.Asserts that the actual value does not satisfy the given |
| public < the type of the actual value and the type of values that given T> voidCondition takes. | assertHas(AssertionInfo
contains information about the assertion. info, T the actual value. actual, Condition<? super T> the given condition)Condition.Asserts that the actual value satisfies the given |
| public < the type of the actual value and the type of values that given T> voidCondition takes. | assertIs(AssertionInfo
contains information about the assertion. info, T the actual value. actual, Condition<? super T> the given condition)Condition.Asserts that the actual value satisfies the given |
| public < the type of the actual value and the type of values that given T> voidCondition takes. | assertIsNot(AssertionInfo
contains information about the assertion. info, T the actual value. actual, Condition<? super T> the given condition)Condition.Asserts that the actual value does not satisfy the given |
| public void | |
| public void | assertIsNotNull(Condition<?>
the given condition, String format, Object... args)Condition.Asserts the given |
| public <T> void | |
| public static Conditions | Returns: the singleton instance of this class.Returns the singleton instance of this class. |
| failures | back to summary |
|---|---|
| pack-priv Failures failures
| |
| INSTANCE | back to summary |
|---|---|
| private static final Conditions INSTANCE | |
| Conditions | back to summary |
|---|---|
pack-priv Conditions()
| |
| assertDoesNotHave | back to summary |
|---|---|
| public <T> void assertDoesNotHave(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value does not satisfy the given
| |
| assertHas | back to summary |
|---|---|
| public <T> void assertHas(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value satisfies the given
| |
| assertIs | back to summary |
|---|---|
| public <T> void assertIs(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value satisfies the given
| |
| assertIsNot | back to summary |
|---|---|
| public <T> void assertIsNot(AssertionInfo info, T actual, Condition<? super T> condition) Asserts that the actual value does not satisfy the given
| |
| assertIsNotNull | back to summary |
|---|---|
| public void assertIsNotNull(Condition<?> condition) Asserts the given
| |
| assertIsNotNull | back to summary |
|---|---|
| public void assertIsNotNull(Condition<?> condition, String format, Object... args) Asserts the given
| |
| assertSatisfies | back to summary |
|---|---|
| public <T> void assertSatisfies(AssertionInfo info, T actual, Condition<? super T> condition) | |
| instance | back to summary |
|---|---|
| public static Conditions instance() Returns the singleton instance of this class.
| |