Implicit class that adds a pretty
method to any object.
Implicit class that adds a pretty
method to any object.
The constructor of this class, besides taking an object o
to prettify,
also takes an implicit PrettifierConfig
that the pretty
method will use to prettify the
object.
This class is deprecated and will be removed in a future version of ScalaTest. Please use an implicit Prettifier and PrettyMethods instead.
This class is deprecated and will be removed in a future version of ScalaTest. Please use an implicit Prettifier and PrettyMethods instead.
Wraps a Prettifier
.
This class exists so that instances of PrettifierConfig
can be made implicit instead
of Prettifer
. Because Prettifier
is a Any => String
,
making it implicit could result in unintentional applications.
the configured Prettifier
Please use Prettifer and PrettyMethods instead.
An implicit PrettifierConfig
that contains a Prettifier.default
.
An implicit PrettifierConfig
that contains a Prettifier.default
.
Subclasses can override this method with a different implicit method to have pretty
use a different Prettifier
.
This trait is the 2.2.6 PrettyMethods trait renamed to DeprecatedPrettyMethods. It is a quick way to get old code working again that defined an implicit
PrettifierConfig
, but before the deprecation cycle is over please change the implicitPrettifierConfig
to an implicitPrettifier
. Provides an implicit conversion that enablespretty
to be invoked on any object, to transform that object into aString
representation.Please use PrettyMethods instead.