case class SmartDiffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, shortenSize: Int = 5, diffRatio: Int = 30, showFull: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000) extends Diffs with Product with Serializable
The SmartDiffs class holds all the required parameters to show differences between 2 values using the edit distance algorithm
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- SmartDiffs
- Serializable
- Product
- Equals
- Diffs
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new SmartDiffs(show: Boolean = true, separators: String = "[]", triggerSize: Int = 20, shortenSize: Int = 5, diffRatio: Int = 30, showFull: Boolean = false, seqTriggerSize: Int = 0, seqMaxSize: Int = 1000000)
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() @HotSpotIntrinsicCandidate()
- val diffRatio: Int
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val separators: String
- val seqMaxSize: Int
- val seqTriggerSize: Int
- val shortenSize: Int
- def show(actual: Any, expected: Any): Boolean
- returns
true if the differences must be shown
- Definition Classes
- SmartDiffs → Diffs
- val show: Boolean
- returns
true if the differences must be shown
- Definition Classes
- SmartDiffs → Diffs
- def showDiffs(actualValue: Any, expectedValue: Any): (String, String)
- returns
the diffs
- Definition Classes
- SmartDiffs → Diffs
- val showFull: Boolean
- returns
true if the full strings must also be shown
- Definition Classes
- SmartDiffs → Diffs
- def showMap(actual: Map[Any, Any], expected: Map[Any, Any]): Boolean
- returns
true if the differences must be shown for 2 different maps
- Definition Classes
- SmartDiffs → Diffs
- def showMapDiffs(actual: Map[Any, Any], expected: Map[Any, Any]): (Seq[String], Seq[String], Seq[String])
- returns
the diffs for maps
- Definition Classes
- SmartDiffs → Diffs
- def showSeq(actual: Seq[Any], expected: Seq[Any], ordered: Boolean): Boolean
- returns
true if the differences must be shown for 2 different sequences of values
- Definition Classes
- SmartDiffs → Diffs
- def showSeqDiffs(actual: Seq[Any], expected: Seq[Any], ordered: Boolean): (Seq[String], Seq[String])
- returns
the diffs for sequences
- Definition Classes
- SmartDiffs → Diffs
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val triggerSize: Int
- 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()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated