GraphAssertions

@TestOnly
data class GraphAssertions(val name: String, val start: NodeReference.Start<*>, val finish: NodeReference.Finish<*>, val nodes: Map<String, NodeReference<*, *>>, val nodeOutputAssertions: List<NodeOutputAssertion<*, *>>, val edgeAssertions: List<EdgeAssertion<*, *>>, val unconditionalEdgeAssertions: List<UnconditionalEdgeAssertion>, val reachabilityAssertions: List<ReachabilityAssertion>, val subgraphAssertions: MutableList<SubGraphAssertions>)(source)

Represents a set of assertions for validating the structure and behavior of a graph-based system.

Constructors

Link copied to clipboard
constructor(name: String, start: NodeReference.Start<*>, finish: NodeReference.Finish<*>, nodes: Map<String, NodeReference<*, *>>, nodeOutputAssertions: List<NodeOutputAssertion<*, *>>, edgeAssertions: List<EdgeAssertion<*, *>>, unconditionalEdgeAssertions: List<UnconditionalEdgeAssertion>, reachabilityAssertions: List<ReachabilityAssertion>, subgraphAssertions: MutableList<SubGraphAssertions>)

Properties

Link copied to clipboard

A list of assertions validating the edges between nodes in the graph for specific contexts.

Link copied to clipboard

The finishing node reference of the graph.

Link copied to clipboard

The name or identifier of the graph being asserted.

Link copied to clipboard

A list of assertions verifying the output of specific nodes based on given inputs and contexts.

Link copied to clipboard

A map containing all nodes of the graph, indexed by their names.

Link copied to clipboard

A list of assertions verifying that one node in the graph is reachable from another node.

Link copied to clipboard

The starting node reference of the graph.

Link copied to clipboard

A mutable list of assertions related to specific subgraphs within the graph structure.

Link copied to clipboard

A list of assertions ensuring unconditional connections between nodes.