CharSequences.
| Modifier and Type | Field and Description |
|---|---|
| pack-priv Strings |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| private void | |
| public SELF | Returns: this assertion object.the values to look for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the values to look for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the values to look for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the sequence to search for. sequence)Verifies that the actual |
| public SELF | Returns: this assertion object.the values to look for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the values to look for. values)Verifies that the actual |
| private static boolean | |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the sequence to search for. sequence)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| private static boolean | |
| public SELF | Returns: this assertion object.the regular expression to find in the actual regex)CharSequence.Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to find in the actual pattern)CharSequence.Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to find in the actual regex, Consumer<Matcher> CharSequence.a consumer for further verifying the Matcher. matchSatisfies)Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to find in the actual pattern, Consumer<Matcher> CharSequence.a consumer for further verifying the Matcher. matchSatisfies)Verifies that the actual |
| public SELF | Returns: this assertion object.the sequence of charSequence to look for, in order. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the sequence of charSequence to look for, in order. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the Strings to look for, in order. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the Strings to look for, in order. values)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| private static boolean | |
| public SELF | Returns: this assertion object.the CharSequences to search for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.the CharSequences to search for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the CharSequences to search for. values)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual
|
| public SELF | Returns: this assertion object.the regular expression to find in the actual pattern)CharSequence.Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to find in the actual pattern)CharSequence.Verifies that the actual |
| public SELF | Returns: this assertion object.the given suffix. suffix)Verifies that the actual |
| public SELF | Returns: this assertion object.the given suffix. suffix)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to which the actual regex)CharSequence is to be matched.Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to which the actual pattern)CharSequence is to be matched.Verifies that the actual |
| public SELF | Returns: this assertion object.the given prefix. prefix)Verifies that the actual |
| public SELF | Returns: this assertion object.the given prefix. prefix)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the given suffix. suffix)Verifies that the actual |
| public SELF | Returns: this assertion object.the given suffix. suffix)Verifies that the actual |
| public SELF | Returns: this assertion object.the expected line count of the actual expectedLineCount)CharSequence.Verifies that the actual |
| public SELF | Returns: this assertion object.the given other)CharSequence to be used for size comparison.Verifies that the actual |
| public SELF | Returns: this assertion object.the given array to be used for size comparison. other)Implements org. CharSequence has a length that's the same as the number of elements in the given
array.
|
| public SELF | Returns: this assertion object.the given other)Iterable to be used for size comparison.Implements org. CharSequence has a length that's the same as the number of elements in the given
Iterable.
|
| public SELF | Returns: this assertion object.the expected length of the actual expected)CharSequence.Implements org. CharSequence has the expected length using the length() method.
|
| public SELF | Returns: this assertion object.the lower boundary compared to which actual length should be greater than or equal to. lowerBoundary, int the higher boundary compared to which actual length should be less than or equal to. higherBoundary)Implements org. CharSequence has length between the given boundaries (inclusive)
using the length() method.
|
| public SELF | Returns: this assertion object.the expected minimum length of the actual expected)CharSequence.Implements org. CharSequence has a length greater than the given value using the length() method.
|
| public SELF | Returns: this assertion object.the expected minimum length of the actual expected)CharSequence.Implements org. CharSequence has a length greater than or equal to the given value using the length() method.
|
| public SELF | Returns: this assertion object.the expected maximum length of the actual expected)CharSequence.Implements org. CharSequence has has a length less than the given value using the length() method.
|
| public SELF | Returns: this assertion object.the expected maximum length of the actual expected)CharSequence.Implements org. CharSequence has a length less than or equal to the given value using the length() method.
|
| public SELF | inHexadecimal()
Overrides org. |
| private SELF | |
| private SELF | |
| public SELF | Returns: this assertion object.Use unicode character representation instead of standard representation in error messages. |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| private static boolean | |
| public void | isEmpty()
Implements org. CharSequence is empty, i.e., it has a length of 0 and is not null.
|
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual Examples :
|
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.
Deprecated
Use
Verifies that the actual isBlank() instead.
CharSequence is blank, i.e. consists of one or more whitespace characters
(according to Character#isWhitespace(char)).
|
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual
|
| public SELF | Returns: this assertion object.Implements org. CharSequence is not empty, i.e., is not null and has a length of 1 or
more.
|
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.the given expected)CharSequence to compare the actual CharSequence to.Verifies that the actual |
| public SELF | Returns: this assertion object.
Deprecated
Use
Verifies that the actual isNotBlank() instead.
CharSequence is not blank, i.e. either is null, empty or
contains at least one non-whitespace character (according to Character#isWhitespace(char)).
|
| public void | isNullOrEmpty()
Implements org. CharSequence is empty, i.e., it has a length of 0, or is null.
|
| private static boolean | |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.the sequence that is expected to contain actual. sequence)Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object.Verifies that the actual |
| public SELF | Returns: this assertion object to chain other assertions.the XML expectedXml)CharSequence to which the actual CharSequence is to be compared to.
Deprecated
This assertion has some limitations, for example it does not handle tab vs space and would fail if elements are the same but
in a different order.
|
| public SELF | Returns: this assertion object to chain other assertions.the file to read the expected XML String to compare with actual xmlFile)CharSequence
Deprecated
Verifies that the actual CharSequence is equal to the content of the given file.
|
| public SELF | Returns: this assertion object.the regular expression to which the actual regex)CharSequence is to be matched.Verifies that the actual |
| public SELF | |
| public SELF | Returns: this assertion object.the regular expression to which the actual regex, Consumer<Matcher> CharSequence is to be matched.a consumer of the found match to do further verification matchSatisfies)Verifies that the actual |
| public SELF | Returns: this assertion object.the regular expression to which the actual pattern, Consumer<Matcher> CharSequence is to be matched.a consumer of the found match to do further verification matchSatisfies)Verifies that the actual |
| public SELF | Returns: this assertion object.the given prefix. prefix)Verifies that the actual |
| public SELF | Returns: this assertion object.the given prefix. prefix)Verifies that the actual |
| private static boolean | |
| public SELF | usingComparator(Comparator<? super ACTUAL>
the comparator to use for the incoming assertion checks. customComparator)Overrides org. Implements org. |
| public SELF | usingComparator(Comparator<? super ACTUAL>
the comparator to use for the incoming assertion checks. customComparator, String comparator description to be used in assertion error messages customComparatorDescription)Overrides org. Implements org. |
| public SELF | usingDefaultComparator()
Overrides org. Implements org. |
| public final SELF | usingDefaultElementComparator()
Implements org.
Deprecated
Custom element Comparator is not supported for CharSequence comparison.
Do not use this method.
|
| public final SELF | usingElementComparator(Comparator<? super Character>
the comparator to use for incoming assertion checks. customComparator)Implements org.
Deprecated
Custom element Comparator is not supported for CharSequence comparison.
Do not use this method.
|