CommentFactory

public interface CommentFactory<RT extends Result<? extends Object, ? extends Object, ? extends Object, ? extends Object>>(source)

A type representing a factory for creating result comments.

Author

Dustin Glaser

Parameters

<RT>

the type of supported results

Inheritors

Functions

Link copied to clipboard
public abstract String comment<RTS extends RT>(RTS result, Context context, PreCommentSupplier<? super RTS> preCommentSupplier)
Returns the comment for the given test result, context and pre-comment supplier.