TestUtils

flatgraph.misc.TestUtils
object TestUtils

Convenience functions for common use test use-cases. Context: applying a Diff

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
TestUtils.type

Members list

Value members

Concrete methods

def copyNode(node: GNode, targetGraph: Graph): GNode

copies a single GNode into a different graph, including all properties, but excluding edges

copies a single GNode into a different graph, including all properties, but excluding edges

Attributes

Extensions

Extensions

extension (diffGraphBuilder: DiffGraphBuilder)
def apply(graph: Graph): Graph
extension (graph: Graph)
def addNode(node: DNode): node.StoredNodeType
def applyDiff(buildDiff: DiffGraphBuilder => Unit): Unit
def copy(storagePathMaybe: Option[Path]): Graph