toggle menu
Algoutils
0.9.1-SNAPSHOT
jvm
switch theme
search in API
algoutils-tutor
/
org.tudalgo.algoutils.tutor.general.assertions.basic
/
BasicCommentFactory
Basic
Comment
Factory
public
final
class
BasicCommentFactory
implements
CommentFactory
<
RT
>
(
source
)
A basic implementation of a comment factory.
Author
Dustin Glaser
Members
Constructors
Basic
Comment
Factory
Link copied to clipboard
public
void
BasicCommentFactory
(
Environment
environment
)
Constructs a new comment factory with the given environment.
Functions
comment
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.
set
Number
Of
Trace
Lines
Link copied to clipboard
public
static
void
setNumberOfTraceLines
(
int lines
)