trait DeprecatedPrettyMethods extends AnyRef
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 implicit PrettifierConfig
to
an implicit Prettifier
.
Provides an implicit conversion that enables pretty
to be invoked on any
object, to transform that object into a String
representation.
- Annotations
- @deprecated
- Deprecated
Please use PrettyMethods instead.
- Source
- DeprecatedPrettyMethods.scala
- Alphabetic
- By Inheritance
- DeprecatedPrettyMethods
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
implicit
class
Prettyizer extends AnyRef
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 implicitPrettifierConfig
that thepretty
method will use to prettify the object. -
case class
PrettifierConfig(prettifier: Prettifier) extends Product with Serializable
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 ofPrettifer
. BecausePrettifier
is aAny => String
, making it implicit could result in unintentional applications.- prettifier
the configured
Prettifier
- Annotations
- @deprecated
- Deprecated
Please use Prettifer and PrettyMethods instead.
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
implicit
val
prettifierConfig: PrettifierConfig
An implicit
PrettifierConfig
that contains aPrettifier.default
.An implicit
PrettifierConfig
that contains aPrettifier.default
.Subclasses can override this method with a different implicit method to have
pretty
use a differentPrettifier
. -
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )