Index
All Classes and Interfaces|All Packages
A
- assertEqualsIsReflexive(Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the "equals" implementation of the given object is reflexive.
- assertEqualsIsSymmetric(Object, Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the "equals" implementation of the given objects is symmetric.
- assertEqualsIsTransitive(Object, Object, Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the "equals" implementation of the given objects is transitive.
- assertIsNotEqualToNull(Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the "equals" implementation of the given object returns
false
when the object is compared tonull
. - assertMaintainsEqualsAndHashCodeContract(Object, Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the "equals/hashCode" contract of the given objects is implemented correctly.
C
- CodeToTest - Interface in org.fest.test
-
Understands code to be tested.
E
- EqualsHashCodeContractAssert - Class in org.fest.test
-
Understands assert methods for
.EqualsHashCodeContractTestCase
- EqualsHashCodeContractAssert() - Constructor for class org.fest.test.EqualsHashCodeContractAssert
- EqualsHashCodeContractTestCase - Interface in org.fest.test
-
Understands verification of the equals/hashCode contract.
- errorType - Variable in class org.fest.test.ExpectedFailure
- errorType - Variable in class org.fest.test.ExpectedFailure.Message
- errorTypeName() - Method in class org.fest.test.ExpectedFailure.Message
- expect(Class<? extends Throwable>) - Static method in class org.fest.test.ExpectedFailure
-
Specifies the expected failure message type.
- expectAssertionError(String) - Static method in class org.fest.test.ExpectedFailure
-
Specifies the expected message of an expected
.AssertionError
- ExpectedFailure - Class in org.fest.test
-
Understands executing test code that is expected to fail.
- ExpectedFailure(Class<? extends Throwable>) - Constructor for class org.fest.test.ExpectedFailure
- ExpectedFailure.Message - Class in org.fest.test
-
Understands executing test code that is expected to fail.
F
- fail(String) - Method in class org.fest.test.ExpectedFailure.Message
M
- message - Variable in class org.fest.test.ExpectedFailure.Message
- Message(Class<? extends Throwable>, String) - Constructor for class org.fest.test.ExpectedFailure.Message
O
- on(CodeToTest) - Method in class org.fest.test.ExpectedFailure.Message
-
Executes the given code to test.
- org.fest.test - package org.fest.test
R
- run() - Method in interface org.fest.test.CodeToTest
-
Executes the code to test.
S
- should_have_consistent_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If two objects are equal, they must remain equal as long as they are not modified.
- should_have_reflexive_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
The object must be equal to itself, which it would be at any given instance; unless you intentionally override the equals method to behave otherwise.
- should_have_symmetric_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If object of one class is equal to another class object, the other class object must be equal to this class object.
- should_have_transitive_equals() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If the first object is equal to the second object and the second object is equal to the third object; then the first object is equal to the third object.
- should_maintain_equals_and_hashCode_contract() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If two objects are equal, then they must have the same hash code, however the opposite is NOT true.
- should_not_be_equal_to_null() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
Verifies that the implementation of the method
equals
returnsfalse
if anull
is passed as argument. - should_not_be_equal_to_Object_not_being_of_same_type() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
W
- withMessage(String) - Method in class org.fest.test.ExpectedFailure
-
Specifies the expected failure message.
All Classes and Interfaces|All Packages