Class CommonAsserts

  • Direct Known Subclasses:
    AgentAsserts, ServerAsserts

    public class CommonAsserts
    extends org.assertj.core.api.BDDAssertions
    Contains extensions to common AssertJ asserts. Different names are used to avoid conflicts with BDDAssertions#then.
    • Constructor Summary

      Constructors 
      Constructor Description
      CommonAsserts()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static TCFileAssert tcThen​(File file)
      Extension for BDDAssertions.then(java.io.File)
      static <T> TCIterableAssert<T> tcThen​(Iterable<T> iterable)
      Extension for BDDAssertions.then(Iterable)
      static <K,​V>
      TCMapAssert<K,​V>
      tcThen​(Map<K,​V> map)
      Extension for BDDAssertions.then(java.util.Map)
      static XmlElementAssert then​(org.jdom.Element element)  
      • Methods inherited from class org.assertj.core.api.BDDAssertions

        then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then
      • Methods inherited from class org.assertj.core.api.Assertions

        allOf, allOf, anyOf, anyOf, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, atIndex, contentOf, contentOf, contentOf, doesNotHave, entry, extractProperty, extractProperty, fail, fail, failBecauseExceptionWasNotThrown, filter, filter, linesOf, linesOf, linesOf, not, offset, offset, registerCustomDateFormat, registerCustomDateFormat, setAllowExtractingPrivateFields, setRemoveAssertJRelatedElementsFromStackTrace, tuple, useDateFormat, useDateFormat, useDefaultDateFormats, useDefaultDateFormatsOnly, useIsoDateFormat, useIsoDateTimeFormat, useIsoDateTimeWithMsFormat, within, within, within
    • Constructor Detail

      • CommonAsserts

        public CommonAsserts()
    • Method Detail

      • tcThen

        public static TCFileAssert tcThen​(File file)
        Extension for BDDAssertions.then(java.io.File)
      • tcThen

        public static <K,​V> TCMapAssert<K,​V> tcThen​(Map<K,​V> map)
        Extension for BDDAssertions.then(java.util.Map)
      • tcThen

        public static <T> TCIterableAssert<T> tcThen​(Iterable<T> iterable)
        Extension for BDDAssertions.then(Iterable)