Class AbstractCharSequenceAssert<T extends java.lang.CharSequence,​U extends GenericCharSequenceAssert<T,​U>>

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      U contains​(java.lang.CharSequence... values)
      Verifies that the CharSequence contains the values.
      U containsIgnoringCase​(java.lang.CharSequence value)
      Verifies that the CharSequence contains the value, ignoring case considerations.
      U containsOnlyOnce​(java.lang.CharSequence value)
      Verifies that the CharSequence contains the value, only once.
      U containsPattern​(java.lang.CharSequence regex)
      Verifies that the CharSequence contains the regular expression.
      U containsSequence​(java.lang.CharSequence... values)
      Verifies that the CharSequence contains the values, in the given order without any other values between them.
      U containsSubsequence​(java.lang.CharSequence... values)
      Verifies that the CharSequence contains the values, in the given order, possibly with other values between them.
      U doesNotContain​(java.lang.CharSequence... values)
      Verifies that the CharSequence does not contain the values.
      U doesNotContainPattern​(java.lang.CharSequence regex)
      Verifies that the CharSequence does not contain the regular expression.
      U doesNotEndWith​(java.lang.CharSequence value)
      Verifies that the CharSequence does not end with the value.
      U doesNotMatch​(java.lang.CharSequence regex)
      Verifies that the CharSequence does not verify the regular expression.
      U doesNotStartWith​(java.lang.CharSequence value)
      Verifies that the CharSequence does not start with the value.
      U endsWith​(java.lang.CharSequence value)
      Verifies that the CharSequence ends with the value.
      U hasSameSizeAs​(java.lang.CharSequence value)
      Verifies that the CharSequence has the same size as the value.
      U hasSameSizeAs​(java.lang.Iterable<?> other)
      Verifies that the enumerable has the same size as the other.
      U hasSameSizeAs​(java.lang.Object array)
      Verifies that the enumerable has the same size as the array.
      U hasSize​(int expected)
      Verifies that the enumerable has the expected size.
      U isEmpty()
      Verifies that the enumerable is empty.
      U isEqualToIgnoringCase​(java.lang.CharSequence value)
      Verifies that the CharSequence is equal to the value, ignoring case.
      U isEqualToIgnoringNewLines​(java.lang.CharSequence value)
      Verifies that the CharSequence is equal to the value, ignoring new lines.
      U isEqualToIgnoringWhitespace​(java.lang.CharSequence value)
      Verifies that the CharSequence is equal to the value, ignoring whitespace.
      U isEqualToNormalizingNewlines​(java.lang.CharSequence value)
      Verifies that the CharSequence is equal to the value, normalizing new lines.
      U isEqualToNormalizingWhitespace​(java.lang.CharSequence value)
      Verifies that the CharSequence is equal to the value, normalizing whitespace.
      U isNotEmpty()
      Verifies that the enumerable is not empty.
      U isNotEqualToIgnoringCase​(java.lang.CharSequence value)
      Verifies that the CharSequence is not equal to the value, ignoring case.
      U isNotEqualToIgnoringWhitespace​(java.lang.CharSequence value)
      Verifies that the CharSequence is not equal to the value, ignoring whitespace.
      U isNotEqualToNormalizingWhitespace​(java.lang.CharSequence value)
      Verifies that the CharSequence is not equal to the value, normalizing whitespace.
      U isNullOrEmpty()
      Verifies that the enumerable is null or empty.
      U isSubstringOf​(java.lang.CharSequence value)
      Verifies that the CharSequence is a substring of the value.
      U isXmlEqualTo​(java.lang.CharSequence xml)
      Verifies that the CharSequence is equal to the given XML after both have been formatted the same way.
      U matches​(java.lang.CharSequence regex)
      Verifies that the CharSequence matches the regular expression.
      U startsWith​(java.lang.CharSequence value)
      Verifies that the CharSequence starts with the value.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait