SILICON
Loading...
Searching...
No Matches
circuitDependencyGraph.cpp File Reference
#include "tests.hpp"
#include <format>
#include <stdexcept>
#include <string>
#include <vector>
#include <core/circuitDependencyGraph.hpp>
#include <core/projectContext.hpp>
#include <nlohmann/json.hpp>
Include dependency graph for circuitDependencyGraph.cpp:

Go to the source code of this file.

Functions

 TEST (CircuitDependencyGraphTest, ExtractsEdgesFromCircuitsAndSubcircuits)
 TEST (CircuitDependencyGraphTest, DuplicatePlacementsProduceOneDependency)
 TEST (CircuitDependencyGraphTest, RejectsMissingSubcircuitTarget)
 TEST (CircuitDependencyGraphTest, DetectsDirectSelfCycle)
 TEST (CircuitDependencyGraphTest, RejectsDirectSelfCycleWithSlugTrace)
 TEST (CircuitDependencyGraphTest, DetectsIndirectCycle)
 TEST (CircuitDependencyGraphTest, RejectsIndirectCycleWithSlugTrace)
 TEST (CircuitDependencyGraphTest, RebuildRejectsCyclicProject)
 TEST (CircuitDependencyGraphTest, LooksUpDependentsForDeletionBlocking)
 TEST (CircuitDependencyGraphTest, ReplacementRequiresRegisteredDocument)
 TEST (CircuitDependencyGraphTest, ReferencedDocumentRemovalIsRejectedAtomically)
 TEST (CircuitDependencyGraphTest, RejectsMalformedSubcircuitComponentsWithContext)
 TEST (CircuitDependencyGraphTest, RejectsMalformedComponentsField)
 TEST (CircuitDependencyGraphTest, SupportsBothEstablishedJsonRootForms)
 TEST (CircuitDependencyGraphTest, CyclePredicatePropagatesNonCycleFailures)
 TEST (CircuitDependencyGraphTest, RecursiveErrorMessageIncludesTrace)
 TEST (CircuitDependencyGraphTest, FailedFullRebuildPreservesPreviousGraph)
 TEST (CircuitDependencyGraphTest, CodeDocumentsAreExcludedFromRebuild)
 TEST (CircuitDependencyGraphTest, BinaryDocumentsAreExcludedFromRebuild)
 TEST (CircuitDependencyGraphTest, RebuildRejectsDuplicateGraphicalDocuments)
 TEST (ProjectContextTest, FailedCircuitUpdateLeavesDocumentsAndDependenciesUnchanged)
 TEST (ProjectContextTest, ReferencedRemovalLeavesProjectStateUnchanged)
 TEST (ProjectContextTest, ListenerFailureDoesNotReportACommittedUpdateAsFailed)

Function Documentation

◆ TEST() [1/23]

TEST ( CircuitDependencyGraphTest ,
BinaryDocumentsAreExcludedFromRebuild  )

Definition at line 324 of file circuitDependencyGraph.cpp.

◆ TEST() [2/23]

TEST ( CircuitDependencyGraphTest ,
CodeDocumentsAreExcludedFromRebuild  )

Definition at line 314 of file circuitDependencyGraph.cpp.

◆ TEST() [3/23]

TEST ( CircuitDependencyGraphTest ,
CyclePredicatePropagatesNonCycleFailures  )

Definition at line 269 of file circuitDependencyGraph.cpp.

◆ TEST() [4/23]

TEST ( CircuitDependencyGraphTest ,
DetectsDirectSelfCycle  )

Definition at line 118 of file circuitDependencyGraph.cpp.

◆ TEST() [5/23]

TEST ( CircuitDependencyGraphTest ,
DetectsIndirectCycle  )

Definition at line 142 of file circuitDependencyGraph.cpp.

◆ TEST() [6/23]

TEST ( CircuitDependencyGraphTest ,
DuplicatePlacementsProduceOneDependency  )

Definition at line 98 of file circuitDependencyGraph.cpp.

◆ TEST() [7/23]

TEST ( CircuitDependencyGraphTest ,
ExtractsEdgesFromCircuitsAndSubcircuits  )

Definition at line 84 of file circuitDependencyGraph.cpp.

◆ TEST() [8/23]

TEST ( CircuitDependencyGraphTest ,
FailedFullRebuildPreservesPreviousGraph  )

Definition at line 297 of file circuitDependencyGraph.cpp.

◆ TEST() [9/23]

TEST ( CircuitDependencyGraphTest ,
LooksUpDependentsForDeletionBlocking  )

Definition at line 182 of file circuitDependencyGraph.cpp.

◆ TEST() [10/23]

TEST ( CircuitDependencyGraphTest ,
RebuildRejectsCyclicProject  )

Definition at line 171 of file circuitDependencyGraph.cpp.

◆ TEST() [11/23]

TEST ( CircuitDependencyGraphTest ,
RebuildRejectsDuplicateGraphicalDocuments  )

Definition at line 334 of file circuitDependencyGraph.cpp.

◆ TEST() [12/23]

TEST ( CircuitDependencyGraphTest ,
RecursiveErrorMessageIncludesTrace  )

Definition at line 283 of file circuitDependencyGraph.cpp.

◆ TEST() [13/23]

TEST ( CircuitDependencyGraphTest ,
ReferencedDocumentRemovalIsRejectedAtomically  )

Definition at line 205 of file circuitDependencyGraph.cpp.

◆ TEST() [14/23]

TEST ( CircuitDependencyGraphTest ,
RejectsDirectSelfCycleWithSlugTrace  )

Definition at line 127 of file circuitDependencyGraph.cpp.

◆ TEST() [15/23]

TEST ( CircuitDependencyGraphTest ,
RejectsIndirectCycleWithSlugTrace  )

Definition at line 153 of file circuitDependencyGraph.cpp.

◆ TEST() [16/23]

TEST ( CircuitDependencyGraphTest ,
RejectsMalformedComponentsField  )

Definition at line 246 of file circuitDependencyGraph.cpp.

◆ TEST() [17/23]

TEST ( CircuitDependencyGraphTest ,
RejectsMalformedSubcircuitComponentsWithContext  )

Definition at line 230 of file circuitDependencyGraph.cpp.

◆ TEST() [18/23]

TEST ( CircuitDependencyGraphTest ,
RejectsMissingSubcircuitTarget  )

Definition at line 109 of file circuitDependencyGraph.cpp.

◆ TEST() [19/23]

TEST ( CircuitDependencyGraphTest ,
ReplacementRequiresRegisteredDocument  )

Definition at line 196 of file circuitDependencyGraph.cpp.

◆ TEST() [20/23]

TEST ( CircuitDependencyGraphTest ,
SupportsBothEstablishedJsonRootForms  )

Definition at line 258 of file circuitDependencyGraph.cpp.

◆ TEST() [21/23]

TEST ( ProjectContextTest ,
FailedCircuitUpdateLeavesDocumentsAndDependenciesUnchanged  )

Definition at line 343 of file circuitDependencyGraph.cpp.

◆ TEST() [22/23]

TEST ( ProjectContextTest ,
ListenerFailureDoesNotReportACommittedUpdateAsFailed  )

Definition at line 371 of file circuitDependencyGraph.cpp.

◆ TEST() [23/23]

TEST ( ProjectContextTest ,
ReferencedRemovalLeavesProjectStateUnchanged  )

Definition at line 360 of file circuitDependencyGraph.cpp.