Package org.hamcrest
Class Description.NullDescription
java.lang.Object
org.hamcrest.Description.NullDescription
- All Implemented Interfaces:
Description
- Enclosing interface:
- Description
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hamcrest.Description
Description.NullDescription
-
Field Summary
Fields inherited from interface org.hamcrest.Description
NONE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAppends the description of aSelfDescribing
value to this description.appendList
(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Appends a list ofSelfDescribing
objects to the description.appendText
(String text) Appends some plain text to the description.appendValue
(Object value) Appends an arbitrary value to the description.<T> Description
appendValueList
(String start, String separator, String end, Iterable<T> values) Appends a list of values to the description.<T> Description
appendValueList
(String start, String separator, String end, T... values) Appends a list of values to the description.toString()
-
Constructor Details
-
NullDescription
public NullDescription()
-
-
Method Details
-
appendDescriptionOf
Description copied from interface:Description
Appends the description of aSelfDescribing
value to this description.- Specified by:
appendDescriptionOf
in interfaceDescription
-
appendList
public Description appendList(String start, String separator, String end, Iterable<? extends SelfDescribing> values) Description copied from interface:Description
Appends a list ofSelfDescribing
objects to the description.- Specified by:
appendList
in interfaceDescription
-
appendText
Description copied from interface:Description
Appends some plain text to the description.- Specified by:
appendText
in interfaceDescription
-
appendValue
Description copied from interface:Description
Appends an arbitrary value to the description.- Specified by:
appendValue
in interfaceDescription
-
appendValueList
Description copied from interface:Description
Appends a list of values to the description.- Specified by:
appendValueList
in interfaceDescription
-
appendValueList
public <T> Description appendValueList(String start, String separator, String end, Iterable<T> values) Description copied from interface:Description
Appends a list of values to the description.- Specified by:
appendValueList
in interfaceDescription
-
toString
-