Package org.hamcrest

Interface Description

    • Field Summary

      Fields 
      Modifier and Type Field Description
      static Description NONE
      A description that consumes input but does nothing.
    • Field Detail

      • NONE

        static final Description NONE
        A description that consumes input but does nothing.
    • Method Detail

      • appendText

        Description appendText​(java.lang.String text)
        Appends some plain text to the description.
      • appendValue

        Description appendValue​(java.lang.Object value)
        Appends an arbitrary value to the description.
      • appendValueList

        <T> Description appendValueList​(java.lang.String start,
                                        java.lang.String separator,
                                        java.lang.String end,
                                        T... values)
        Appends a list of values to the description.
      • appendValueList

        <T> Description appendValueList​(java.lang.String start,
                                        java.lang.String separator,
                                        java.lang.String end,
                                        java.lang.Iterable<T> values)
        Appends a list of values to the description.
      • appendList

        Description appendList​(java.lang.String start,
                               java.lang.String separator,
                               java.lang.String end,
                               java.lang.Iterable<? extends SelfDescribing> values)
        Appends a list of SelfDescribing objects to the description.