A C E F G H J N O P S T
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- assertEqualsIsReflexive(Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the
equals
implementation of the given object is reflexive: 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. - assertEqualsIsSymmetric(Object, Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the
equals
implementation of the given objects is symmetric: if object of one class is equal to another class object, the other class object must be equal to this class object. - assertEqualsIsTransitive(Object, Object, Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the
equals
implementation of the given objects is transitive: 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. - assertIsNotEqualToNull(Object) - Static method in class org.fest.test.EqualsHashCodeContractAssert
-
Verifies that the
equals
implementation of the given object returnsfalse
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: if two objects are equal, then they must have the same hash code, however the opposite is NOT true.
C
- compare(Person, Person) - Method in class org.fest.test.PersonCaseInsensitiveNameComparator
- compareTo(Person) - Method in class org.fest.test.Person
E
- Employee - Class in org.fest.test
- Employee() - Constructor for class org.fest.test.Employee
- Employee(long, Name, int) - Constructor for class org.fest.test.Employee
- equals(Object) - Method in class org.fest.test.Person
- equals_should_be_consistent() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
-
If two objects are equal, they must remain equal as long as they are not modified.
- equals_should_be_reflexive() - 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.
- equals_should_be_symmetric() - 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.
- equals_should_be_transitive() - 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.
- EqualsHashCodeContractAssert - Class in org.fest.test
-
Assertion methods that verify that an object's
equals
andhashCode
are implemented correctly. - EqualsHashCodeContractTestCase - Interface in org.fest.test
-
Test case that provides the contract for verification that an object's
equals
andhashCode
are implemented correctly.
F
- failBecauseExpectedAssertionErrorWasNotThrown() - Static method in class org.fest.test.TestFailures
G
- getAge() - Method in class org.fest.test.Employee
- getAssistsPerGame() - Method in class org.fest.test.Player
- getFirst() - Method in class org.fest.test.Name
- getId() - Method in class org.fest.test.Employee
- getLast() - Method in class org.fest.test.Name
- getLightSaberColor() - Method in class org.fest.test.Jedi
- getName() - Method in class org.fest.test.Employee
- getName() - Method in class org.fest.test.Person
- getName() - Method in class org.fest.test.Player
- getPointsPerGame() - Method in class org.fest.test.Player
- getReboundsPerGame() - Method in class org.fest.test.Player
- getTeam() - Method in class org.fest.test.Player
H
- hashCode() - Method in class org.fest.test.Person
J
- Jedi - Class in org.fest.test
-
Object for test.
- Jedi(String, String) - Constructor for class org.fest.test.Jedi
N
- Name - Class in org.fest.test
- Name() - Constructor for class org.fest.test.Name
- Name(String) - Constructor for class org.fest.test.Name
- Name(String, String) - Constructor for class org.fest.test.Name
O
- org.fest.test - package org.fest.test
P
- parametersFrom(List<?>) - Static method in class org.fest.test.ParameterSource
- ParameterSource - Class in org.fest.test
-
Data provider for parameterized tests.
- Person - Class in org.fest.test
-
A person.
- Person(String) - Constructor for class org.fest.test.Person
- PersonCaseInsensitiveNameComparator - Class in org.fest.test
-
A
Person
comparator comparing name case insensitively. - PersonCaseInsensitiveNameComparator() - Constructor for class org.fest.test.PersonCaseInsensitiveNameComparator
- Player - Class in org.fest.test
- Player() - Constructor for class org.fest.test.Player
- Player(Name, String) - Constructor for class org.fest.test.Player
S
- setAge(int) - Method in class org.fest.test.Employee
- setAssistsPerGame(int) - Method in class org.fest.test.Player
- setFirst(String) - Method in class org.fest.test.Name
- setId(long) - Method in class org.fest.test.Employee
- setLast(String) - Method in class org.fest.test.Name
- setName(Name) - Method in class org.fest.test.Employee
- setName(Name) - Method in class org.fest.test.Player
- setPointsPerGame(int) - Method in class org.fest.test.Player
- setReboundsPerGame(int) - Method in class org.fest.test.Player
- setTeam(String) - Method in class org.fest.test.Player
- 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_of_different_type() - Method in interface org.fest.test.EqualsHashCodeContractTestCase
T
- TestFailures - Class in org.fest.test
- toString() - Method in class org.fest.test.Employee
- toString() - Method in class org.fest.test.Jedi
- toString() - Method in class org.fest.test.Name
- toString() - Method in class org.fest.test.Person
- toString() - Method in class org.fest.test.Player
All Classes All Packages