SmartDiffs

case class SmartDiffs(show: Boolean, separators: String, triggerSize: Int, shortenSize: Int, diffRatio: Int, showFull: Boolean, seqTriggerSize: Int, seqMaxSize: Int) extends Diffs

The SmartDiffs class holds all the required parameters to show differences between 2 values using the edit distance algorithm

Companion:
object
trait Serializable
trait Product
trait Equals
trait Diffs
class Object
trait Matchable
class Any

Value members

Concrete methods

def show(actual: Any, expected: Any): Boolean
def showDiffs(actualValue: Any, expectedValue: Any): (String, String)
def showMap(actual: Map[Any, Any], expected: Map[Any, Any]): Boolean
def showMapDiffs(actual: Map[Any, Any], expected: Map[Any, Any]): (Seq[String], Seq[String], Seq[String])
Returns:

the diffs for maps

def showSeq(actual: Seq[Any], expected: Seq[Any], ordered: Boolean): Boolean
def showSeqDiffs(actual: Seq[Any], expected: Seq[Any], ordered: Boolean): (Seq[String], Seq[String])
Returns:

the diffs for sequences

Inherited methods

def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product