BasicCommentFactory

public final class BasicCommentFactory implements CommentFactory<RT>(source)

A basic implementation of a comment factory.

Author

Dustin Glaser

Constructors

Link copied to clipboard
public void BasicCommentFactory(Environment environment)
Constructs a new comment factory with the given environment.

Functions

Link copied to clipboard
public String comment<TS extends Result<? extends Object, ? extends Object, ? extends Object, ? extends Object>>(TS result, Context context, PreCommentSupplier<? super TS> commentSupplier)
Returns the comment for the given test result, context and pre-comment supplier.
Link copied to clipboard
public static void setNumberOfTraceLines(int lines)