OCHamcrest
Public Member Functions
<HCDescription> Protocol Reference

A description of an HCMatcher. More...

Inheritance diagram for <HCDescription>:
Inheritance graph
[legend]

List of all members.

Public Member Functions

(id< HCDescription >) - appendText:
 Appends some plain text to the description.
(id< HCDescription >) - appendDescriptionOf:
 Appends description of given value to self.
(id< HCDescription >) - appendList:start:separator:end:
 Appends a list of objects to the description.

Detailed Description

A description of an HCMatcher.

An HCMatcher will describe itself to a description which can later be used for reporting.


Member Function Documentation

- (id<HCDescription>) appendDescriptionOf: (id)  value

Appends description of given value to self.

If the value implements the HCSelfDescribing protocol, then it will be used.

Returns:
self, for chaining.
- (id<HCDescription>) appendList: (NSArray *)  values
start: (NSString *)  start
separator: (NSString *)  separator
end: (NSString *)  end 

Appends a list of objects to the description.

Returns:
self, for chaining.
- (id<HCDescription>) appendText: (NSString *)  text

Appends some plain text to the description.

Returns:
self, for chaining.