TestArrayDiff

diffson.jsonpatch.TestArrayDiff
abstract class TestArrayDiff[Json](implicit Json: Jsony[Json]) extends Properties, TestProtocol[Json]

Attributes

Source
TestArrayDiff.scala
Graph
Supertypes
trait TestProtocol[Json]
class Properties
class Object
trait Matchable
class Any

Members list

Type members

Inherited classlikes

sealed class PropertySpecifier()

Used for specifying properties.

Used for specifying properties. Usage:

property("myProp") = ...

Attributes

Inherited from:
Properties
Source
Properties.scala
Supertypes
class Object
trait Matchable
class Any
sealed class PropertyWithSeedSpecifier()

Attributes

Inherited from:
Properties
Source
Properties.scala
Supertypes
class Object
trait Matchable
class Any

Value members

Inherited methods

def check(prms: Parameters): Unit

Convenience method that checks the properties with the given parameters (or default parameters, if not specified) and reports the result on the console.

Convenience method that checks the properties with the given parameters (or default parameters, if not specified) and reports the result on the console. Should only be used when running tests interactively within the Scala REPL.

If you need to get the results from the test use the check methods in org.scalacheck.Test instead.

Attributes

Inherited from:
Properties
Source
Properties.scala
def include(ps: Properties, prefix: String): Unit

Adds all properties from another property collection to this one with a prefix this is prepended to each included property's name.

Adds all properties from another property collection to this one with a prefix this is prepended to each included property's name.

Attributes

Inherited from:
Properties
Source
Properties.scala
def include(ps: Properties): Unit

Adds all properties from another property collection to this one

Adds all properties from another property collection to this one

Attributes

Inherited from:
Properties
Source
Properties.scala
def main(args: Array[String]): Unit

Convenience method that makes it possible to use this property collection as an application that checks itself on execution.

Convenience method that makes it possible to use this property collection as an application that checks itself on execution. Calls System.exit with the exit code set to the number of failed properties.

Attributes

Inherited from:
Properties
Source
Properties.scala

Customize the parameters specific to this class.

Customize the parameters specific to this class.

After the command-line (either main above or sbt) modifies the default parameters, this method is called with the current state of the parameters. This method must then return parameters. The default implementation returns the parameters unchanged. However, a user can override this method in a properties subclass. Their method can modify the parameters. Those parameters will take precedence when the properties are executed.

Attributes

Inherited from:
Properties
Source
Properties.scala
def parseJson(s: String): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def parseMergePatch(json: Json): JsonMergePatch[Json]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def parseMergePatch(s: String): JsonMergePatch[Json]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def parsePatch(json: Json): JsonPatch[Json]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def parsePatch(s: String): JsonPatch[Json]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def parsePointer(s: String): Pointer

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def properties: Seq[(String, Prop)]

Returns all properties of this collection in a list of name/property pairs.

Returns all properties of this collection in a list of name/property pairs.

Attributes

Inherited from:
Properties
Source
Properties.scala
def serializeMergePatch(p: JsonMergePatch[Json]): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
def serializePatch(p: JsonPatch[Json]): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala

Inherited fields

val name: String

Attributes

Inherited from:
Properties
Source
Properties.scala

Attributes

Inherited from:
Properties
Source
Properties.scala

Attributes

Inherited from:
Properties
Source
Properties.scala

Implicits

Implicits

implicit val lcsalg: Patience[Json]

Attributes

Source
TestArrayDiff.scala

Inherited implicits

implicit def boolMarshaller(b: Boolean): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
implicit def intMarshaller(i: Int): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
implicit def intSeqMarshaller(is: Seq[Int]): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
implicit def intSeqUnmarshaller(json: Json): Seq[Int]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
implicit def jsonEq: Eq[Json]

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala
implicit def stringMarshaller(s: String): Json

Attributes

Inherited from:
TestProtocol
Source
TestProtocol.scala