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
- Protected
Type Members
- implicit class Prettyizer extends AnyRef
Implicit class that adds a
prettymethod to any object.Implicit class that adds a
prettymethod to any object.The constructor of this class, besides taking an object
oto prettify, also takes an implicitPrettifierConfigthat theprettymethod will use to prettify the object.
Deprecated Type Members
- 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
PrettifierConfigcan be made implicit instead ofPrettifer. BecausePrettifieris 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- 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
PrettifierConfigthat contains aPrettifier.default.An implicit
PrettifierConfigthat contains aPrettifier.default.Subclasses can override this method with a different implicit method to have
prettyuse 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(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()